Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game:GetService("Players").LocalPlayer
- local char = plr.Character or plr.CharacterAdded:Wait()
- local root = char:FindFirstChild("HumanoidRootPart")
- print("Script Activated.")
- print("Author: abagde")
- print("For teleport just press key 'B'")
- local mouse = plr:GetMouse()
- game:GetService("UserInputService").InputBegan:Connect(function(inp)
- if inp.KeyCode == Enum.KeyCode.B then
- root.CFrame = CFrame.new(mouse.Hit.X, mouse.Hit.Y + 5, mouse.Hit.Z)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment