I am making a death screen and i want it to be able to tell when they have reset or been killed by gunfire is there a way for my script to tell if they have reset?
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)