Hello, If you want to make a jumpscare use something called ‘Zones’ what that means is when lets say the zone detects a player then a script will run.
Zone+ v1 (deprecated) | Retrieving players within an area/zone - #4 by colbert2677 this topic will tell you everything you need to know about zones.
Have a good day