Hi there!
I'm trying to require a PrivateModule in a LocalScript in which I've realized I cannot, but I was seeing if I could do this:
Just have the event code show in the LocalScript under StarterPlayerScripts and require a script that contains the require(00000) code in it but I'm not sure if that's going to work:
require(game.Workspace["AnnouncementGUI"].eventsLoader)
RemoteEvent1.OnClientEvent:connect(ShowGui1)

5 comments
Thanks for your help, I am loading in a public module its not in the game but its mine
but moving Module script into replicatedstorage mean that exploiters can read it ?
you can access workspace from the client
Excuse me..? Localscripts cannot access workspace..? But anyway, ReplicatedStorage is always the best place for modules to be in.
You can access things in workspace you cannot change things. Since you cannot change things you can't require the Module. Exploiters should not be-able to access the module if you use Filtering Enabled.