Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Read the comments below to set your admin commands to your liking --
- local Banned = {"AbsurdMichelle11"} --Put the person you want to bans name here, or use the command ";ban [Player]"
- -- Admins List --
- local Owners = {"pogbamoy"} --Has no limitations but can only be given through this script here
- local SuperAdmins = {"Put Name Here"} --Desc when done
- local Admins = {"Put Name Here"} --Desc when done
- local Mods = {"Put Name Here"} --Desc when done
- -- Settings --
- --Ranks--
- --[[
- 0 = Normal Player
- 1 = Banned
- 2 = Mod
- 3 = Admin
- 4 = Super Admin
- 5 = Owner Admin
- 6 = Game Creator --Can only be used in Custom_Commands
- --]]
- local Settings = {
- Advertise = true; --Advertises the admin commands on the GUI on the bottom right of the screen
- Prefix = ";"; --NOTE: DO NOT MAKE THIS MORE THAN 1 CHARACTER LONG UNLESS YOU WANT TO BREAK THE CODE! Changing this will change the prefix for the commands you run ex: ;cmds will run since the prefix is set to ";"
- FreeAdmin = false; --Set this from 2-5 if you want people to join the game to have a certain admin, otherwise set it to false
- CommandBar = true; --Set this to true if you want players to be able to use the command bar, otherwise set it to false
- Products = {
- --EXAPMLE [ID OF GAMEPASS/SHIRT] = Ranks: 2-5 or false if you dont want the item to award admin at the moment
- --Example: Should give the mod for owning the mega donation shirt
- --[1256454890] = 2;
- };
- Groups = {
- --EXAPMLE [ID OF GROUP] = {Role rank, Ranks: 2-5 or false} if you dont want the item to award admin at the moment
- --Example: My group ID is 3675368 and since I'm the owner of the group my group role rank is 255, and anyone with the role rank of 255 or higher gets "2" as their power which is mod
- --[3675368] = {255,2};
- };
- }
- -------------------------- Custom Command Stuff --------------------------
- --[[
- Player = Returns a table of all the players it could find with your given command
- String = Returns a string that you've given it
- Number = Returns a given number
- --]]
- local Custom_Commands = {
- -- fun = what they have to type (make sure it is lowercased)
- -- The first value in the table is what shows in the cmds
- -- Make sure to set this "2" to the rank you want players to have to use this
- -- This function is what runs the command when it is called
- fun = {"Fun [Player]";{2};{"Player"};function(plr, cmds)
- for i,v in pairs(cmds[1]) do -- This would basically get all the players it could find. Example: ;fun me would return only you in the table.
- print(v.Name)
- end
- end;};
- }
- -- Don't mess with anything below kthx --
- return {Settings,{Banned,Mods,Admins,SuperAdmins,Owners},Custom_Commands}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement