Advertisement
Guest User

Admin

a guest
Aug 26th, 2018
1,417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Script1 = Instance.new("Script")
  21. ModuleScript2 = Instance.new("ModuleScript")
  22. ModuleScript3 = Instance.new("ModuleScript")
  23. Camera4 = Instance.new("Camera")
  24. Part5 = Instance.new("Part")
  25. Decal6 = Instance.new("Decal")
  26. BlockMesh7 = Instance.new("BlockMesh")
  27. PointLight8 = Instance.new("PointLight")
  28. Model0.Name = "Kohl's Admin Infinite"
  29. Model0.Parent = mas
  30. Script1.Name = "Credit"
  31. Script1.Parent = Model0
  32. table.insert(cors,sandbox(Script1,function()
  33. --[[ ]]if _G.KAU then script:Destroy() end _G.KAU=0 script.Name,script.Parent='Kohl\'s Admin Infinite',game:service'ServerScriptService' while require(306895131)~='badpotato' do wait(1) end --[[ Looking for me? ;)
  34. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  35. ::::::::'##:::'##::'#######::'##::::'##:'##:::::::'####::'######:::::::::
  36. :::::::: ##::'##::'##.... ##: ##:::: ##: ##::::::: ####:'##... ##::::::::
  37. :::::::: ##:'##::: ##:::: ##: ##:::: ##: ##:::::::. ##:: ##:::..:::::::::
  38. :::::::: #####:::: ##:::: ##: #########: ##:::::::'##:::. ######:::::::::
  39. :::::::: ##. ##::: ##:::: ##: ##.... ##: ##:::::::..:::::..... ##::::::::
  40. :::::::: ##:. ##:: ##:::: ##: ##:::: ##: ##:::::::::::::'##::: ##::::::::
  41. :::::::: ##::. ##:. #######:: ##:::: ##: ########:::::::. ######:::::::::
  42. ::::::::..::::..:::.......:::..:::::..::........:::::::::......::::::::::
  43. :::::::::::::::'###::::'########::'##::::'##:'####:'##::: ##:::::::::::::
  44. ::::::::::::::'## ##::: ##.... ##: ###::'###:. ##:: ###:: ##:::::::::::::
  45. :::::::::::::'##:. ##:: ##:::: ##: ####'####:: ##:: ####: ##:::::::::::::
  46. ::::::::::::'##:::. ##: ##:::: ##: ## ### ##:: ##:: ## ## ##:::::::::::::
  47. :::::::::::: #########: ##:::: ##: ##. #: ##:: ##:: ##. ####:::::::::::::
  48. :::::::::::: ##.... ##: ##:::: ##: ##:.:: ##:: ##:: ##:. ###:::::::::::::
  49. :::::::::::: ##:::: ##: ########:: ##:::: ##:'####: ##::. ##:::::::::::::
  50. ::::::::::::..:::::..::........:::..:::::..::....::..::::..::::::::::::::
  51. :::'####:'##::: ##:'########:'####:'##::: ##:'####:'########:'########:::
  52. :::. ##:: ###:: ##: ##.....::. ##:: ###:: ##:. ##::... ##..:: ##.....::::
  53. :::: ##:: ####: ##: ##:::::::: ##:: ####: ##:: ##::::: ##:::: ##:::::::::
  54. :::: ##:: ## ## ##: ######:::: ##:: ## ## ##:: ##::::: ##:::: ######:::::
  55. :::: ##:: ##. ####: ##...::::: ##:: ##. ####:: ##::::: ##:::: ##...::::::
  56. :::: ##:: ##:. ###: ##:::::::: ##:: ##:. ###:: ##::::: ##:::: ##:::::::::
  57. :::'####: ##::. ##: ##:::::::'####: ##::. ##:'####:::: ##:::: ########:::
  58. :::....::..::::..::..::::::::....::..::::..::....:::::..:::::........::::
  59. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  60. :::::::::::: Thanks for using Kohl's Admin Infinite Edition! ::::::::::::
  61. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  62. :::::::::::::::::::: This script is developed by Kohl :::::::::::::::::::
  63. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  64. : To configure the admin open the Settings module inside of this script :
  65. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  66. ]]
  67. end))
  68. ModuleScript2.Name = "Settings"
  69. ModuleScript2.Parent = Script1
  70. table.insert(cors,sandbox(ModuleScript2,function()
  71. --[[
  72. Use usernames or userIds to add a user to a list
  73. For example; Admins={'MyBestFriend','Telamon',261} ]]
  74.  
  75. local Banned={'someoneyoudislike'} -- For those who have wronged you, & this guy
  76.  
  77. --------------------------------------------------------------
  78. -- You DO NOT need to add yourself to any of these lists!!! --
  79. --------------------------------------------------------------
  80.  
  81. local Owners={XXleo29maxXX,Iamapoopyturd} -- Can set SuperAdmins, & use all the commands
  82. local SuperAdmins={} -- Can set permanent admins, & shutdown the game
  83. local Admins={} -- Can ban, crash, & set Moderators/VIP
  84. local Mods={} -- Can kick, mute, & use most commands
  85. local VIP={} -- Can use nonabusive commands only on self
  86. --
  87. -- THESE ARE THE CORE SETTINGS
  88. -- YOU WILL NOT BE ABLE TO CHANGE THEM IN-GAME
  89. local Settings={
  90. --[[
  91. Style Options
  92. ������������� ]]
  93. Flat=false; -- Enables Flat theme / Disables Aero theme
  94. ForcedColor=false; -- Forces everyone to have set color & transparency
  95. Color=Color3.new(0,0,0); -- Changes the Color of the user interface
  96. ColorTransparency=.75; -- Changes the Transparency of the user interface
  97. Chat=false; -- Enables the custom chat
  98. BubbleChat=false; -- Enables the custom bubble chat
  99. --[[
  100. Basic Settings
  101. �������������� ]]
  102. AdminCredit=true; -- Enables the credit GUI for that appears in the bottom right
  103. AutoClean=false; -- Enables automatic cleaning of hats & tools in the Workspace
  104. AutoCleanDelay=60; -- The delay between each AutoClean routine
  105. CommandBar=true; -- Enables the Command Bar | GLOBAL KEYBIND: \
  106. FunCommands=true; -- Enables fun yet unnecessary commands
  107. FreeAdmin=false; -- Set to 1-5 to grant admin powers to all, otherwise set to false
  108. PublicLogs=false; -- Allows all users to see the command & chat logs
  109. Prefix=':'; -- Character to begin a command
  110. --[[
  111. Admin Powers
  112. ������������
  113. 0 Player
  114. 1 VIP Can use nonabusive commands only on self
  115. 2 Moderator Can kick, mute, & use most commands
  116. 3 Administrator Can ban, crash, & set Moderators/VIP
  117. 4 SuperAdmin Can grant permanent powers, & shutdown the game
  118. 5 Owner Can set SuperAdmins, & use all the commands
  119. 6 Game Creator Can set owners & use all the commands
  120.  
  121. Group & VIP Admin
  122. �����������������
  123. You can set multiple Groups & Ranks to grant users admin powers
  124. GroupAdmin={
  125. [12345]={[254]=4,[253]=3};
  126. [GROUPID]={[RANK]=ADMINPOWER}
  127. };
  128. You can set multiple Assets to grant users admin powers
  129. VIPAdmin={
  130. [12345]=3;
  131. [54321]=4;
  132. [ITEMID]=ADMINPOWER;
  133. }; ]]
  134.  
  135. GroupAdmin={
  136.  
  137. };
  138.  
  139. VIPAdmin={
  140.  
  141. };
  142.  
  143. --[[
  144. Permissions
  145. �����������
  146. -- You can set the admin power required to use a command
  147. -- COMMANDNAME=ADMINPOWER; ]]
  148.  
  149. Permissions={
  150.  
  151. };
  152.  
  153. }
  154.  
  155. return {Settings,{Owners,SuperAdmins,Admins,Mods,VIP,Banned}}
  156. end))
  157. ModuleScript3.Name = "Custom Commands"
  158. ModuleScript3.Parent = Script1
  159. table.insert(cors,sandbox(ModuleScript3,function()
  160. --[[
  161.  
  162. ADMIN POWERS
  163.  
  164. 0 Player
  165. 1 VIP/Donor
  166. 2 Moderator
  167. 3 Administrator
  168. 4 Super Administrator
  169. 5 Owner
  170. 6 Game Creator
  171.  
  172. First table consists of the different variations of the command.
  173.  
  174. Second table consists of the description and an example of how to use it.
  175.  
  176. Third index is the ADMIN POWER required to use the command.
  177.  
  178. Fourth table consists of the arguments that will be returned in the args table.
  179. 'player' -- returns an array of Players
  180. 'userid' -- returns an array of userIds
  181. 'boolean' -- returns a Boolean value
  182. 'color' -- returns a Color3 value
  183. 'number' -- returns a Number value
  184. 'string' -- returns a String value
  185. 'time' -- returns # of seconds
  186. 'banned' -- returns a value from Bans table
  187. 'admin' -- returns a value from Admins table
  188. -- Adding / to any argument will make it optional; can return nil!!!
  189.  
  190. Fifth index consists of the function that will run when the command is executed properly. ]]
  191. return {
  192.  
  193. {{'test','othertest'},{'Test command.','Example'},6,{'number','string/'},function(pl,args)
  194. print(pl,args[1],args[2])
  195. end}
  196.  
  197. };
  198. end))
  199. Camera4.Name = "ThumbnailCamera"
  200. Camera4.Parent = Model0
  201. Camera4.CFrame = CFrame.new(98, 90.9000015, -125.5, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  202. Camera4.CoordinateFrame = CFrame.new(98, 90.9000015, -125.5, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  203. Camera4.Focus = CFrame.new(98, 90.9000015, -123, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  204. Camera4.focus = CFrame.new(98, 90.9000015, -123, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  205. Part5.Parent = Camera4
  206. Part5.CFrame = CFrame.new(-14.25, 2.1000061, 63.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  207. Part5.Position = Vector3.new(-14.25, 2.1000061, 63.25)
  208. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  209. Part5.Transparency = 1
  210. Part5.Size = Vector3.new(4.19999981, 4.19999981, 0.200000003)
  211. Part5.Anchored = true
  212. Part5.BottomSurface = Enum.SurfaceType.Smooth
  213. Part5.BrickColor = BrickColor.new("Institutional white")
  214. Part5.CanCollide = false
  215. Part5.Locked = true
  216. Part5.Material = Enum.Material.Slate
  217. Part5.TopSurface = Enum.SurfaceType.Smooth
  218. Part5.brickColor = BrickColor.new("Institutional white")
  219. Part5.FormFactor = Enum.FormFactor.Custom
  220. Part5.formFactor = Enum.FormFactor.Custom
  221. Decal6.Parent = Part5
  222. Decal6.Texture = "rbxassetid://314925538"
  223. BlockMesh7.Parent = Part5
  224. BlockMesh7.Scale = Vector3.new(1, 1, 0)
  225. PointLight8.Parent = Part5
  226. PointLight8.Range = 10
  227. PointLight8.Brightness = 100
  228. for i,v in pairs(mas:GetChildren()) do
  229. v.Parent = workspace
  230. pcall(function() v:MakeJoints() end)
  231. end
  232. mas:Destroy()
  233. for i,v in pairs(cors) do
  234. spawn(function()
  235. pcall(v)
  236. end)
  237. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement