Pausing respawn until a player clicks a button?

Is it possible to pause respawn until a player clicks a button?

So basically:

  1. Player gets killed somehow
  2. Wait for player to click button, on menu screen
  3. Button is clicked, respawn player
  4. Repeat

If you know how to accomplish this, please tell me how to do it. (Provide code if you can)

Thank you in advance! :happy2:

Try using Player:LoadCharacter when the player clicks the button.

1 Like

Okay, but how do I pause the default respawn?

Disable CharacterAutoLoads under the Players service.

2 Likes

Yes, CharacterAutoLoads should be turned off before you use the :LoadCharacter.

1 Like

Do I just turn off CharacterAutoLoads in studio, and keep it that way?

You can do it with a script aswell, if you want to.

I am going to just turn it off (Iā€™m lazy)

2 Likes