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