Advertisement
HaloJnZ

tp script

May 25th, 2024
612
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 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 == "v" 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