Advertisement
claystick

Q to Teleport (ROBLOX)

Apr 3rd, 2020
15,119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.95 KB | None | 0 0
  1.  ____           _           _    ____        
  2. |  _ \ __ _ ___| |_ ___  __| |  | __ ) _   _
  3. | |_) / _` / __| __/ _ \/ _` |  |  _ \| | | |
  4. |  __/ (_| \__ \ ||  __/ (_| |  | |_) | |_| |
  5. |_|   \__,_|___/\__\___|\__,_|  |____/ \__, |
  6.                                        |___
  7.        _                 _   _      _    
  8.   ___| | __ _ _   _ ___| |_(_) ___| | __
  9.  / __| |/ _` | | | / __| __| |/ __| |/ /
  10. | (__| | (_| | |_| \__ \ |_| | (__|   <  My Profile: https://pastebin.com/u/claystick
  11.  \___|_|\__,_|\__, |___/\__|_|\___|_|\_\
  12.                |___/
  13.  
  14. --Put your mouse cursor where you want to teleport and press q
  15. --If you die you have to execute the script again or it won't work
  16. plr = game.Players.LocalPlayer
  17.  
  18. hum = plr.Character.HumanoidRootPart
  19.  
  20. mouse = plr:GetMouse()
  21.  
  22.  
  23.  
  24. mouse.KeyDown:connect(function(key)
  25.  
  26. if key == "q" then
  27.  
  28. if mouse.Target then
  29.  
  30. hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  31.  
  32. end
  33.  
  34. end
  35. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement