PlayerRespawnTime

This function allows you to set the respawn time of all players.

Example Usage:

-- Getting ReplicatedStorage service
local ReplicatedStorage = game:GetService("ReplicatedStorage")

-- Referencing Essentials
local Essentials = require(ReplicatedStorage.Essentials)

-- Sets the player respawn time
Essentials.PlayerRespawnTime(2, true)

Parameters

The amount of seconds that it takes for all players to respawn (Default is 5.0 seconds).

Sends an output log to your output window and developer console.

References

Last updated