Its simple. What I wish to do is run function when player looks away from a part.
I would use WorldToScreenPoint() to accomplish this. Note that it only detects the middle of the part, but looking up something for that should work. A code example would be:
local pos, vis = workspace.CurrentCamera:WorldToScreenPoint(workspace.YourPartName.Position) print(vis)
Hope this helps!