Advertisement
Guest User

Untitled

a guest
Feb 20th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. -- Read the comments below to set your admin commands to your liking --
  2.  
  3. local Banned = {"AbsurdMichelle11"} --Put the person you want to bans name here, or use the command ";ban [Player]"
  4.  
  5. -- Admins List --
  6.  
  7. local Owners = {"pogbamoy"} --Has no limitations but can only be given through this script here
  8. local SuperAdmins = {"Put Name Here"} --Desc when done
  9. local Admins = {"Put Name Here"} --Desc when done
  10. local Mods = {"Put Name Here"} --Desc when done
  11.  
  12. -- Settings --
  13.  
  14. --Ranks--
  15. --[[
  16. 0 = Normal Player
  17. 1 = Banned
  18. 2 = Mod
  19. 3 = Admin
  20. 4 = Super Admin
  21. 5 = Owner Admin
  22. 6 = Game Creator --Can only be used in Custom_Commands
  23. --]]
  24.  
  25. local Settings = {
  26. Advertise = true; --Advertises the admin commands on the GUI on the bottom right of the screen
  27. 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 ";"
  28. 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
  29. CommandBar = true; --Set this to true if you want players to be able to use the command bar, otherwise set it to false
  30.  
  31. Products = {
  32. --EXAPMLE [ID OF GAMEPASS/SHIRT] = Ranks: 2-5 or false if you dont want the item to award admin at the moment
  33. --Example: Should give the mod for owning the mega donation shirt
  34. --[1256454890] = 2;
  35. };
  36.  
  37. Groups = {
  38. --EXAPMLE [ID OF GROUP] = {Role rank, Ranks: 2-5 or false} if you dont want the item to award admin at the moment
  39. --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
  40. --[3675368] = {255,2};
  41. };
  42. }
  43.  
  44. -------------------------- Custom Command Stuff --------------------------
  45. --[[
  46. Player = Returns a table of all the players it could find with your given command
  47. String = Returns a string that you've given it
  48. Number = Returns a given number
  49. --]]
  50.  
  51. local Custom_Commands = {
  52. -- fun = what they have to type (make sure it is lowercased)
  53. -- The first value in the table is what shows in the cmds
  54. -- Make sure to set this "2" to the rank you want players to have to use this
  55. -- This function is what runs the command when it is called
  56. fun = {"Fun [Player]";{2};{"Player"};function(plr, cmds)
  57. 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.
  58. print(v.Name)
  59. end
  60. end;};
  61. }
  62.  
  63. -- Don't mess with anything below kthx --
  64.  
  65. return {Settings,{Banned,Mods,Admins,SuperAdmins,Owners},Custom_Commands}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement