The script for tycoon button doesn't work

   for _, Child in pairs(purchosedSpawn:GetChildren()) do

More info about ipairs and pairs: Whats the Difference Between Ipairs and pairs? - Help and Feedback / Scripting Support - Developer Forum | Roblox

1 Like