Palazikaka

Untitled

Jan 10th, 2020
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. --Made by MrLua(1/0'd#7036)
  2. --Credits to Heplful Guy for the idea lol
  3. local Player = game:GetService("Players").LocalPlayer
  4. repeat wait() until Player.Character
  5. local function Main()
  6. local Humanoid = Player.Character:WaitForChild("Humanoid")
  7. local ripfunction = false
  8. Humanoid.Died:Connect(function()
  9. local DeathLocation = Player.Character:WaitForChild("HumanoidRootPart").CFrame
  10. workspace.ChildAdded:Connect(function(Object)
  11. if not ripfunction and Object.Name == Player.Name then
  12. wait()
  13. Player.Character:WaitForChild("HumanoidRootPart").CFrame = DeathLocation
  14. ripfunction = true
  15. Main()
  16. end
  17. end)
  18. end)
  19. end
  20. Main()
Add Comment
Please, Sign In to add comment