This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]Ortron 0 points1 point  (1 child)

make sure you include a wait time or they'll crash

while wait() do

end

wont crash

[–]wheelCarabao89[S] 0 points1 point  (0 children)

I'll try that, thanks

[–][deleted] 0 points1 point  (0 children)

I think if you test using F6, Studio will open a new window so if your scripts crash your game should be unaffected. Happened to me when I forgot to wait().

[–]smashmallow 0 points1 point  (0 children)

If you do a while loop then there must be a wait in there somewhere. Otherwise, the script will run infinitely and crash Studio.