PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

RespawnTime

Players

float

The RespawnTime property controls the time, in seconds, it takes for a player to respawn when Players/CharacterAutoLoads is true. It defaults to 5.0 seconds.

RespawnTime property in Studio Explorer Window

This is useful when you want to change how long it takes to respawn based on the type of your game but don’t want to handle spawning players individually. Social games may want to decrease the respawn time whereas action games may want to increase it.

Although this can be set from within a Script, you will likely set the property from within Studio via the Players service property window.

local Players = game:GetService(“Players”)
Players.RespawnTime = 10.0

See also

  • Player/SpawnLocation, if set, the player will respawn at the given SpawnLocation