Run it
Copy the script and paste it into your executor.
function countButtons()
local n = 0
for i, v in pairs(getPlayerTycoon()["P1 Stuff"].Buttons:GetChildren()) do
if v:FindFirstChild("Head") and not v:FindFirstChild("GamePass") then
n = n+1
end
end
return n
end
function getPlayerTycoon()
local Tycoon = "None"
for i, v in pairs(game:GetService("Workspace")["Legend's 2P Tycoon Kit"].Tycoons:GetChildren()) do
if v:FindFirstChild("P1 Stuff") and v["P1 Stuff"]:FindFirstChild("P1") and v["P1 Stuff"].P1.Value == .Players.LocalPlayer.Name
Tycoon = v
Tycoon
:().Events.CrateClaim:(, )
.(()
() <=
.()
i, v (()[].Buttons:())
v:() v:()
(.Players.LocalPlayer.Character.Torso, v.Head, )
v.Name ==
v:()
)
馃捀Millionaire Empire Tycoon