How to trigger an event with the camera

il go in a bit more detail basically im trying to make it so if you look at a character it jumpscares you but last time i checked theres no event called cameraface so yeah

https://developer.roblox.com/en-us/api-reference/function/Camera/WorldToViewportPoint

Use this function to check if the monster’s position is visible through the camera, keep in mind this function still will say you can see the monster even if they are obstructed, so you will have to do some raycast

1 Like