Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while wait() do
- local char = game.Players.LocalPlayer.Character;
- repeat wait() until char.Humanoid.Health == 0
- print("You're dead")
- local char = game.Players.LocalPlayer.Character;
- local name = char.Name
- game.StarterGui:SetCore("SendNotification", {Title=name .. " teammate", Text="has been knocked", Duration=5})
- local soundy = Instance.new("Sound", game.Lighting)
- soundy.SoundId = "http://www.roblox.com/asset/?id=2128641323"
- soundy.PlaybackSpeed = 1
- soundy.Volume = 2
- soundy.Playing = true
- soundy.TimePosition = 0.6
- wait(1.5)
- soundy:Remove()
- wait()
- local char = game.Players.LocalPlayer.Character;
- local name = char.Name
- local foldy = Instance.new("Folder", game.Workspace)
- foldy.Name = "APLAYER1"
- wait()
- char.Parent = foldy
- wait()
- local name = char.Name
- local char = game.Players.LocalPlayer.Character;
- repeat wait() until game.Workspace:FindFirstChild("" .. name)
- print("You're alive")
- game.StarterGui:SetCore("SendNotification", {Title=name .. " teammate", Text="has been revived", Duration=5})
- local soundy = Instance.new("Sound", game.Lighting)
- soundy.SoundId = "http://www.roblox.com/asset/?id=2299243257"
- soundy.PlaybackSpeed = 1.3
- soundy.Volume = 2
- soundy.Playing = true
- soundy.TimePosition = 0.1
- wait(1)
- soundy:Remove()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement