Hey, you who is reading through here.
Well, this mods do exactly what it say it does.
Every tick, theres a 1/20 (so basically once every second but it was for the sake of optimisation) and then 1/10000 for the jumpscare to happen.
WARNING FLASHING LIGHTS
Play with it at your own risk.
Inspired by the terraria mod with the same concept.