I want to break an waitforchild

just like an while true do loop you can break it

local XD = game.Workspace:WaitForChild('XXX',9999) -- Yields

print('Failed')

what if I wanted to break it in about 50 seconds?

or if this depended on the player

1 comment

0

You can set the limit to 50 instead of 9999 local XD = game.Workspace:WaitForChild('XXX',50)