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

How do you make a part/model follow your mouse?

Asked by
Nep_Ryker 131
5 years ago

As the title suggests, how do I make a part or a model follow your mouse cursor? I've been searching all over the place and I still can't find out how..

1 answer

Log in to vote
1
Answered by
mattscy 3725 Moderation Voter Community Moderator
5 years ago
Edited 5 years ago

You would use a combination of SetPrimaryPartCFrame (for models) or CFrame for parts to re-position it every mouse .Move.

Something like this example might help get you started: https://scriptinghelpers.org/questions/60895/model-not-rotating-when-user-presses-r#59264

0
Thanks! Nep_Ryker 131 — 5y
Ad

Answer this question