Hello! I'm trying to make it so if a player leaves, all scripts in a game stop working. I have one script to control everything in terms of timing, etc... If a player leaves, will disabling the script work? If not, are there any other ways? If it's not possible, I'll probably use modulescripts, but I really hope it is.

2 comments

0

store your scripts in server storage and clone them when the game starts, when the players leaves have a server script destroy all the cloned scripts

0

Thanks! That's a good idea. Does it still stop functions like timers?