1. _G.enabled = true -- Re-execute to turn off
  2. _G.speed = 110 -- Keep around 100 or it wont play
  3. -- Variables
  4. local RunService = game:GetService("RunService");
  5. local Players = game:GetService("Players");
  6. local LocalPlayer = game:GetService("Players").LocalPlayer;
  7. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait();
  8. local Humanoid = Character:WaitForChild("Humanoid") or Character:FindFirstChildOfClass("Humanoid");
  9. local HRP = Humanoid.RootPart or Humanoid:FindFirstChild("HumanoidRootPart")
  10. -- Check
  11. if not Humanoid or not _G.enabled then
  12. if Humanoid and Humanoid.Health <= 0 then
  13. Humanoid:Destroy()
  14. end
  15. return
  16. end
  17. -- Setting Up Humanoid
  18. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  19. Humanoid.BreakJointsOnDeath = false
  20. Humanoid.RequiresNeck = false
  21. local con; con = RunService.Stepped:Connect(function()
  22. if not Humanoid then return con:Disconnect() end
  23. Humanoid:ChangeState(Enum.HumanoidStateType.Running) -- Change state so not die
  24. end)
  25. -- Infinite Death [literally 3 lines dont make it complicated]
  26. LocalPlayer.Character = nil
  27. LocalPlayer.Character = Character
  28. task.wait(Players.RespawnTime + 0.1)
  29. -- Looping Death
  30. while task.wait(1/_G.speed) do
  31. Humanoid:ChangeState(Enum.HumanoidStateType.Dead)
  32. end