Advertisement
OnaKat

Roblox Teleport tool

Oct 19th, 2018
3,304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.47 KB | None | 0 0
  1. local tool = Instance.new("Tool")
  2. tool.Name = "Teleport(Click E)"
  3. local tclone = tool:Clone()
  4. tclone.Parent = game.Players.LocalPlayer
  5.  
  6. local script = Instance.new("LocalScript", tclone)
  7. local code = Instance.new("Stringvalue",script)
  8. code.Value = "
  9. local tool = script.Parent
  10. tool.Button1Down:Connect(function()
  11.     local plr = game.Players.LocalPlayer
  12.     local mouse = plr:GetMouse()
  13.     local char = plr.Character
  14.     char:moveTo(mouse.Target)
  15. end
  16. "
  17. loadstring(code.Value)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement