I was thinking lookvector, but then, what would I compare that value to; to check if the camera is looking at it?

3 comments

0

Not a request site.

0

"Not a request site", thank you sherlock. I was asking what to use, not to get scripts.

0

You could cast a ray from the lookvector and see if the ray hits the part you want to check for. Here's a raycasting tutorial: https://developer.roblox.com/en-us/articles/Making-a-ray-casting-laser-gun-in-Roblox