Advertisement
JannickP8

qToTP

Aug 22nd, 2021
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. clicktpon = true                    
  2. plr = game.Players.LocalPlayer
  3. hum = plr.Character.HumanoidRootPart
  4. mouse = plr:GetMouse()
  5. mouse.KeyDown:connect(function(key)
  6. if key == 'q' then
  7. if mouse.Target then
  8. if clicktpon then
  9. hum.CFrame = CFrame.new (mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  10. end
  11. end
  12. end
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement