Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Can you put a regular tool click as your default mouse click?

Asked by
hozann 75
8 years ago

Hello, i have a tool that moves to the direction you click at with a body force, and i'm wondering if its possible to have it rather than a tool put it in a starter place where you just click anywhere to move, if that's possible please tell me how? I'll provide code if needed too, thanks!

2
code would be helpful ScriptsAhoy 202 — 8y

1 answer

Log in to vote
1
Answered by 8 years ago

Yes

You just have to make sure you get the PlayerMouse from LocalPlayer:GetMouse() in a LocalScript, and connect to that MouseUp instead of the Tool's Activated event.

Ad

Answer this question