Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

I want my script to tell if someone has reset?

1 answer

✓ Accepted answer

For a death screen, surely you'd want it to appear for any cause of death, not merely resetting? In which case you can use humanoid.Died:

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local deathScreenGui = -- index your GUI

humanoid.Died:Connect(function()
	deathScreenGui.Enabled = true
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.