Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Plr = game:GetService("Players").LocalPlayer
- local Mouse = Plr:GetMouse()
- Mouse.Button1Down:connect(
- function()
- if not game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.LeftControl) then
- return
- end
- if not Mouse.Target then
- return
- end
- Plr.Character:MoveTo(Mouse.Hit.p)
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement