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,
You can use the following function:
local humanoid = player.Character:WaitForChild('Humanoid') -- Locates the humanoid humanoid.Died:Connect(function() -- stuff here end)