How do you make actors chase you and jumpscare?

Pleas help me im making 2 FNAF horror games and i need help making the animatronics chase the player and jumpscare him/her

thats a pretty indepth and complex subject beyond the scope of the answerhub. if you have a system in place already and need help with a specific part that doesnt work then ask about that. if your looking to have someone tell you how to create your game then i would suggest you find some tutorials and learn more about coding so that you can at least get started on it yourself.