Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plr = game:service("Players").LocalPlayer
- hum = plr.Character.HumanoidRootPart
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- hum = plr.Character.HumanoidRootPart
- if key=='b' then
- hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y+5, mouse.Hit.z)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement