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

How do i change how the GUIs appear after a player died?

For example in my game when you join it pops up some guis, but when a player dies, i want it to be something different so its not the same as when someone joins. Can someone give me an idea or a quick example on how to do it?

Thanks,

1 comment

2

LocalScript and the Died event

1 answer

✓ Accepted answer

You can use the following function:

local humanoid = player.Character:WaitForChild('Humanoid') -- Locates the humanoid

humanoid.Died:Connect(function()
	-- stuff here
end)

2 comments

1

Thanks :)

0

It's ok

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