I'm trying to get a script that will get the children of a folder, then get the children of what's in that folder and set the Amount.Value = 999999999 in those folders, here's what I have so far.
while true do
for i,v in pairs(game.Workspace.Tycoon3.Storage:GetChildren()) do
v:GetChildren()do
v.Amount.Value = 999999999
wait(1)
end
end
end

2 comments
Worked brilliantly, just had to put a "Then" on line 4, Thankyou.
No problem.