for example
lets say theres a loop
while wait() do
print('G')
end
game:BindToClose(function()
wait(30)
end)
would this run?
for example
lets say theres a loop
while wait() do
print('G')
end
game:BindToClose(function()
wait(30)
end)
would this run?
The loop will run. Line 9 with the BindToClose() call is unreachable code because of the infinite loop, so you are not binding anything to close.
This discussion is preserved as it was. New answers, comments, and votes are closed.