Meliodas0_0

keybind tp

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