Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- owner.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
- local e = Instance.new("RemoteEvent",owner.PlayerGui)
- e.Name = "The"
- reviving = false
- local itsNOTover = Instance.new("Sound", owner.Character.Head)
- itsNOTover.SoundId = "rbxassetid://1689003526"
- itsNOTover.Volume = 1
- owner.Character.Humanoid.RequiresNeck = false
- owner.Character.Humanoid.HealthChanged:Connect(function(newHealth)
- pcall(function()
- owner.Character.Humanoid.Health = math.max(newHealth, 0.125)
- if owner.Character.Humanoid.Health <= 0.135 then
- if not reviving then
- reviving = true
- wait()
- coroutine.wrap(function()
- for i = 1, 70 do
- owner.Character.Humanoid.Health = 0.125
- wait(0.1)
- end
- end)()
- wait()
- e:FireClient(owner)
- wait()
- owner.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Physics)
- for i,v in pairs(owner.Character:GetDescendants()) do
- coroutine.wrap(function()
- if v:IsA("BasePart") then
- local tweenService = game:GetService("TweenService")
- local timeToFade = 2.5
- local object = v
- local tweenInfo = TweenInfo.new(timeToFade)
- local goal = {}
- goal.CFrame = v.CFrame
- local tween = tweenService:Create(object, tweenInfo, goal)
- wait(5)
- v.Anchored = true
- wait()
- tween:Play()
- wait(2.5)
- v.Anchored = false
- end
- end)()
- end
- coroutine.wrap(function()
- pcall(function()
- wait(5)
- itsNOTover.Volume = 0
- itsNOTover.TimePosition = 117
- itsNOTover:Play()
- for i = 1, 10 do
- itsNOTover.Volume = itsNOTover.Volume + 0.1
- wait(0.05)
- end
- wait(18.5)
- for i = 1, 10 do
- itsNOTover.Volume = itsNOTover.Volume - 0.1
- wait(0.05)
- end
- itsNOTover:Stop()
- end)
- end)()
- for i,v in pairs(owner.Character:GetDescendants()) do
- coroutine.wrap(function()
- if v:IsA("Motor6D") and v.Parent.Name ~= "HumanoidRootPart" then
- v.Enabled = false
- wait(7.5)
- v.Enabled = true
- end
- end)()
- end
- for i,v in pairs(owner.Character:GetDescendants()) do
- coroutine.wrap(function()
- if v:IsA("Weld") then
- local oldcol = v.Parent.CanCollide
- v.Parent.CanCollide = true
- v.Enabled = false
- wait(7.5)
- v.Enabled = true
- v.Parent.CanCollide = oldcol
- end
- end)()
- end
- wait(7.65)
- owner.Character.Humanoid.Health = owner.Character.Humanoid.MaxHealth
- reviving = false
- e:FireClient(owner)
- end
- end
- end)
- end)
- NLS([[
- owner.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
- local laststate = owner.Character.Humanoid:GetState()
- e = owner.PlayerGui:WaitForChild("The")
- local count = 0
- e.OnClientEvent:Connect(function()
- coroutine.wrap(function()
- pcall(function()
- count = count + 1
- if count == 1 then
- coroutine.wrap(function()
- for i,v in pairs(owner.Character.Humanoid:GetPlayingAnimationTracks()) do
- v:Stop()
- end
- end)()
- workspace.CurrentCamera.CameraSubject = owner.Character.Head
- elseif count <= 2 then
- owner.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Running)
- workspace.CurrentCamera.CameraSubject = owner.Character
- count = 0
- end
- end)
- end)()
- end)
- ]],owner.PlayerGui)
- wait(5)
- owner.Character.Humanoid.Health = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement