Detect whether the camera is facing the front of the player

I have a Gui that clips into the player body when the camera is rotated toward the front of the character. I want to detect whether the camera is facing the front of the player so I can turn it 180 degrees to stop the clipping and vice versa.

I have spent countless of hours scouring the forum and the internet. Either I couldn’t understand the solution, or it didn’t work.

Here is a video of this happening:
robloxapp-20220429-1243555.wmv (1.6 MB)

Can someone help guide me to script what I need to fix this problem? Not asking for a script, just need some pointers. Thanks!

There is a similar post about this. Take a look at the solution.

1 Like

I’ve already seen that. It doesn’t seem to work for me.