So I'm scripting this thing in roblox which needs a few scripts to run so to make it easier and make it so people cant find the script in my game is it possible to do a require like this?
local Script1 = require("rbxassetid://IDHere");
If it cant be done please reply if its wrong and i'm doing it wrong, please reply with what I did wrong.
You can use Require for scripts. Instead of putting local Script1 = require("rbxassetid://IDHere")
, you would put require(IDHere)
.
The module script that you upload as the asset will need to be named 'MainModule'.
If this helped, please accept it.
-Best regards