Is there any way to reload a script, as in making it run again as if the game was starting?
COMMUNITY QUESTION
Any way to reload a script as if the game was just starting?
1 answer
You should make it a function. That way you can call it again, again and again.
function startGame()
--Enter the game code here
end
--Under here is how to call it.
startGame()
When you want to start the game, call the function, and all code inside will run. - Toby
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Is there any way to call it from another script?
Use either a remote event or a remote function.