Advertisement
Sithex

TPscript

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