Advertisement
ManBanannaCat

Q to TP Script

Jun 15th, 2022
90
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.  
  9. mouse.KeyDown:connect(function(key)
  10.  
  11. if key == "q" then
  12.  
  13. if mouse.Target then
  14.  
  15. hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  16.  
  17. end
  18.  
  19. end
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement