Advertisement
TheUnknownDiscord

i do not care i am coming back from the dead

Dec 15th, 2021 (edited)
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. owner.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  2. local e = Instance.new("RemoteEvent",owner.PlayerGui)
  3. e.Name = "The"
  4. reviving = false
  5. local itsNOTover = Instance.new("Sound", owner.Character.Head)
  6. itsNOTover.SoundId = "rbxassetid://1689003526"
  7. itsNOTover.Volume = 1
  8. owner.Character.Humanoid.RequiresNeck = false
  9. owner.Character.Humanoid.HealthChanged:Connect(function(newHealth)
  10. pcall(function()
  11. owner.Character.Humanoid.Health = math.max(newHealth, 0.125)
  12. if owner.Character.Humanoid.Health <= 0.135 then
  13. if not reviving then
  14. reviving = true
  15. wait()
  16. coroutine.wrap(function()
  17. for i = 1, 70 do
  18. owner.Character.Humanoid.Health = 0.125
  19. wait(0.1)
  20. end
  21. end)()
  22. wait()
  23. e:FireClient(owner)
  24. wait()
  25. owner.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Physics)
  26. for i,v in pairs(owner.Character:GetDescendants()) do
  27. coroutine.wrap(function()
  28. if v:IsA("BasePart") then
  29. local tweenService = game:GetService("TweenService")
  30. local timeToFade = 2.5
  31. local object = v
  32. local tweenInfo = TweenInfo.new(timeToFade)
  33. local goal = {}
  34. goal.CFrame = v.CFrame
  35. local tween = tweenService:Create(object, tweenInfo, goal)
  36. wait(5)
  37. v.Anchored = true
  38. wait()
  39. tween:Play()
  40. wait(2.5)
  41. v.Anchored = false
  42. end
  43. end)()
  44. end
  45. coroutine.wrap(function()
  46. pcall(function()
  47. wait(5)
  48. itsNOTover.Volume = 0
  49. itsNOTover.TimePosition = 117
  50. itsNOTover:Play()
  51. for i = 1, 10 do
  52. itsNOTover.Volume = itsNOTover.Volume + 0.1
  53. wait(0.05)
  54. end
  55. wait(18.5)
  56. for i = 1, 10 do
  57. itsNOTover.Volume = itsNOTover.Volume - 0.1
  58. wait(0.05)
  59. end
  60. itsNOTover:Stop()
  61. end)
  62. end)()
  63. for i,v in pairs(owner.Character:GetDescendants()) do
  64. coroutine.wrap(function()
  65. if v:IsA("Motor6D") and v.Parent.Name ~= "HumanoidRootPart" then
  66. v.Enabled = false
  67. wait(7.5)
  68. v.Enabled = true
  69. end
  70. end)()
  71. end
  72. for i,v in pairs(owner.Character:GetDescendants()) do
  73. coroutine.wrap(function()
  74. if v:IsA("Weld") then
  75. local oldcol = v.Parent.CanCollide
  76. v.Parent.CanCollide = true
  77. v.Enabled = false
  78. wait(7.5)
  79. v.Enabled = true
  80. v.Parent.CanCollide = oldcol
  81. end
  82. end)()
  83. end
  84. wait(7.65)
  85. owner.Character.Humanoid.Health = owner.Character.Humanoid.MaxHealth
  86. reviving = false
  87. e:FireClient(owner)
  88. end
  89. end
  90. end)
  91. end)
  92. NLS([[
  93. owner.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  94. local laststate = owner.Character.Humanoid:GetState()
  95. e = owner.PlayerGui:WaitForChild("The")
  96. local count = 0
  97. e.OnClientEvent:Connect(function()
  98. coroutine.wrap(function()
  99. pcall(function()
  100. count = count + 1
  101. if count == 1 then
  102. coroutine.wrap(function()
  103. for i,v in pairs(owner.Character.Humanoid:GetPlayingAnimationTracks()) do
  104. v:Stop()
  105. end
  106. end)()
  107. workspace.CurrentCamera.CameraSubject = owner.Character.Head
  108. elseif count <= 2 then
  109. owner.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Running)
  110. workspace.CurrentCamera.CameraSubject = owner.Character
  111. count = 0
  112. end
  113. end)
  114. end)()
  115. end)
  116. ]],owner.PlayerGui)
  117. wait(5)
  118. owner.Character.Humanoid.Health = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement