Advertisement
koreanhackerman

Loopkill ez fe

Nov 29th, 2019
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.44 KB | None | 0 0
  1. -- Wait for your character to respawn
  2. -- Note that it rarely doesn't glitch your character (which is a good thing) and read thread before using this
  3. local targetname = ""
  4.  
  5. local LocalPlayer = game:GetService("Players").LocalPlayer
  6. local ran1 = false
  7. local ran2 = false
  8. local equipped = false
  9. local savepos = LocalPlayer.Character.HumanoidRootPart.CFrame
  10. local target = game:GetService("Players")[targetname]
  11. if #LocalPlayer.Backpack:GetChildren() < 2 then
  12.     repeat
  13.         for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
  14.             if tool:IsA("Tool") then
  15.                 tool.Parent = LocalPlayer
  16.             end
  17.         end
  18.         LocalPlayer.Character:ClearAllChildren()
  19.         local char = Instance.new("Model", workspace)
  20.         char.Name = "character"
  21.         Instance.new("Part", char).Name = "Torso";
  22.         Instance.new("Part", char).Name = "Head";
  23.         Instance.new("Humanoid", char).Name = "Humanoid";
  24.         LocalPlayer.Character = char
  25.         repeat wait() until LocalPlayer.Character
  26.     until #LocalPlayer:GetChildren() - 4 >= 2
  27.     for _, char in pairs(workspace:GetChildren()) do
  28.         if char.Name == "character" and char:IsA("Model") then
  29.             char:Destroy()
  30.         end
  31.     end
  32.     repeat wait() until LocalPlayer.Character.HumanoidRootPart ~= nil
  33.     for _, tool in pairs(LocalPlayer:GetChildren()) do
  34.         if tool:IsA("Tool") then
  35.             tool.Parent = LocalPlayer.Backpack
  36.         end
  37.     end
  38. end
  39. LocalPlayer.Character.HumanoidRootPart.CFrame = savepos
  40. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = LocalPlayer.Character
  41. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = LocalPlayer.Character
  42. local tool = LocalPlayer.Character:FindFirstChildOfClass("Tool")
  43. tool.Parent = workspace
  44. local attacher = LocalPlayer.Character:FindFirstChildOfClass("Tool")
  45. attacher.Parent = workspace
  46. LocalPlayer.Character.Humanoid:EquipTool(tool)
  47. repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
  48. LocalPlayer.Character.Humanoid:UnequipTools()
  49. attacher.AncestryChanged:connect(function()
  50.     if ran1 == false then
  51.         ran1 = true
  52.         equipped = true
  53.     end
  54. end)
  55. local anim = Instance.new("Animation")
  56. anim.AnimationId = "rbxassetid://188632011"
  57. local loadanim = LocalPlayer.Character.Humanoid:LoadAnimation(anim)
  58. loadanim.Looped = true
  59. loadanim:Play()
  60. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(math.random(-1000, 1000), math.random(0, 1000), math.random(-1000, 1000)))
  61. local stabilize = Instance.new("Part", workspace)
  62. stabilize.Size = Vector3.new(50, 1, 50)
  63. stabilize.Anchored = true
  64. stabilize.CFrame = CFrame.new(LocalPlayer.Character.HumanoidRootPart.CFrame * Vector3.new(0, -3.5, 0))
  65. repeat
  66.     target.Character.HumanoidRootPart.CFrame = CFrame.new(LocalPlayer.Character.HumanoidRootPart.Position + LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 2 + LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector * 2)
  67.     wait()
  68. until equipped == true
  69. stabilize:Destroy()
  70. loadanim:Stop()
  71. anim:Destroy()
  72. LocalPlayer.CharacterAdded:connect(function(character)
  73.     if ran2 == false then
  74.         ran2 = true
  75.         character:WaitForChild("HumanoidRootPart")
  76.         character.HumanoidRootPart.CFrame = savepos
  77.     end
  78. end)
  79. tool.GripPos = Vector3.new(0, -math.huge, 0)
  80. LocalPlayer.Character.Humanoid:EquipTool(tool)
  81. repeat
  82.     LocalPlayer.Character.Humanoid.Jump = true
  83.     wait()
  84. until ran2 == true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement