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

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

Asked by 7 years ago

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

Log in to vote
-1
Answered by 7 years ago
Edited 7 years ago

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

0
Why did my answer get downvoted ;-; misiunicholas 50 — 7y
Ad

Answer this question