Advertisement
teotv202

Untitled

May 5th, 2020 (edited)
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.86 KB | None | 0 0
  1. power = 9999
  2. char = game:GetService("Players").LocalPlayer.Character
  3. plr = game:GetService("Players").LocalPlayer
  4. mouse = plr:GetMouse()
  5. local bambam = Instance.new("BodyThrust")
  6. bambam.Parent = char.HumanoidRootPart
  7. bambam.Force = Vector3.new(power,0,power)
  8. bambam.Location = char.HumanoidRootPart.Position
  9.  
  10. char:FindFirstChildOfClass("Humanoid").Touched:connect(function(part)
  11. part:MakeJoints()
  12. local human = part.Parent:FindFirstChildOfClass("Humanoid")
  13. if human and human.Parent.Name ~= char.Name then
  14. human.WalkSpeed = inf
  15. human.Parent:FindFirstChildOfClass("Part").CanCollide = false
  16. end
  17. end)
  18. mouse.KeyDown:connect(function(key)
  19.     if key == "e" then
  20.         char.Torso.CFrame = mouse.Hit * CFrame.new(0,2.5,0)
  21.      end
  22.   while wait() do
  23. char:FindFirstChildOfClass("Part").CanCollide = false
  24. char.Torso.CFrame = char.HumanoidRootPart.CFrame
  25. end
  26. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement