How would I make a system that auto tracks Help

How would I make a system that auto tracks to people with in your line of sight
like iron man sim 2

https://www.roblox.com/games/6097258548/Iron-Man-Simulator-2-BETA

Hello! Sorry for the ralte reply, but might want to use this:
https://developer.roblox.com/en-us/api-reference/function/Camera/WorldToScreenPoint
Plus with some Racasting, you could get it to work.