
KeylessUniversal

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)
endNo comments yet for this script.



