I've made RespawnTime 5, yet it instantly respawns you

I wasn’t entirely sure which category this was supposed to go in, so I decided to put it here.

I’m facing a problem in my game, where you instantly respawn, instead of waiting a bit before respawning. I’ve checked Players.RespawnTime multiple times, and it’s set to 5. Does anyone know how I can fix this? The following video is an example of it

Do you have any Humanoid.Died events or anything that may either delete the character or immediately respawn the character?

Also does the weapon you’re using have any touched events that mess with the character’s descendants?

Edit: The video you provided doesn’t show the player respawn immediately, rather their character just gets deleted, so could you clarify if they are actually respawning right away, or if the problem is their character parts are just disappearing as soon as they get hit?

Also, you should test it with multiple weapons to see if it’s isolated to one sword, or if it’s affecting every weapon.

It has nothing to do with the weapon. Doesn’t matter which way you die, you will always respawn instantly, either if you get killed, reset, or fall into the void.

Do you have any scripts that do something upon the player dying? Do you use player:LoadCharacter() at all, as I believe this bypasses the RespawnTime.

Make sure CharacterAutoLoads is set to true as well.

I do not believe I do, and CharacterAutoLoads is indeed set to true

CharacterAutoLoads needs to be false, when its false it needs a script to call :LoadCharacter() which you’re already doing. If it still doesn’t work as intended then you should check if any script makes the character spawn instantly after they die

If he wants to utilize Players.RespawnTime then CharacterAutoLoads has to be true.

1 Like

If you have any Humanoid.Died events, or are using .Changed or :GetPropertyChangedSignal() on the Humanoid’s health property, then check those to see if you use player:LoadCharacter() or if you delete the character right away after their health reaches 0.

I do not think this is a bug on Roblox’s part, as it isn’t happening in any other games. If you think you may have found the problem somewhere, or if you do find any events that handle something when the player dies, it would be helpful if you shared those as well.

Nevermind what I said before. I did indeed have a script that used player:LoadCharacter. Sorry about that. Thank you for helping me solve this

1 Like

No problem glad I could help :slight_smile: