Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can I make a script that restarts the game?

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()

3 comments

0

Can you post all your script pls?

0

You can kick all the players using the :Kick() function, but NEVER use game:Destroy()

0

thx

1 answer

✓ Accepted answer

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.