Instant respawn time/respawn command [SOLVED]

I want to make a respawn command so If the admin use :respawn Oji0721 then it will get respawned and don’t need to wait a certain amount of time to spawn again.

Assuming you made the command case and have the command system in place already, you could just keep track of their characters’ CFrame, store it in a variable, then call :LoadCharacter() on their player object and instantly set the character’s PrimaryPart CFrame to the one you stored before you called :LoadCharacter(), similar to this implementation: Refresh player without respawning - #5 by AlerbusWasTaken

The only difference is, :GetPrimaryPartCFrame() and :SetPrimaryPartCFrame() are deprecated, it’s preferable that you use :GetPivot() and :PivotTo() respectively. :slight_smile:

No as in the player will get killed byt the respawn time will be set to 0 or 0.5 seconds because I want to make a respawn command and instant respawn gamepass

I figured out that you can use Player:LoadCharacter() lol

1 Like

Glad that you got it working. :slight_smile:

1 Like