Advertisement
HenloMyDude

local teleport

Mar 17th, 2020
248
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:service("Players").LocalPlayer
  2. hum = plr.Character.HumanoidRootPart
  3. mouse = plr:GetMouse()
  4. mouse.KeyDown:connect(function(key)
  5. hum = plr.Character.HumanoidRootPart
  6. if key=='b' then
  7. hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y+5, mouse.Hit.z)
  8. end
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement