So, I am making a anti exploit program, and I have the entire program into one ModuleScript (Guis are inside module script with change parent scripts inside them to move them to StarterGui). The script I have right now for the loader is:

require(399073748)

which should insert the module script named "MainModule", the loader is inside workspace btw. But, whenever I go on the game, nothing shows up. BUT, on studio when I play that same game, it works just fine WHEN I have the MainModule script inside (Not the loader), so I dont know why the loader isint inserting the MainModule. Help me please.