RoomaticViner

nexussnagga

Mar 27th, 2018
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.63 KB | None | 0 0
  1. --Nexus Admin
  2. --not mine.
  3.  
  4.  
  5. --LOLHI
  6.  
  7.  
  8.  
  9.  
  10.  
  11. --[[
  12. Note: This loader shouldn't be used compared to the model on the website
  13.  
  14. __ __ _______ __ __ __ __ ________
  15. / \ / / / _____/ \ \ / / \ \ \ \ \ _____\
  16. / /\ \ / / / /____ \ \/ / \ \ \ \ \ \_____
  17. / / \ \ / / / _____/ / /\ \ \ \ \ \ \_____ \
  18. / / \ \/ / / /____ / / \ \ \ \__\ \ ____\ \
  19. /_/ \__/ /______/ /_/ \_\ \______\ \______\
  20.  
  21. Nexus Admin
  22.  
  23. Ranks (without changing config below):
  24. -1 New users, commands such as !commands, !fps, !usage, and not much else.
  25. 0 Debug commands. I (FromLegoUniverse) automatically give myself this so I can diagnose issues.
  26. 1 Moderators. No access to additional integrated commands, but by default given Build Utility and Basic
  27. 2 Admin. Access to kick and unbanning, and useful fun commands
  28. 3 Full Admin. Access to banning, and fun commands, can kick Admins.
  29. 4 Owner admin. Can kick/ban Full Admins and Admins.
  30. 5 Creator admin. Access to :admin and :unadmin. Can kick/ban Owner Admin and below. Game owner automatically gets this rank.
  31. --]]
  32.  
  33. local Config = {
  34. DefaultAdminLevel = -1, --This makes it so everyone has the admin level of -1. (This is default)
  35.  
  36.  
  37.  
  38. CommandPrefix = ":", --Prefix used by all included commands
  39.  
  40.  
  41.  
  42. BuildUtilityLevel = 3, --Sets the default admin level of the build commands to 3
  43. BasicCommandsLevel = 3, --Sets the default admin level of the basic commands to 3
  44. UsefulFunCommandsLevel = 3, --Sets the default admin level of the useful fun commands to 3
  45. FunCommandsLevel = 4, --Sets the default admin level of the fun commands to 4
  46.  
  47.  
  48.  
  49. Admins = {
  50. [261] = 3, --Sets the admin level of Shedletsky to 3
  51. [25691148] = 1, --Sets the admin level of TheNexusAvenger to 1
  52. [1] = 2, --Sets the admin level of ROBLOX to 2
  53. },
  54.  
  55.  
  56.  
  57. GroupAdminLevels = {
  58. [901313] = { --For Innovation Security
  59. [150] = 3, --Rank of 150 or above gets admin level 3
  60. [200] = 3.1, --Rank of 200 or above get admin level 3.1; Can kick admin level of 3
  61. [240] = 5, --Rank of 240 or above gets admin level 5
  62. },
  63. [979242] = { --For RBXDev
  64. [1] = 1, --Rank of 1 or above gets admin level of 1
  65. }
  66. },
  67.  
  68.  
  69.  
  70. BannedUsers = {
  71. [67088605] = true, --Bans NarbraWalters with no ban message
  72. [111187295] = "Being a noob", --Bans Narbra_Walters with the ban message of "Being a noob"
  73. },
  74.  
  75. CommandLevelOverrides = {
  76. BasicCommands = {
  77. vote = nil,
  78. pchat = nil,
  79. track = nil,
  80. untrack = nil,
  81. chatlogs = nil,
  82. batch = nil,
  83. loop = 5, --Overrides the loop command to require admin level of 5
  84. m = nil,
  85. h = nil,
  86. pm = nil,
  87. ph = nil,
  88. sm = nil,
  89. sh = nil,
  90. clear = nil,
  91. mute = nil,
  92. unmute = nil,
  93. crash = nil,
  94. shutdown = nil,
  95. countdown = nil,
  96. age = nil,
  97. refresh = nil,
  98. clean = nil,
  99. punish = nil,
  100. respawn = nil,
  101. team = nil,
  102. tools = nil,
  103. give = nil,
  104. startergive = nil,
  105. startertool = nil,
  106. sword = nil,
  107. atksword = nil,
  108. removetools = nil,
  109. resetstats = nil,
  110. change = nil,
  111. gear = nil,
  112. },
  113. BuildUtility = {
  114. clearterrain = nil,
  115. fixlighting = nil,
  116. time = nil,
  117. brightness = nil,
  118. ambient = nil,
  119. outdoorambient = nil,
  120. shadowcolor = nil,
  121. fogcolor = nil,
  122. fogend = nil,
  123. fogstart = nil,
  124. outlines = 5, --Overrides the loop command to require admin level of 5
  125. shadows = nil,
  126. btools = nil,
  127. posterize = nil,
  128. s = nil,
  129. insert = nil,
  130. },
  131. UsefulFunCommands = {
  132. name = nil,
  133. unname = nil,
  134. ff = 2, --Overrides the loop command to require admin level of 2
  135. unff = 2, --Overrides the loop command to require admin level of 2
  136. kill = nil,
  137. damage = nil,
  138. heal = nil,
  139. health = nil,
  140. god = nil,
  141. ungod = nil,
  142. walkspeed = nil,
  143. place = 5, --Overrides the loop command to require admin level of 5
  144. tp = nil,
  145. to = nil,
  146. bring = nil,
  147. flip = nil,
  148. stun = nil,
  149. unstun = nil,
  150. jump = nil,
  151. sit = nil,
  152. unsit = nil,
  153. buy = 5, --Overrides the loop command to require admin level of 5
  154. lock = nil,
  155. unlock = nil,
  156. clone = nil,
  157. explode = nil,
  158. view = nil,
  159. jail = nil,
  160. unjail = nil,
  161. fling = nil,
  162. grav = nil,
  163. setgrav = nil,
  164. fly = nil,
  165. unfly = nil,
  166. freeze = nil,
  167. thaw = nil,
  168. },
  169. FunCommands = {
  170. removehats = nil,
  171. play = nil,
  172. pitch = nil,
  173. volume = nil,
  174. pause = nil,
  175. resume = nil,
  176. stop = nil,
  177. blind = nil,
  178. unblind = nil,
  179. char = nil,
  180. unchar = nil,
  181. hat = nil,
  182. disco = nil,
  183. spin = nil,
  184. unspin = nil,
  185. invisible = 3, --Overrides the loop command to require admin level of 3
  186. visible = 3, --Overrides the loop command to require admin level of 3
  187. light = 3, --Overrides the loop command to require admin level of 3
  188. unlight = 3, --Overrides the loop command to require admin level of 3
  189. fire = nil,
  190. unfire = nil,
  191. smoke = nil,
  192. unsmoke = nil,
  193. sparkles = nil,
  194. unsparkles = nil,
  195. face = nil,
  196. rocket = nil,
  197. unrocket = nil,
  198. vibrate = nil,
  199. unvibrate = nil,
  200. }
  201. },
  202. }
  203.  
  204. local NexusAdmin_UseLocalVersion = game.ServerStorage:FindFirstChild("NexusAdmin_UseLocalVersion")
  205. if NexusAdmin_UseLocalVersion and NexusAdmin_UseLocalVersion.Value == true then --This is used in the test environment loading. No public utility.
  206. local Module = game.ServerScriptService:WaitForChild("MainModule")
  207. require(Module)(script,Config)
  208. else
  209. local Worked,Return = pcall(function() require(386507112)(script,Config) end)
  210. if not Worked then
  211. warn("NEXUS ADMIN FAILED TO LOAD: "..tostring(Return))
  212. end
  213. end
  214. return true
Advertisement
Add Comment
Please, Sign In to add comment