I am trying to make an scp game and I am trying to make scp 173, so when you are not looking at it, it does a line of code, but when I try to use the function in the question, it would always say that it is in the screen, even when i'm not looking at it. Any help?
local Camera = game.Workspace.CurrentCamera
local Vector, InScreen = Camera:WorldToScreenPoint(workspace.Part.Position)
if InScreen then
print("aa")
end
I just made this code, so just say the scp is the part.

2 comments
CAn you show us the code
sure!