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.
COMMUNITY QUESTION
Is there a way to return a function through a different script?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
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
Thanks! That's a good idea. Does it still stop functions like timers?