Advertisement
sahdudelol123

Untitled

Apr 25th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. while wait() do
  2. local char = game.Players.LocalPlayer.Character;
  3. repeat wait() until char.Humanoid.Health == 0
  4. print("You're dead")
  5. local char = game.Players.LocalPlayer.Character;
  6. local name = char.Name
  7. game.StarterGui:SetCore("SendNotification", {Title=name .. " teammate", Text="has been knocked", Duration=5})
  8. local soundy = Instance.new("Sound", game.Lighting)
  9. soundy.SoundId = "http://www.roblox.com/asset/?id=2128641323"
  10. soundy.PlaybackSpeed = 1
  11. soundy.Volume = 2
  12. soundy.Playing = true
  13. soundy.TimePosition = 0.6
  14. wait(1.5)
  15. soundy:Remove()
  16. wait()
  17. local char = game.Players.LocalPlayer.Character;
  18. local name = char.Name
  19. local foldy = Instance.new("Folder", game.Workspace)
  20. foldy.Name = "APLAYER1"
  21. wait()
  22. char.Parent = foldy
  23. wait()
  24. local name = char.Name
  25. local char = game.Players.LocalPlayer.Character;
  26. repeat wait() until game.Workspace:FindFirstChild("" .. name)
  27. print("You're alive")
  28. game.StarterGui:SetCore("SendNotification", {Title=name .. " teammate", Text="has been revived", Duration=5})
  29. local soundy = Instance.new("Sound", game.Lighting)
  30. soundy.SoundId = "http://www.roblox.com/asset/?id=2299243257"
  31. soundy.PlaybackSpeed = 1.3
  32. soundy.Volume = 2
  33. soundy.Playing = true
  34. soundy.TimePosition = 0.1
  35. wait(1)
  36. soundy:Remove()
  37. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement