on how to write your own custom jumpscare script instead of using a pre-made one? How To SCRIPT a JUMPSCARE in Roblox Studio
Developers must ensure the names of objects in the script (like "JumpscareGui" or "ScarySound") match the names of the objects they created in the Roblox Studio jumpscare script roblox pastebin