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)
Your problem may be that you cannot change things in Workspace
using a LocalScript
. Try moving your Module
to ReplicatedStorage
instead. ReplicatedStorage
is Client and Sever so you can access them from any script. You also want to store the Module in a variable so you don't have to write out that same line every time you're trying to access it.