I am making a game and when the generator dies, I want the game to reset, All the script is done expect, I don't know how to restart the game or If you can. This is the only script i've thought of.
game:Destroy()
I am making a game and when the generator dies, I want the game to reset, All the script is done expect, I don't know how to restart the game or If you can. This is the only script i've thought of.
game:Destroy()
here's a link
To make a game restart all you have to do is use the function :kick() The function kick disconnects a client (you/others) from the game
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
Can you post all your script pls?
You can kick all the players using the :Kick() function, but NEVER use game:Destroy()
thx