TheSovietRat

Click to TP (KEYBIND)

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