OK so I am making a military group and I need help creating an imprisonment system using the Adonis admin plugin. I am having difficulty creating the function which allows the command to work.
server = nil -- Mutes warnings about unknown globals
service = nil
return function()
server.Commands.AdonisExample = {
Prefix = server.Settings.Prefix; -- Prefix to use for command
Commands = {"detain", "imprison", "incarcerate"}; -- Commands
Args = {"player", "number"}; -- Command arguments
Description = "Imprison a player for the specified time."; -- Command Description
Hidden = false; -- Is it hidden from the command list?
Fun = false; -- Is it fun?
AdminLevel = "Moderator"; -- Admin level; If using settings.CustomRanks set this to the custom rank name (eg. "Baristas")
Function = function(plr,args) -- Function to run for command
end
}
end
What I want the command to do:
Put the player into the "incarcerated" team Wait for the specified time Put the player back into their original team after the time has elapsed and reset them so they are no longer in prison
If there is anyone who could help, it would be great :)

1 comment
Are you stupid? He wants to make a Prison system, not the Jail command. A Baby knows that the Jail command isn't a liable way of making a prison system. Did you even read his post or are you too stupid? If you don't know like I do, don't say anything instead of posting the dumbest crap on the internet