Well my script is called just jumpscare.
Yours shows it as jumpscare1.lua
Which case that entity would not call the script I sent you.
So my best guest is that the functions inside your jumpscare1.lua script do not reflect the name of the lua script.
Yours probably reads function jumpscare_init(e) and function jumpscare_main(e), while the file name says jumpscare1
Change them to function jumpscare1_init(e) and function jumpscare1_main(e), save the lua file. Then save the map file in Game Guru and try it again.
This is the most basic requirement of LUA scripting and the most common reason why scripts do not work as intended when you duplicate the script. The function names of the script have to match the file name of the script. No capitals and no spaces or special characters are excepted in these name.
See if the attached script will make yours work. After you change your script if it still does not work.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.