Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would I allows players to "lock on" to anything with a humanoid?

Okay so basically I have a local script in the player backpack. When they press z while there cursor is on a humanoid I need there camera to follow the enemy while you can still see the player. I only know how to make it to where you follow the enemy but you can't see the player if they run out of sight..Can anyone help me with my problem?

1 answer

✓ Accepted answer

I don't think you can do something like that since the mouse.x and mouse.y properties are only readonly Correct me if i'm wrong

1 comment

0

Why did my answer get downvoted ;-;

This discussion is preserved as it was. New answers, comments, and votes are closed.