I am learning how to script and have been looking at the Roblox Wiki, taking some online classes, and just looking at free to take scripts to see if I understand how they work. However while looking through Scripths Admin Infinite I realized there is not scripts in it. How does this work?
https://www.roblox.com/Kohls-Admin-Infinite-Read-Description-item?id=172732271
Scripth along with many other scripters use the require
function which allows a asset that was created by the same user to implement a model or module into the game the script is it. This allows for the user to keep their content out of the hands of other users, which enables more originality.
However, there is a way around this. Creating a personal place will allow the module to be put in and the user can save the Personal Place, allowing them to access that module loaded in from studio
But wait, that is stealing, right?
Yes, but there is an easy way around it. Simply add script = nil
to the beginning or end of MainModule
, which will remove the main asset loaded in, therefore giving complete privacy to the user and their items.
You can read more about all of this in these following links Modules: http://wiki.roblox.com/index.php?title=API:Class/ModuleScript Private Modules: http://wiki.roblox.com/index.php?title=Private_module Require Function: http://wiki.roblox.com/index.php?title=Require