I would like to protect my loading screen code in a module script, but you can't use
require()
on the client.
Do you have any suggestions?
You can use ModuleScripts on the client, so I'm not sure where you got that from. But what I don't get is why you would want to have it in a modulescript in the first place.