Respawn where you die
Key RequiredUniversal

Respawn where you die

Universal Scriptmzeenmzeen 3.8K views 319 executesUpdated Apr 18, 2025
5.0/ 5(3 votes)
30100% Positive
Lua Script•26 lines (710 chars)
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local deathPosition = nil

local function onCharacterDied()
	local character = player.Character
	if character and character:FindFirstChild("HumanoidRootPart") then
		deathPosition = character.HumanoidRootPart.Position
	end
end

local function onCharacterAdded(character)
	local humanoid = character:WaitForChild("Humanoid")
	humanoid.Died:Connect(onCharacterDied)

	if deathPosition then
		local hrp = character:WaitForChild("HumanoidRootPart")
		hrp.CFrame = CFrame.new(deathPosition + Vector3.new(0, 5, 0))
	end
end

player.CharacterAdded:Connect(onCharacterAdded)
if player.Character then
	onCharacterAdded(player.Character)
end

Features & Information

Respawn where you die

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts