Advertisement
antgame11

Untitled

Mar 22nd, 2019
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.92 KB | None | 0 0
  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. SurfaceLight7 = Instance.new("SurfaceLight")
  27. Snap8 = Instance.new("Snap")
  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. --[[
  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.  
  68. if _G.KAU then script:Destroy() end _G.KAU=true
  69. script.Name,script.Parent='Kohl\'s Admin Infinite',game:service'ServerScriptService'
  70. require(1868400649)
  71. end))
  72. ModuleScript2.Name = "Settings"
  73. ModuleScript2.Parent = Script1
  74. table.insert(cors,sandbox(ModuleScript2,function()
  75. -- Use usernames or userIds to add a user to a list
  76. -- For example; Admins={'MyBestFriend','Telamon',261}
  77.  
  78. local Banned={'someoneyoudislike'} -- For those who have wronged you, & this guy
  79.  
  80. --------------------------------------------------------------
  81. -- You DO NOT need to add yourself to any of these lists!!! --
  82. --------------------------------------------------------------
  83.  
  84. local Owners={'antgame11'} -- Can set SuperAdmins, & use all the commands
  85. local SuperAdmins={} -- Can set permanent admins, & shutdown the game
  86. local Admins={} -- Can ban, crash, & set Moderators/VIP
  87. local Mods={} -- Can kick, mute, & use most commands
  88. local VIP={} -- Can use nonabusive commands only on self
  89.  
  90. local Settings={
  91.  
  92. -- Style Options
  93.  
  94. Flat=true; -- Enables Flat theme / Disables Aero theme
  95. ForcedColor=false; -- Forces everyone to have set color & transparency
  96. Color=Color3.new(0,0,0); -- Changes the Color of the user interface
  97. ColorTransparency=.75; -- Changes the Transparency of the user interface
  98. Chat=false; -- Enables the custom chat
  99. BubbleChat=false; -- Enables the custom bubble chat
  100.  
  101. -- Basic Settings
  102.  
  103. AdminCredit=true; -- Enables the credit GUI for that appears in the bottom right
  104. AutoClean=false; -- Enables automatic cleaning of hats & tools in the Workspace
  105. AutoCleanDelay=60; -- The delay between each AutoClean routine
  106. CommandBar=true; -- Enables the Command Bar | GLOBAL KEYBIND: \
  107. FunCommands=true; -- Enables fun yet unnecessary commands
  108. FreeAdmin=false; -- Set to 1-5 to grant admin powers to all, otherwise set to false
  109. PublicLogs=false; -- Allows all users to see the command & chat logs
  110. Prefix=':'; -- Character to begin a command
  111. --[[
  112. Admin Powers
  113.  
  114. 0 Player
  115. 1 VIP Can use nonabusive commands only on self
  116. 2 Moderator Can kick, mute, & use most commands
  117. 3 Administrator Can ban, crash, & set Moderators/VIP
  118. 4 SuperAdmin Can grant permanent powers, & shutdown the game
  119. 5 Owner Can set SuperAdmins, & use all the commands
  120. 6 Game Creator Can set owners & use all the commands
  121.  
  122. Group & VIP Admin
  123.  
  124. You can set multiple Groups & Ranks to grant users admin powers:
  125.  
  126. GroupAdmin={
  127. [12345]={[254]=4,[253]=3};
  128. [GROUPID]={[RANK]=ADMINPOWER}
  129. };
  130.  
  131. You can set multiple Assets to grant users admin powers:
  132.  
  133. VIPAdmin={
  134. [12345]=3;
  135. [54321]=4;
  136. [ITEMID]=ADMINPOWER;
  137. }; ]]
  138.  
  139. GroupAdmin={
  140.  
  141. };
  142.  
  143. VIPAdmin={
  144.  
  145. };
  146.  
  147. -- Permissions
  148. -- You can set the admin power required to use a command
  149. -- COMMANDNAME=ADMINPOWER;
  150.  
  151. Permissions={
  152.  
  153. };
  154.  
  155. }
  156.  
  157. return {Settings,{Owners,SuperAdmins,Admins,Mods,VIP,Banned}}
  158. end))
  159. ModuleScript3.Name = "Custom Commands"
  160. ModuleScript3.Parent = Script1
  161. table.insert(cors,sandbox(ModuleScript3,function()
  162. --[[
  163.  
  164. ADMIN POWERS
  165.  
  166. 0 Player
  167. 1 VIP/Donor
  168. 2 Moderator
  169. 3 Administrator
  170. 4 Super Administrator
  171. 5 Owner
  172. 6 Game Creator
  173.  
  174. First table consists of the different variations of the command.
  175.  
  176. Second table consists of the description and an example of how to use it.
  177.  
  178. Third index is the ADMIN POWER required to use the command.
  179.  
  180. Fourth table consists of the arguments that will be returned in the args table.
  181. 'player' -- returns an array of Players
  182. 'userid' -- returns an array of userIds
  183. 'boolean' -- returns a Boolean value
  184. 'color' -- returns a Color3 value
  185. 'number' -- returns a Number value
  186. 'string' -- returns a String value
  187. 'time' -- returns # of seconds
  188. 'banned' -- returns a value from Bans table
  189. 'admin' -- returns a value from Admins table
  190. -- Adding / to any argument will make it optional; can return nil!!!
  191.  
  192. Fifth index consists of the function that will run when the command is executed properly. ]]
  193. return {
  194.  
  195. {{'test','othertest'},{'Test command.','Example'},6,{'number','string/'},function(pl,args)
  196. print(pl,args[1],args[2])
  197. end}
  198.  
  199. };
  200. end))
  201. Camera4.Name = "ThumbnailCamera"
  202. Camera4.Parent = Model0
  203. Camera4.CFrame = CFrame.new(0, 0, -114.75, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
  204. Camera4.CameraType = Enum.CameraType.Attach
  205. Camera4.CoordinateFrame = CFrame.new(0, 0, -114.75, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
  206. Camera4.FieldOfView = 1
  207. Camera4.Focus = CFrame.new(-284.390381, 76.359993, -40.5359268, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  208. Camera4.focus = CFrame.new(-284.390381, 76.359993, -40.5359268, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  209. Part5.Parent = Camera4
  210. Part5.CFrame = CFrame.new(-54, 1, 22.8999996, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  211. Part5.Position = Vector3.new(-54, 1, 22.8999996)
  212. Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  213. Part5.Transparency = 1
  214. Part5.Size = Vector3.new(2, 2, 0.200000003)
  215. Part5.Anchored = true
  216. Part5.BrickColor = BrickColor.new("Really black")
  217. Part5.CanCollide = false
  218. Part5.Material = Enum.Material.SmoothPlastic
  219. Part5.brickColor = BrickColor.new("Really black")
  220. Part5.FormFactor = Enum.FormFactor.Custom
  221. Part5.formFactor = Enum.FormFactor.Custom
  222. Decal6.Parent = Part5
  223. Decal6.Texture = "rbxassetid://314925538"
  224. SurfaceLight7.Parent = Part5
  225. SurfaceLight7.Range = 8
  226. SurfaceLight7.Brightness = 10
  227. SurfaceLight7.Angle = 180
  228. Snap8.Parent = Part5
  229. Snap8.C0 = CFrame.new(0, -1, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  230. Snap8.C1 = CFrame.new(-54, 10, 22.8999996, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  231. Snap8.Part0 = Part5
  232. Snap8.Part1 = nil
  233. Snap8.part1 = nil
  234. for i,v in pairs(mas:GetChildren()) do
  235. v.Parent = workspace
  236. pcall(function() v:MakeJoints() end)
  237. end
  238. mas:Destroy()
  239. for i,v in pairs(cors) do
  240. spawn(function()
  241. pcall(v)
  242. end)
  243. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement