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

How to make the character follow the cursor, such as in Jailbreak and Eclipsis?

Asked by 5 years ago
Edited 5 years ago

Hiya. I am quite new to scripting on roblox, and I am wondering how do they make the character follow the cursor. I would not like to have the code ready. I would just like to know the basics on how this works and what I can do to accomplish this. Thank you!

0
Well if you look at the mouse object on the wiki there are target and hit properties which can both be used to identify a position, although target takes a tad longer and is used for moving to an object in this use case. Then you can use the humanoid methods move or moveto. Vathriel 510 — 5y
0
Lua is not an acronym,,,,,,,,, User#24403 69 — 5y
0
Are you talking Click to Move? If you right click on a surface it finds a path then follows that. Formidable_Beast 197 — 5y
0
Sorry. I should have been more clear. I meant that wherever the cursor is located on the screen, the character will face that direction, including up or down. FierceLeviathan 10 — 5y

Answer this question