Advertisement
Rixing

respawn where u ded

Feb 22nd, 2020
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. for i,v in
  2. pairs(game:GetService('Players').LocalPlayer.Character:GetChildren()) do if v:IsA("Accessory") then v.Handle:FindFirstChildOfClass("SpecialMesh"):Destroy()
  3. end end
  4.  
  5. wait(0.1)
  6.  
  7. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  8. if (v:IsA("Accessory")) then
  9. v.Parent = workspace
  10. end
  11. end
  12.  
  13. wait(0.1)
  14.  
  15. local LocalPlayer = game:GetService("Players").LocalPlayer
  16.  
  17. LocalPlayer.Character:FindFirstChild("Humanoid").Health = 0
  18.  
  19. wait(0.1)
  20.  
  21. --Made by MrLua(1/0'd#7036)
  22. --Credits to Heplful Guy for the idea lol
  23. local Player = game:GetService("Players").LocalPlayer
  24. repeat wait() until Player.Character
  25. local function Main()
  26. local Humanoid = Player.Character:WaitForChild("Humanoid")
  27. local ripfunction = false
  28. Humanoid.Died:Connect(function()
  29. local DeathLocation = Player.Character:WaitForChild("HumanoidRootPart").CFrame
  30. workspace.ChildAdded:Connect(function(Object)
  31. if not ripfunction and Object.Name == Player.Name then
  32. wait()
  33. Player.Character:WaitForChild("HumanoidRootPart").CFrame = DeathLocation
  34. ripfunction = true
  35. Main()
  36. end
  37. end)
  38. end)
  39. end
  40. Main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement