Hey all, I need some help making an automated command that is called ‘startsession’. The explanation will be below.
The command is used for the host of a session. When they say ‘startsession’ it locks the server, and then starts reading information out. The command needs to be built into the MainMoudle if posible.
I’ve got some code down but it doesn’t work. When I join the game it just breaks the entire admin system and nothing appears or works.
I chose to do it in the MainModule because its easier to link it all together as in a plugin its harder. But I’m willing to change, any help is appreciated.
Never edit the code unless you know what you’re doing, plugins have the same functionality and won’t break your admin and will show the error in debuglogs.
At Ben’s Services, he has a plugin that does something like this for Basic Admin. Highly recommend checking out his free products since their great for training center. Here’s the file for those who don’t use discord:
local function pluginFunction(Args) -- keep the name of the function as "pluginFunction"
remoteEvent:FireClient('Notif','Lorem Ipsum','Plugin Example',{'slock'})
end