Hey! I've figured out my last question, and I've tried worldtoscreenpoint, but however, if the player looks at the part, is does nothing at all. I've never worked with WorldToScreenPointbefore, and I'm new to it. Can someone tell me what's wrong? I've tried this in both a script and localscript, workspace and startergui. Any working answer is appreciated.
local camera = game.Workspace.CurrentCamera local part = game.Workspace.lookatpart local _, withinScreenBounds = camera:WorldToScreenPoint(part.Position) if withinScreenBounds then print("Player looking at object has been detected.") end