assbagfaggotidk

sure it won t work

Jan 29th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.92 KB | None | 0 0
  1. --[[
  2.  
  3. ADMIN POWERS
  4.  
  5. 0 Player
  6. 1 VIP/Donor
  7. 2 Moderator
  8. 3 Administrator
  9. 4 Super Administrator
  10. 5 Owner
  11. 6 Game Creator
  12.  
  13. First table consists of the different variations of the command.
  14.  
  15. Second table consists of the description and an example of how to use it.
  16.  
  17. Third index is the ADMIN POWER required to use the command.
  18.  
  19. Fourth table consists of the arguments that will be returned in the args table.
  20. 'player' -- returns an array of Players
  21. 'userid' -- returns an array of userIds
  22. 'boolean' -- returns a Boolean value
  23. 'color' -- returns a Color3 value
  24. 'number' -- returns a Number value
  25. 'string' -- returns a String value
  26. 'time' -- returns # of seconds
  27. 'banned' -- returns a value from Bans table
  28. 'admin' -- returns a value from Admins table
  29. -- Adding / to any argument will make it optional; can return nil!!!
  30.  
  31. Fifth index consists of the function that will run when the command is executed properly. ]]
  32. return {
  33.  
  34. {{'test','othertest'},{'Test command.','Example'},6,{'number','string/'},function(pl,args)
  35. print(pl,args[1],args[2])
  36. end}
  37.  
  38. };
  39. --[[
  40. Use usernames or userIds to add a user to a list
  41. For example; Admins={'MyBestFriend','Telamon',261} ]]
  42.  
  43. local Banned={'someoneyoudislike'} -- For those who have wronged you, & this guy
  44.  
  45. --------------------------------------------------------------
  46. -- You DO NOT need to add yourself to any of these lists!!! --
  47. --------------------------------------------------------------
  48.  
  49. local Owners={} -- Can set SuperAdmins, & use all the commands
  50. local SuperAdmins={} -- Can set permanent admins, & shutdown the game
  51. local Admins={} -- Can ban, crash, & set Moderators/VIP
  52. local Mods={} -- Can kick, mute, & use most commands
  53. local VIP={} -- Can use nonabusive commands only on self
  54. --
  55. -- THESE ARE THE CORE SETTINGS
  56. -- YOU WILL NOT BE ABLE TO CHANGE THEM IN-GAME
  57. local Settings={
  58. --[[
  59. Style Options
  60. ¯¯¯¯¯¯¯¯¯¯¯¯¯ ]]
  61. Flat=false; -- Enables Flat theme / Disables Aero theme
  62. ForcedColor=false; -- Forces everyone to have set color & transparency
  63. Color=Color3.new(0,0,0); -- Changes the Color of the user interface
  64. ColorTransparency=.75; -- Changes the Transparency of the user interface
  65. Chat=false; -- Enables the custom chat
  66. BubbleChat=false; -- Enables the custom bubble chat
  67. --[[
  68. Basic Settings
  69. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ]]
  70. AdminCredit=true; -- Enables the credit GUI for that appears in the bottom right
  71. AutoClean=false; -- Enables automatic cleaning of hats & tools in the Workspace
  72. AutoCleanDelay=60; -- The delay between each AutoClean routine
  73. CommandBar=true; -- Enables the Command Bar | GLOBAL KEYBIND: \
  74. FunCommands=true; -- Enables fun yet unnecessary commands
  75. FreeAdmin=false; -- Set to 1-5 to grant admin powers to all, otherwise set to false
  76. PublicLogs=false; -- Allows all users to see the command & chat logs
  77. Prefix=':'; -- Character to begin a command
  78. --[[
  79. Admin Powers
  80. ¯¯¯¯¯¯¯¯¯¯¯¯
  81. 0 Player
  82. 1 VIP Can use nonabusive commands only on self
  83. 2 Moderator Can kick, mute, & use most commands
  84. 3 Administrator Can ban, crash, & set Moderators/VIP
  85. 4 SuperAdmin Can grant permanent powers, & shutdown the game
  86. 5 Owner Can set SuperAdmins, & use all the commands
  87. 6 Game Creator Can set owners & use all the commands
  88.  
  89. Group & VIP Admin
  90. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  91. You can set multiple Groups & Ranks to grant users admin powers
  92. GroupAdmin={
  93. [12345]={[254]=4,[253]=3};
  94. [GROUPID]={[RANK]=ADMINPOWER}
  95. };
  96. You can set multiple Assets to grant users admin powers
  97. VIPAdmin={
  98. [12345]=3;
  99. [54321]=4;
  100. [ITEMID]=ADMINPOWER;
  101. }; ]]
  102.  
  103. GroupAdmin={
  104.  
  105. };
  106.  
  107. VIPAdmin={
  108.  
  109. };
  110.  
  111. --[[
  112. Permissions
  113. ¯¯¯¯¯¯¯¯¯¯¯
  114. -- You can set the admin power required to use a command
  115. -- COMMANDNAME=ADMINPOWER; ]]
  116.  
  117. Permissions={
  118.  
  119. };
  120.  
  121. }
  122.  
  123. return {Settings,{Owners,SuperAdmins,Admins,Mods,VIP,Banned}}
Add Comment
Please, Sign In to add comment