Advertisement
Guest User

roblox death gui script (by sunxx)

a guest
Mar 31st, 2019
2,827
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 1
  1. local plr = game.Players.LocalPlayer
  2. local gui = script.Parent.Frame
  3.  
  4. local death_text = "You are Dead" -- you can change it
  5.  
  6. plr.Character:WaitForChild("Humanoid").Died:Connect(function()
  7. gui.TextLabel.Text = death_text
  8. gui.Visible = true
  9. end)
  10.  
  11. --by sunxx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement