So, I am trying to make a "loader" for my anti exploit program, and I have the script that I need published as private, and the loader is
require(386272996)
but, the script needs to be in ReplicatedStorage to function, and when I boot up the game, and click on my GUI, it wont work since the script is loaded into Workspace. Someone help me!
Uh, just place the script in ReplicatedStorage, or access ReplicatedStorage statically?
script.Parent = game.ReplicatedStorage
or
local ReplicatedStorage = game.ReplicatedStorage
At the beginning of your ModuleScript, put script.Parent = game.ReplicatedStorage
. Be aware, that with your Module being out in the open, people will be able to steal it.