mattofm

e + mouse tp

Dec 22nd, 2020 (edited)
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. plr = game.Players.LocalPlayer hum = plr.Character.HumanoidRootPart mouse = plr:GetMouse() mouse.KeyDown:connect(function(key) if key == "e" then if mouse.Target then hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z) end end end)
  2.  
  3. plr = game.Players.LocalPlayer
  4. hum = plr.Character.HumanoidRootPart
  5. mouse = plr:GetMouse()
  6. mouse.KeyDown:connect(function(key)
  7. if key == "e" then
  8. if mouse.Target then
  9. hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  10. end
  11. end
  12. end)
Add Comment
Please, Sign In to add comment