I am trying to make an alarm system that runs in module script (so all that uses that script will do the same thing on one script). It works but I am having trouble toggling it (turning it off and on at certain points). What I am trying to do is, if the script of the script in AL is disabled the alarm won’t run. The issue is scrip is not turning off (disabling) in-game. It works if I do it manually but only in studio. What I did so far is to have a switch where it is supposed to turn off and on as a test. But that doesn’t work. Any solutions on how to fix it? (below is the studio file and what I have done so far)





alarms.rbxl (118.7 KB)