Guest User

KOHLS ADMIN SCRIPT

a guest
Aug 26th, 2018
61,481
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.62 KB | None | 0 0
  1. banned = {"Players you hate"}
  2. for _,p in pairs(game.Players:GetChildren()) do
  3. for _,v in pairs(banned) do
  4. if p.Name==v then
  5. print("SAY :BTOOLS NOW!")
  6. repeat wait() until game.Players.LocalPlayer.Backpack:FindFirstChild("Delete")
  7. game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete"):FireServer(p)
  8. end
  9. end
  10. end
  11. game.Players.PlayerAdded:Connect(function(p)
  12. for _,v in pairs(banned) do
  13. if p.Name==v then
  14. print("EQUIP THE BTOOLS NOW!")
  15. repeat wait() until game.Players.LocalPlayer.Backpack:FindFirstChild("Delete")
  16. game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete"):FireServer(p)
  17. end
  18. end
  19. end)
  20. function cmdz()
  21. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("Cmds") then
  22. game.Players.LocalPlayer.PlayerGui.Cmds:Destroy()
  23. end
  24. function sandbox(var,func)
  25. local env = getfenv(func)
  26. local newenv = setmetatable({},{
  27. __index = function(self,k)
  28. if k=="script" then
  29. return var
  30. else
  31. return env[k]
  32. end
  33. end,
  34. })
  35. setfenv(func,newenv)
  36. return func
  37. end
  38. cors = {}
  39. mas = Instance.new("Model",game:GetService("Lighting"))
  40. ScreenGui0 = Instance.new("ScreenGui")
  41. ScrollingFrame1 = Instance.new("ScrollingFrame")
  42. TextLabel2 = Instance.new("TextLabel")
  43. UIGridLayout3 = Instance.new("UIGridLayout")
  44. TextLabel4 = Instance.new("TextLabel")
  45. TextLabel5 = Instance.new("TextLabel")
  46. TextLabel6 = Instance.new("TextLabel")
  47. TextLabel7 = Instance.new("TextLabel")
  48. TextLabel8 = Instance.new("TextLabel")
  49. TextLabel9 = Instance.new("TextLabel")
  50. TextLabel10 = Instance.new("TextLabel")
  51. TextLabel11 = Instance.new("TextLabel")
  52. TextLabel12 = Instance.new("TextLabel")
  53. TextLabel13 = Instance.new("TextLabel")
  54. TextLabel14 = Instance.new("TextLabel")
  55. TextLabel15 = Instance.new("TextLabel")
  56. TextLabel16 = Instance.new("TextLabel")
  57. TextLabel17 = Instance.new("TextLabel")
  58. TextLabel18 = Instance.new("TextLabel")
  59. TextLabel19 = Instance.new("TextLabel")
  60. TextButton20 = Instance.new("TextButton")
  61. Script21 = Instance.new("Script")
  62. ScreenGui0.Name = "Cmds"
  63. ScreenGui0.Parent = mas
  64. ScrollingFrame1.Parent = ScreenGui0
  65. ScrollingFrame1.Position = UDim2.new(-0.5, 0, 0.280561119, 0)
  66. ScrollingFrame1.Transparency = 0.5
  67. ScrollingFrame1.Size = UDim2.new(0, 226, 0, 233)
  68. ScrollingFrame1.BackgroundColor = BrickColor.new("Really black")
  69. ScrollingFrame1.BackgroundColor3 = Color3.new(0, 0, 0)
  70. ScrollingFrame1.BackgroundTransparency = 0.5
  71. TextLabel2.Name = "a"
  72. TextLabel2.Parent = ScrollingFrame1
  73. TextLabel2.Position = UDim2.new(-0.128205135, 0, -0.128755361, 0)
  74. TextLabel2.Transparency = 1
  75. TextLabel2.Size = UDim2.new(0, 174, 0, 44)
  76. TextLabel2.BackgroundColor = BrickColor.new("Institutional white")
  77. TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
  78. TextLabel2.BackgroundTransparency = 1
  79. TextLabel2.Font = Enum.Font.SciFi
  80. TextLabel2.FontSize = Enum.FontSize.Size24
  81. TextLabel2.Text = ":kick kick a user"
  82. TextLabel2.TextColor = BrickColor.new("Institutional white")
  83. TextLabel2.TextColor3 = Color3.new(1, 1, 1)
  84. TextLabel2.TextSize = 20
  85. TextLabel2.TextStrokeTransparency = 0
  86. UIGridLayout3.Parent = ScrollingFrame1
  87. UIGridLayout3.CellPadding = UDim2.new(0, 0, 0, 5)
  88. UIGridLayout3.CellSize = UDim2.new(0, 174, 0, 44)
  89. TextLabel4.Name = "b"
  90. TextLabel4.Parent = ScrollingFrame1
  91. TextLabel4.Transparency = 1
  92. TextLabel4.Size = UDim2.new(0, 174, 0, 44)
  93. TextLabel4.BackgroundColor = BrickColor.new("Institutional white")
  94. TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
  95. TextLabel4.BackgroundTransparency = 1
  96. TextLabel4.Font = Enum.Font.SciFi
  97. TextLabel4.FontSize = Enum.FontSize.Size24
  98. TextLabel4.Text = ":ban ban a user"
  99. TextLabel4.TextColor = BrickColor.new("Institutional white")
  100. TextLabel4.TextColor3 = Color3.new(1, 1, 1)
  101. TextLabel4.TextSize = 20
  102. TextLabel4.TextStrokeTransparency = 0
  103. TextLabel5.Name = "c"
  104. TextLabel5.Parent = ScrollingFrame1
  105. TextLabel5.Transparency = 1
  106. TextLabel5.Size = UDim2.new(0, 174, 0, 44)
  107. TextLabel5.BackgroundColor = BrickColor.new("Institutional white")
  108. TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1)
  109. TextLabel5.BackgroundTransparency = 1
  110. TextLabel5.Font = Enum.Font.SciFi
  111. TextLabel5.FontSize = Enum.FontSize.Size24
  112. TextLabel5.Text = ":admin get admin"
  113. TextLabel5.TextColor = BrickColor.new("Institutional white")
  114. TextLabel5.TextColor3 = Color3.new(1, 1, 1)
  115. TextLabel5.TextSize = 20
  116. TextLabel5.TextStrokeTransparency = 0
  117. TextLabel6.Name = "d"
  118. TextLabel6.Parent = ScrollingFrame1
  119. TextLabel6.Transparency = 1
  120. TextLabel6.Size = UDim2.new(0, 174, 0, 44)
  121. TextLabel6.BackgroundColor = BrickColor.new("Institutional white")
  122. TextLabel6.BackgroundColor3 = Color3.new(1, 1, 1)
  123. TextLabel6.BackgroundTransparency = 1
  124. TextLabel6.Font = Enum.Font.SciFi
  125. TextLabel6.FontSize = Enum.FontSize.Size24
  126. TextLabel6.Text = ":shutdown Kicks all"
  127. TextLabel6.TextColor = BrickColor.new("Institutional white")
  128. TextLabel6.TextColor3 = Color3.new(1, 1, 1)
  129. TextLabel6.TextSize = 20
  130. TextLabel6.TextStrokeTransparency = 0
  131. TextLabel6.TextWrap = true
  132. TextLabel6.TextWrapped = true
  133. TextLabel7.Name = "f"
  134. TextLabel7.Parent = ScrollingFrame1
  135. TextLabel7.Transparency = 1
  136. TextLabel7.Size = UDim2.new(0, 174, 0, 44)
  137. TextLabel7.BackgroundColor = BrickColor.new("Institutional white")
  138. TextLabel7.BackgroundColor3 = Color3.new(1, 1, 1)
  139. TextLabel7.BackgroundTransparency = 1
  140. TextLabel7.Font = Enum.Font.SciFi
  141. TextLabel7.FontSize = Enum.FontSize.Size24
  142. TextLabel7.Text = ":unslock unlocks the server"
  143. TextLabel7.TextColor = BrickColor.new("Institutional white")
  144. TextLabel7.TextColor3 = Color3.new(1, 1, 1)
  145. TextLabel7.TextSize = 20
  146. TextLabel7.TextStrokeTransparency = 0
  147. TextLabel7.TextWrap = true
  148. TextLabel7.TextWrapped = true
  149. TextLabel8.Name = "e"
  150. TextLabel8.Parent = ScrollingFrame1
  151. TextLabel8.Transparency = 1
  152. TextLabel8.Size = UDim2.new(0, 174, 0, 44)
  153. TextLabel8.BackgroundColor = BrickColor.new("Institutional white")
  154. TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
  155. TextLabel8.BackgroundTransparency = 1
  156. TextLabel8.Font = Enum.Font.SciFi
  157. TextLabel8.FontSize = Enum.FontSize.Size24
  158. TextLabel8.Text = ":slock locks the server"
  159. TextLabel8.TextColor = BrickColor.new("Institutional white")
  160. TextLabel8.TextColor3 = Color3.new(1, 1, 1)
  161. TextLabel8.TextSize = 20
  162. TextLabel8.TextStrokeTransparency = 0
  163. TextLabel8.TextWrap = true
  164. TextLabel8.TextWrapped = true
  165. TextLabel9.Name = "g"
  166. TextLabel9.Parent = ScrollingFrame1
  167. TextLabel9.Transparency = 1
  168. TextLabel9.Size = UDim2.new(0, 174, 0, 44)
  169. TextLabel9.BackgroundColor = BrickColor.new("Institutional white")
  170. TextLabel9.BackgroundColor3 = Color3.new(1, 1, 1)
  171. TextLabel9.BackgroundTransparency = 1
  172. TextLabel9.Font = Enum.Font.SciFi
  173. TextLabel9.FontSize = Enum.FontSize.Size24
  174. TextLabel9.Text = ":rworkspace deletes workspace"
  175. TextLabel9.TextColor = BrickColor.new("Institutional white")
  176. TextLabel9.TextColor3 = Color3.new(1, 1, 1)
  177. TextLabel9.TextSize = 20
  178. TextLabel9.TextStrokeTransparency = 0
  179. TextLabel9.TextWrap = true
  180. TextLabel9.TextWrapped = true
  181. TextLabel10.Name = "h"
  182. TextLabel10.Parent = ScrollingFrame1
  183. TextLabel10.Transparency = 1
  184. TextLabel10.Size = UDim2.new(0, 174, 0, 44)
  185. TextLabel10.BackgroundColor = BrickColor.new("Institutional white")
  186. TextLabel10.BackgroundColor3 = Color3.new(1, 1, 1)
  187. TextLabel10.BackgroundTransparency = 1
  188. TextLabel10.Font = Enum.Font.SciFi
  189. TextLabel10.FontSize = Enum.FontSize.Size24
  190. TextLabel10.Text = ":radminpads removes pads"
  191. TextLabel10.TextColor = BrickColor.new("Institutional white")
  192. TextLabel10.TextColor3 = Color3.new(1, 1, 1)
  193. TextLabel10.TextSize = 20
  194. TextLabel10.TextStrokeTransparency = 0
  195. TextLabel10.TextWrap = true
  196. TextLabel10.TextWrapped = true
  197. TextLabel11.Name = "i"
  198. TextLabel11.Parent = ScrollingFrame1
  199. TextLabel11.Transparency = 1
  200. TextLabel11.Size = UDim2.new(0, 174, 0, 44)
  201. TextLabel11.BackgroundColor = BrickColor.new("Institutional white")
  202. TextLabel11.BackgroundColor3 = Color3.new(1, 1, 1)
  203. TextLabel11.BackgroundTransparency = 1
  204. TextLabel11.Font = Enum.Font.SciFi
  205. TextLabel11.FontSize = Enum.FontSize.Size24
  206. TextLabel11.Text = ":rregen removes regen button"
  207. TextLabel11.TextColor = BrickColor.new("Institutional white")
  208. TextLabel11.TextColor3 = Color3.new(1, 1, 1)
  209. TextLabel11.TextSize = 20
  210. TextLabel11.TextStrokeTransparency = 0
  211. TextLabel11.TextWrap = true
  212. TextLabel11.TextWrapped = true
  213. TextLabel12.Name = "j"
  214. TextLabel12.Parent = ScrollingFrame1
  215. TextLabel12.Transparency = 1
  216. TextLabel12.Size = UDim2.new(0, 174, 0, 44)
  217. TextLabel12.BackgroundColor = BrickColor.new("Institutional white")
  218. TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
  219. TextLabel12.BackgroundTransparency = 1
  220. TextLabel12.Font = Enum.Font.SciFi
  221. TextLabel12.FontSize = Enum.FontSize.Size24
  222. TextLabel12.Text = ":robby removes obby"
  223. TextLabel12.TextColor = BrickColor.new("Institutional white")
  224. TextLabel12.TextColor3 = Color3.new(1, 1, 1)
  225. TextLabel12.TextSize = 20
  226. TextLabel12.TextStrokeTransparency = 0
  227. TextLabel12.TextWrap = true
  228. TextLabel12.TextWrapped = true
  229. TextLabel13.Name = "k"
  230. TextLabel13.Parent = ScrollingFrame1
  231. TextLabel13.Transparency = 1
  232. TextLabel13.Size = UDim2.new(0, 174, 0, 44)
  233. TextLabel13.BackgroundColor = BrickColor.new("Institutional white")
  234. TextLabel13.BackgroundColor3 = Color3.new(1, 1, 1)
  235. TextLabel13.BackgroundTransparency = 1
  236. TextLabel13.Font = Enum.Font.SciFi
  237. TextLabel13.FontSize = Enum.FontSize.Size24
  238. TextLabel13.Text = ":rhouse Removes the ugly house"
  239. TextLabel13.TextColor = BrickColor.new("Institutional white")
  240. TextLabel13.TextColor3 = Color3.new(1, 1, 1)
  241. TextLabel13.TextSize = 20
  242. TextLabel13.TextStrokeTransparency = 0
  243. TextLabel13.TextWrap = true
  244. TextLabel13.TextWrapped = true
  245. TextLabel14.Name = "l"
  246. TextLabel14.Parent = ScrollingFrame1
  247. TextLabel14.Transparency = 1
  248. TextLabel14.Size = UDim2.new(0, 174, 0, 44)
  249. TextLabel14.BackgroundColor = BrickColor.new("Institutional white")
  250. TextLabel14.BackgroundColor3 = Color3.new(1, 1, 1)
  251. TextLabel14.BackgroundTransparency = 1
  252. TextLabel14.Font = Enum.Font.SciFi
  253. TextLabel14.FontSize = Enum.FontSize.Size24
  254. TextLabel14.Text = ":robbybox Removes the obby box"
  255. TextLabel14.TextColor = BrickColor.new("Institutional white")
  256. TextLabel14.TextColor3 = Color3.new(1, 1, 1)
  257. TextLabel14.TextSize = 20
  258. TextLabel14.TextStrokeTransparency = 0
  259. TextLabel14.TextWrap = true
  260. TextLabel14.TextWrapped = true
  261. TextLabel15.Name = "m"
  262. TextLabel15.Parent = ScrollingFrame1
  263. TextLabel15.Transparency = 1
  264. TextLabel15.Size = UDim2.new(0, 174, 0, 44)
  265. TextLabel15.BackgroundColor = BrickColor.new("Institutional white")
  266. TextLabel15.BackgroundColor3 = Color3.new(1, 1, 1)
  267. TextLabel15.BackgroundTransparency = 1
  268. TextLabel15.Font = Enum.Font.SciFi
  269. TextLabel15.FontSize = Enum.FontSize.Size24
  270. TextLabel15.Text = ":rbuildbricks Removes build bricks"
  271. TextLabel15.TextColor = BrickColor.new("Institutional white")
  272. TextLabel15.TextColor3 = Color3.new(1, 1, 1)
  273. TextLabel15.TextScaled = true
  274. TextLabel15.TextSize = 20
  275. TextLabel15.TextStrokeTransparency = 0
  276. TextLabel15.TextWrap = true
  277. TextLabel15.TextWrapped = true
  278. TextLabel16.Name = "n"
  279. TextLabel16.Parent = ScrollingFrame1
  280. TextLabel16.Transparency = 1
  281. TextLabel16.Size = UDim2.new(0, 174, 0, 44)
  282. TextLabel16.BackgroundColor = BrickColor.new("Institutional white")
  283. TextLabel16.BackgroundColor3 = Color3.new(1, 1, 1)
  284. TextLabel16.BackgroundTransparency = 1
  285. TextLabel16.Font = Enum.Font.SciFi
  286. TextLabel16.FontSize = Enum.FontSize.Size24
  287. TextLabel16.Text = ":radmindivider Removes dividers"
  288. TextLabel16.TextColor = BrickColor.new("Institutional white")
  289. TextLabel16.TextColor3 = Color3.new(1, 1, 1)
  290. TextLabel16.TextSize = 20
  291. TextLabel16.TextStrokeTransparency = 0
  292. TextLabel16.TextWrap = true
  293. TextLabel16.TextWrapped = true
  294. TextLabel17.Name = "o"
  295. TextLabel17.Parent = ScrollingFrame1
  296. TextLabel17.Transparency = 1
  297. TextLabel17.Size = UDim2.new(0, 174, 0, 44)
  298. TextLabel17.BackgroundColor = BrickColor.new("Institutional white")
  299. TextLabel17.BackgroundColor3 = Color3.new(1, 1, 1)
  300. TextLabel17.BackgroundTransparency = 1
  301. TextLabel17.Font = Enum.Font.SciFi
  302. TextLabel17.FontSize = Enum.FontSize.Size24
  303. TextLabel17.Text = ":banlist prints banlist."
  304. TextLabel17.TextColor = BrickColor.new("Institutional white")
  305. TextLabel17.TextColor3 = Color3.new(1, 1, 1)
  306. TextLabel17.TextSize = 20
  307. TextLabel17.TextStrokeTransparency = 0
  308. TextLabel17.TextWrap = true
  309. TextLabel17.TextWrapped = true
  310. TextLabel18.Name = "p"
  311. TextLabel18.Parent = ScrollingFrame1
  312. TextLabel18.Transparency = 1
  313. TextLabel18.Size = UDim2.new(0, 174, 0, 44)
  314. TextLabel18.BackgroundColor = BrickColor.new("Institutional white")
  315. TextLabel18.BackgroundColor3 = Color3.new(1, 1, 1)
  316. TextLabel18.BackgroundTransparency = 1
  317. TextLabel18.Font = Enum.Font.SciFi
  318. TextLabel18.FontSize = Enum.FontSize.Size24
  319. TextLabel18.Text = ":explore Makes an easy explorer"
  320. TextLabel18.TextColor = BrickColor.new("Institutional white")
  321. TextLabel18.TextColor3 = Color3.new(1, 1, 1)
  322. TextLabel18.TextSize = 20
  323. TextLabel18.TextStrokeTransparency = 0
  324. TextLabel18.TextWrap = true
  325. TextLabel18.TextWrapped = true
  326. TextLabel19.Name = "q"
  327. TextLabel19.Parent = ScrollingFrame1
  328. TextLabel19.Transparency = 1
  329. TextLabel19.Size = UDim2.new(0, 174, 0, 44)
  330. TextLabel19.BackgroundColor = BrickColor.new("Institutional white")
  331. TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1)
  332. TextLabel19.BackgroundTransparency = 1
  333. TextLabel19.Font = Enum.Font.SciFi
  334. TextLabel19.FontSize = Enum.FontSize.Size24
  335. TextLabel19.Text = ":cmdsx Makes a list of commands"
  336. TextLabel19.TextColor = BrickColor.new("Institutional white")
  337. TextLabel19.TextColor3 = Color3.new(1, 1, 1)
  338. TextLabel19.TextSize = 20
  339. TextLabel19.TextStrokeTransparency = 0
  340. TextLabel19.TextWrap = true
  341. TextLabel19.TextWrapped = true
  342. TextButton20.Name = "close"
  343. TextButton20.Parent = ScreenGui0
  344. TextButton20.Position = UDim2.new(0.21011059, 0, 0.18036072, 0)
  345. TextButton20.Transparency = 0.5
  346. TextButton20.BackgroundColor = BrickColor.new("Really black")
  347. TextButton20.BackgroundColor3 = Color3.new(0, 0, 0)
  348. TextButton20.BackgroundTransparency = 0.5
  349. TextButton20.Font = Enum.Font.SourceSans
  350. TextButton20.FontSize = Enum.FontSize.Size14
  351. TextButton20.Text = ""
  352. TextButton20.TextColor = BrickColor.new("Institutional white")
  353. TextButton20.TextColor3 = Color3.new(0, 0, 0)
  354. TextButton20.TextScaled = true
  355. TextButton20.TextSize = 14
  356. TextButton20.TextWrap = true
  357. TextButton20.TextWrapped = true
  358. Script21.Name = "Entry"
  359. Script21.Parent = ScreenGui0
  360. mas.Cmds.close.TextTransparency=0
  361. for _,v in pairs(mas.Cmds.ScrollingFrame:GetChildren()) do
  362. if v.className~="UIGridLayout" then
  363. v.TextTransparency=0
  364. end
  365. end
  366. table.insert(cors,sandbox(Script21,function()
  367. Cmds=script.Parent
  368. Scroll=Cmds.ScrollingFrame
  369. close=Cmds.close
  370. Scroll:TweenPosition(UDim2.new(0.21, 0,0.281, 0),Enum.EasingDirection.In,Enum.EasingStyle.Bounce)
  371. close:TweenSize(UDim2.new(0, 226,0, 50))
  372. close.Text="Close"
  373.  
  374. close.MouseButton1Click:Connect(function()
  375. Scroll:TweenPosition(UDim2.new(-0.5, 0,0.281, 0),Enum.EasingDirection.In,Enum.EasingStyle.Bounce)
  376. close:TweenSize(UDim2.new(0,0,0,0))
  377. close.Text=""
  378.  
  379. wait(1.5)
  380. script.Parent:Destroy()
  381. return
  382. end)
  383. end))
  384. for i,v in pairs(mas:GetChildren()) do
  385. v.Parent = game.Players.LocalPlayer.PlayerGui
  386. pcall(function() v:MakeJoints() end)
  387. end
  388. mas:Destroy()
  389. for i,v in pairs(cors) do
  390. spawn(function()
  391. pcall(v)
  392. end)
  393. end
  394. end
  395. function explore()
  396. TextProperties = {"ClassName", "Name", "Value", "Text", "Reflectance", "Transparency", "Heat", "TeamName", "WalkSpeed", "Health", "MaxHealth", "Size", "Position", "AccountAge", "RobloxLocked", "TeamColor", "userId", "Brightness", "Ambient", "TimeOfDay", "FieldOfView", "CameraType", "LinkedSource"}
  397. BoolProperties = {"Anchored", "CanCollide", "Disabled", "Jump", "Sit", "Visible", "Enabled", "Locked", "FilteringEnabled", "StreamingEnabled", "GlobalShadows"}
  398. BrickColorProperties = {"BrickColor", "Color", "TeamColor", "Texture", "Value"}
  399. s = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  400. s.ResetOnSpawn=false
  401. pgr = Instance.new("TextButton")
  402. pgr.Parent = s
  403. pgr.Size = UDim2.new(0,100,0,40)
  404. pgr.Position = UDim2.new(0,30,0,440)
  405. pgr.Text="Explorer"
  406. pgr.BackgroundTransparency = 0.3
  407. pgr.TextColor = BrickColor.new("White")
  408. pgr.BackgroundColor = BrickColor.new("Really Black")
  409. pgr.BorderColor = BrickColor.new("Black")
  410. pgr.Font = "ArialBold"
  411. pgr.FontSize = "Size14"
  412. pgr.TextStrokeColor3 = Color3.new(0/0,0/0,0/0)
  413. pgr.TextStrokeTransparency = 0.3
  414. pgr.BorderSizePixel = 1
  415. pgr.BorderColor = BrickColor.new("White")
  416.  
  417. if game.Players.LocalPlayer.PlayerGui:findFirstChild("Explorer") then
  418. game.Players.LocalPlayer.PlayerGui:findFirstChild("Explorer"):Remove()
  419. end
  420.  
  421. local Cloned
  422. local Deleted
  423. local DeleteParent
  424. local Player
  425. local Search
  426. local ScriptSearch
  427. local Gui
  428. local Cloned = nil
  429. local Deleted = nil
  430. local DeleteParent = nil
  431. local Current = 0
  432. local CurrentOption = 0
  433.  
  434. function Clear()
  435. if Gui then
  436. Gui:Remove()
  437. end
  438. Current = 0
  439. CurrentOption = 0
  440. end
  441.  
  442. function AddButton(N, Function, Color, Copy)
  443. if not N then
  444. error("RenderButton - No Name Specified")
  445. end
  446. if not Function then
  447. error("RenderButton - No Function Specified")
  448. end
  449. if not Color then
  450. Color = Color3.new(1, 1, 1)
  451. end
  452. if Copy == nil then
  453. Copy = true
  454. end
  455. P = Instance.new("TextButton")
  456. if Copy then
  457. P.Size = UDim2.new(0, 110, 0, 20)
  458. else
  459. P.Size = UDim2.new(0, 130, 0, 20)
  460. end
  461. P.Text = N.Name
  462. P.Name = N.Name
  463. P.Parent = Gui
  464. P.BackgroundColor3 = Color
  465. P.TextColor3 = Color3.new(0, 0, 0)
  466. P.BackgroundTransparency = 0.5
  467. P.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300, 0, 50+(20*((Current%30)-1)))
  468. P.MouseButton1Click:connect(function()
  469. Function(P)
  470. end)
  471. D = Instance.new("TextButton")
  472. D.Size = UDim2.new(0, 20, 0, 20)
  473. D.Text = "X"
  474. D.Name = N.Name
  475. D.Parent = Gui
  476. D.BackgroundColor3 = Color3.new(1, 0, 0)
  477. D.TextColor3 = Color3.new(0, 0, 0)
  478. D.BackgroundTransparency = 0.5
  479. D.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300+130, 0, 50+(20*((Current%30)-1)))
  480. D.MouseButton1Click:connect(function()
  481. Deleted = N
  482. DeleteParent = N.Parent
  483. game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete"):FireServer(N)
  484. function Search(Object)
  485. Gui = Instance.new("ScreenGui")
  486. Gui.Parent = game.Players.LocalPlayer.PlayerGui
  487. Gui.Name = "Explorer"
  488. if Object ~= game then
  489. AddOption("Back", function()
  490. Clear();
  491. Search(Object.Parent)
  492. end, Color3.new(0.5, 1, 1), false)
  493. end
  494. AddOption("Reload", function() Clear(); Search(Object); end, Color3.new(0.2, 1, 0.2), false)
  495. if Cloned then
  496. AddOption("Paste", function() Cloned:Clone().Parent = Object; Clear(); Search(Object); end, Color3.new(0.5, 1, 1), false)
  497. end
  498. if Deleted then
  499. AddOption("Undo", function() Deleted.Parent = DeleteParent; Deleted = nil; DeletedParent = nil; Clear(); Search(Object); end, Color3.new(1, 0.6, 0.1), false)
  500. end
  501. if Object:IsA("Player") then
  502. AddOption("Goto Character", function() Clear(); if Object.Character then Search(Object.Character); end end, Color3.new(1, 1, 1), false)
  503. end
  504. if Object:IsA("LocalScript") then
  505. AddOption("EditScript", function() Clear(); ScriptSearch(Object); end, Color3.new(1, 1, 1), false)
  506. end
  507. if Object:IsA("Terrain") then
  508. AddOption("Clear", function() Object:Clear(); end, Color3.new(1, 1, 1), false)
  509. end
  510. LoadOptions(Object)
  511. AddOption("Close", Clear, Color3.new(1, 0.2, 0), false)
  512. if not Object:IsA("Workspace") or not Object:IsA("Player") then
  513. for Num, Obj in pairs(Object:GetChildren()) do
  514. --if not Obj:IsA("BasePart") or not Object.Parent == game.Workspace then
  515. if true then
  516. if Obj:IsA("LocalScript") then
  517. AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 0, 0), true)
  518. elseif Obj:IsA("Script") or Obj:IsA("StarterScript") or Obj:IsA("CoreScript") then
  519. AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(0.5, 0.5, 0.8), true)
  520. elseif Obj.Parent == game then
  521. AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), false)
  522. else
  523. AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), true)
  524. end
  525. end
  526. end
  527. end
  528. function MoveUp(Place, Amount)
  529. for i,v in pairs(Place:GetChildren()) do
  530. if v:IsA("TextLabel") or v:IsA("TextBox") then
  531. v.Position = v.Position + UDim2.new(0,0,0,-Amount)
  532. end
  533. end
  534. end
  535. function MoveDown(Place, Amount)
  536. for i,v in pairs(Place:GetChildren()) do
  537. if v:IsA("TextLabel") or v:IsA("TextBox") then
  538. v.Position = v.Position + UDim2.new(0,0,0,Amount)
  539. end
  540. end
  541. end
  542. i=0
  543. function ScriptSearch(S)
  544. Script2 = S
  545. Script = Script2.Source
  546. Table = {}
  547. Enabled = true
  548. Gui = Instance.new("ScreenGui")
  549. Gui.Parent = game.Players.LocalPlayer.PlayerGui
  550. Gui.Name = "Explorer"
  551. while Enabled do
  552. Start, End = string.find(Script, '\n')
  553. print(Start, End)
  554. if Start and End then
  555. table.insert(Table, string.sub(Script, 1, End))
  556. New = string.sub(Script, End+1, string.len(Script))
  557. Script = New
  558. else
  559. Enabled = false
  560. table.insert(Table, string.sub(Script, 1, End))
  561. print("Finished")
  562. end
  563. end
  564. P = Instance.new("TextLabel")
  565. P.Size = UDim2.new(0, 500, 0, 20)
  566. P.Text = Script2.Name
  567. P.Name = "Script Line"
  568. P.Parent = Gui
  569. P.BackgroundColor3 = Color3.new(1, 1, 1)
  570. P.TextColor3 = Color3.new(0, 0, 0)
  571. P.BackgroundTransparency = 0.5
  572. P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
  573. P.TextXAlignment = "Left"
  574. i=i+1
  575. New = {}
  576. for I,Val in pairs(Table) do
  577. print(Val)
  578. P = Instance.new("TextBox")
  579. P.ClearTextOnFocus = false
  580. P.Size = UDim2.new(0, 500, 0, 20)
  581. P.Text = Val
  582. P.Name = "Script Line"
  583. P.Parent = Gui
  584. P.BackgroundColor3 = Color3.new(1, 1, 1)
  585. P.TextColor3 = Color3.new(0, 0, 0)
  586. P.BackgroundTransparency = 0.5
  587. P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
  588. P.TextXAlignment = "Left"
  589. table.insert(New, P)
  590. i=i+1
  591. end
  592. i=1
  593. P = Instance.new("TextButton")
  594. P.Size = UDim2.new(0, 20, 0, 20)
  595. P.Text = "^"
  596. P.Name = "Scroll"
  597. P.Parent = Gui
  598. P.BackgroundColor3 = Color3.new(1, 1, 1)
  599. P.TextColor3 = Color3.new(0, 0, 0)
  600. P.BackgroundTransparency = 0.5
  601. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  602. P.MouseButton1Click:connect(function()
  603. MoveUp(Gui, -20)
  604. end)
  605. i=i+1
  606. P = Instance.new("TextButton")
  607. P.Size = UDim2.new(0, 20, 0, 20)
  608. P.Text = "v"
  609. P.Name = "Scroll"
  610. P.Parent = Gui
  611. P.BackgroundColor3 = Color3.new(1, 1, 1)
  612. P.TextColor3 = Color3.new(0, 0, 0)
  613. P.BackgroundTransparency = 0.5
  614. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  615. P.MouseButton1Click:connect(function()
  616. MoveDown(Gui, -20)
  617. end)
  618. i=i+1
  619. P = Instance.new("TextButton")
  620. P.Size = UDim2.new(0, 20, 0, 20)
  621. P.Text = "^^"
  622. P.Name = "Scroll"
  623. P.Parent = Gui
  624. P.BackgroundColor3 = Color3.new(1, 1, 1)
  625. P.TextColor3 = Color3.new(0, 0, 0)
  626. P.BackgroundTransparency = 0.5
  627. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  628. P.MouseButton1Click:connect(function()
  629. MoveUp(Gui, -200)
  630. end)
  631. i=i+1
  632. P = Instance.new("TextButton")
  633. P.Size = UDim2.new(0, 20, 0, 20)
  634. P.Text = "vv"
  635. P.Name = "Scroll"
  636. P.Parent = Gui
  637. P.BackgroundColor3 = Color3.new(1, 1, 1)
  638. P.TextColor3 = Color3.new(0, 0, 0)
  639. P.BackgroundTransparency = 0.5
  640. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  641. P.MouseButton1Click:connect(function()
  642. MoveDown(Gui, -200)
  643. end)
  644. i=i+1
  645. P = Instance.new("TextButton")
  646. P.Size = UDim2.new(0, 20, 0, 20)
  647. P.Text = "S"
  648. P.Name = "Save"
  649. P.Parent = Gui
  650. P.BackgroundColor3 = Color3.new(0, 1, 0)
  651. P.TextColor3 = Color3.new(0, 0, 0)
  652. P.BackgroundTransparency = 0.5
  653. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  654. P.MouseButton1Click:connect(function()
  655. StringS = ""
  656. for Num, Obj in pairs(New) do
  657. StringS = StringS..Obj.Text..'\n'
  658. end
  659. S.Source = StringS
  660. S.Disabled = true
  661. S.Disabled = false
  662. end)
  663. i=i+1
  664. P = Instance.new("TextButton")
  665. P.Size = UDim2.new(0, 20, 0, 20)
  666. P.Text = "x"
  667. P.Name = "Back"
  668. P.Parent = Gui
  669. P.BackgroundColor3 = Color3.new(1, 0.2, 0)
  670. P.TextColor3 = Color3.new(0, 0, 0)
  671. P.BackgroundTransparency = 0.5
  672. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  673. P.MouseButton1Click:connect(function()
  674. Clear()
  675. i=0
  676. Search(S)
  677. end)
  678. i=i+1
  679. end
  680. end
  681.  
  682. Clear()
  683. Search(DeleteParent)
  684. end)
  685. if Copy then
  686. C = Instance.new("TextButton")
  687. C.Size = UDim2.new(0, 20, 0, 20)
  688. C.Text = "C"
  689. C.Name = N.Name
  690. C.Parent = Gui
  691. C.BackgroundColor3 = Color3.new(0, 1, 0.5)
  692. C.TextColor3 = Color3.new(0, 0, 0)
  693. C.BackgroundTransparency = 0.5
  694. C.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300+110, 0, 50+(20*((Current%30)-1)))
  695. C.MouseButton1Click:connect(function()
  696. Cloned = N
  697. Clear()
  698. Search(N.Parent)
  699. end)
  700. end
  701. Current = Current + 1
  702. return P
  703. end
  704.  
  705. function AddOption(N, Function, Color, Text)
  706. if not N then
  707. error("RenderButton - No Name Specified")
  708. end
  709. if not Color then
  710. Color = Color3.new(1, 1, 1)
  711. end
  712. if Text == nil then
  713. Text = false
  714. end
  715. if Text then
  716. P = Instance.new("TextBox")
  717. else
  718. P = Instance.new("TextButton")
  719. end
  720. P.Text = N
  721. P.Name = N
  722. P.Parent = Gui
  723. P.BackgroundColor3 = Color
  724. P.TextColor3 = Color3.new(0, 0, 0)
  725. P.BackgroundTransparency = 0.5
  726. P.Size = UDim2.new(0, 150, 0, 20)
  727. P.Position = UDim2.new(0, ((math.modf(CurrentOption/30))*150)+150, 0, 50+(20*((CurrentOption%30)-1)))
  728. if not Text and Function then
  729. P.MouseButton1Click:connect(function() Function(P) end)
  730. end
  731. CurrentOption = CurrentOption + 1
  732. return P
  733. end
  734.  
  735. function AddTextOption(Obj, Prop)
  736. local Ob = Obj
  737. local Pro = Prop
  738. if type(Ob[Pro]) == "number" or type(Ob[Pro]) == "string" then
  739. CurrentOption = CurrentOption + 1
  740. local T = AddOption(Ob[Pro], nil, Color3.new(0.1, 0.4, 0.1), true)
  741. CurrentOption = CurrentOption - 2
  742. local O = AddOption("Change "..Pro..":", function() Ob[Pro] = T.Text end, Color3.new(0.1, 0.8, 0.1), false)
  743. CurrentOption = CurrentOption + 1
  744. end
  745. end
  746.  
  747. function AddBrickColorOption(Obj, Prop)
  748. local Ob = Obj
  749. local Pro = Prop
  750. if BrickColor.new(tostring(Ob[Pro])) == Ob[Pro] then
  751. CurrentOption = CurrentOption + 1
  752. local T = AddOption(tostring(Ob[Pro]), nil, Color3.new(0.1, 0.4, 0.1), true)
  753. CurrentOption = CurrentOption - 2
  754. local O = AddOption("Change "..Pro..":", function() Ob[Pro] = BrickColor.new(T.Text) end, Color3.new(0.1, 0.8, 0.1), false)
  755. CurrentOption = CurrentOption + 1
  756. end
  757. end
  758.  
  759. function AddBoolOption(Obj, Prop)
  760. local Ob = Obj
  761. local Pro = Prop
  762. if type(Ob[Pro]) == "boolean" then
  763. local O = AddOption(Pro..": "..tostring(Ob[Pro]), nil, Color3.new(0.1, 0.8, 0.1), false)
  764. O.MouseButton1Click:connect(function()
  765. if Ob[Pro] then
  766. Ob[Pro] = false
  767. O.Text = Pro..": false"
  768. else
  769. Ob[Pro] = true
  770. O.Text = Pro..": true"
  771. end
  772. end)
  773. end
  774. end
  775.  
  776. function TestProperty(Obj, Property)
  777. Success = pcall(function()
  778. if Obj[Property] then
  779. return
  780. end
  781. end)
  782. return Success
  783. end
  784.  
  785. function LoadOptions(Object)
  786. for Num, Prop in pairs(TextProperties) do
  787. if TestProperty(Object, Prop) then
  788. AddTextOption(Object, Prop)
  789. end
  790. end
  791. for Num, Prop in pairs(BoolProperties) do
  792. if TestProperty(Object, Prop) then
  793. AddBoolOption(Object, Prop)
  794. end
  795. end
  796. for Num, Prop in pairs(BrickColorProperties) do
  797. if TestProperty(Object, Prop) then
  798. AddBrickColorOption(Object, Prop)
  799. end
  800. end
  801. end
  802.  
  803. function Search(Object)
  804. Gui = Instance.new("ScreenGui")
  805. Gui.Parent = game.Players.LocalPlayer.PlayerGui
  806. Gui.Name = "Explorer"
  807. if Object ~= game then
  808. AddOption("Back", function()
  809. Clear();
  810. Search(Object.Parent)
  811. end, Color3.new(0.5, 1, 1), false)
  812. end
  813. AddOption("Reload", function() Clear(); Search(Object); end, Color3.new(0.2, 1, 0.2), false)
  814. if Cloned then
  815. AddOption("Paste", function() Cloned:Clone().Parent = Object; Clear(); Search(Object); end, Color3.new(0.5, 1, 1), false)
  816. end
  817. if Deleted then
  818. AddOption("Undo", function() Deleted.Parent = DeleteParent; Deleted = nil; DeletedParent = nil; Clear(); Search(Object); end, Color3.new(1, 0.6, 0.1), false)
  819. end
  820. if Object:IsA("Player") then
  821. AddOption("Goto Character", function() Clear(); if Object.Character then Search(Object.Character); end end, Color3.new(1, 1, 1), false)
  822. end
  823. if Object:IsA("LocalScript") then
  824. AddOption("EditScript", function() Clear(); ScriptSearch(Object); end, Color3.new(1, 1, 1), false)
  825. end
  826. if Object:IsA("Terrain") then
  827. AddOption("Clear", function() Object:Clear(); end, Color3.new(1, 1, 1), false)
  828. end
  829. LoadOptions(Object)
  830. AddOption("Close", Clear, Color3.new(1, 0.2, 0), false)
  831. if not Object:IsA("Workspace") or not Object:IsA("Player") then
  832. for Num, Obj in pairs(Object:GetChildren()) do
  833. --if not Obj:IsA("BasePart") or not Object.Parent == game.Workspace then
  834. if true then
  835. if Obj:IsA("LocalScript") then
  836. AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 0, 0), true)
  837. elseif Obj:IsA("Script") or Obj:IsA("StarterScript") or Obj:IsA("CoreScript") then
  838. AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(0.5, 0.5, 0.8), true)
  839. elseif Obj.Parent == game then
  840. AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), false)
  841. else
  842. AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), true)
  843. end
  844. end
  845. end
  846. end
  847. function MoveUp(Place, Amount)
  848. for i,v in pairs(Place:GetChildren()) do
  849. if v:IsA("TextLabel") or v:IsA("TextBox") then
  850. v.Position = v.Position + UDim2.new(0,0,0,-Amount)
  851. end
  852. end
  853. end
  854. function MoveDown(Place, Amount)
  855. for i,v in pairs(Place:GetChildren()) do
  856. if v:IsA("TextLabel") or v:IsA("TextBox") then
  857. v.Position = v.Position + UDim2.new(0,0,0,Amount)
  858. end
  859. end
  860. end
  861. i=0
  862. function ScriptSearch(S)
  863. Script2 = S
  864. Script = Script2.Source
  865. Table = {}
  866. Enabled = true
  867. Gui = Instance.new("ScreenGui")
  868. Gui.Parent = game.Players.LocalPlayer.PlayerGui
  869. Gui.Name = "Explorer"
  870. while Enabled do
  871. Start, End = string.find(Script, '\n')
  872. print(Start, End)
  873. if Start and End then
  874. table.insert(Table, string.sub(Script, 1, End))
  875. New = string.sub(Script, End+1, string.len(Script))
  876. Script = New
  877. else
  878. Enabled = false
  879. table.insert(Table, string.sub(Script, 1, End))
  880. print("Finished")
  881. end
  882. end
  883. P = Instance.new("TextLabel")
  884. P.Size = UDim2.new(0, 500, 0, 20)
  885. P.Text = Script2.Name
  886. P.Name = "Script Line"
  887. P.Parent = Gui
  888. P.BackgroundColor3 = Color3.new(1, 1, 1)
  889. P.TextColor3 = Color3.new(0, 0, 0)
  890. P.BackgroundTransparency = 0.5
  891. P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
  892. P.TextXAlignment = "Left"
  893. i=i+1
  894. New = {}
  895. for I,Val in pairs(Table) do
  896. print(Val)
  897. P = Instance.new("TextBox")
  898. P.ClearTextOnFocus = false
  899. P.Size = UDim2.new(0, 500, 0, 20)
  900. P.Text = Val
  901. P.Name = "Script Line"
  902. P.Parent = Gui
  903. P.BackgroundColor3 = Color3.new(1, 1, 1)
  904. P.TextColor3 = Color3.new(0, 0, 0)
  905. P.BackgroundTransparency = 0.5
  906. P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
  907. P.TextXAlignment = "Left"
  908. table.insert(New, P)
  909. i=i+1
  910. end
  911. i=1
  912. P = Instance.new("TextButton")
  913. P.Size = UDim2.new(0, 20, 0, 20)
  914. P.Text = "^"
  915. P.Name = "Scroll"
  916. P.Parent = Gui
  917. P.BackgroundColor3 = Color3.new(1, 1, 1)
  918. P.TextColor3 = Color3.new(0, 0, 0)
  919. P.BackgroundTransparency = 0.5
  920. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  921. P.MouseButton1Click:connect(function()
  922. MoveUp(Gui, -20)
  923. end)
  924. i=i+1
  925. P = Instance.new("TextButton")
  926. P.Size = UDim2.new(0, 20, 0, 20)
  927. P.Text = "v"
  928. P.Name = "Scroll"
  929. P.Parent = Gui
  930. P.BackgroundColor3 = Color3.new(1, 1, 1)
  931. P.TextColor3 = Color3.new(0, 0, 0)
  932. P.BackgroundTransparency = 0.5
  933. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  934. P.MouseButton1Click:connect(function()
  935. MoveDown(Gui, -20)
  936. end)
  937. i=i+1
  938. P = Instance.new("TextButton")
  939. P.Size = UDim2.new(0, 20, 0, 20)
  940. P.Text = "^^"
  941. P.Name = "Scroll"
  942. P.Parent = Gui
  943. P.BackgroundColor3 = Color3.new(1, 1, 1)
  944. P.TextColor3 = Color3.new(0, 0, 0)
  945. P.BackgroundTransparency = 0.5
  946. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  947. P.MouseButton1Click:connect(function()
  948. MoveUp(Gui, -200)
  949. end)
  950. i=i+1
  951. P = Instance.new("TextButton")
  952. P.Size = UDim2.new(0, 20, 0, 20)
  953. P.Text = "vv"
  954. P.Name = "Scroll"
  955. P.Parent = Gui
  956. P.BackgroundColor3 = Color3.new(1, 1, 1)
  957. P.TextColor3 = Color3.new(0, 0, 0)
  958. P.BackgroundTransparency = 0.5
  959. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  960. P.MouseButton1Click:connect(function()
  961. MoveDown(Gui, -200)
  962. end)
  963. i=i+1
  964. P = Instance.new("TextButton")
  965. P.Size = UDim2.new(0, 20, 0, 20)
  966. P.Text = "S"
  967. P.Name = "Save"
  968. P.Parent = Gui
  969. P.BackgroundColor3 = Color3.new(0, 1, 0)
  970. P.TextColor3 = Color3.new(0, 0, 0)
  971. P.BackgroundTransparency = 0.5
  972. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  973. P.MouseButton1Click:connect(function()
  974. StringS = ""
  975. for Num, Obj in pairs(New) do
  976. StringS = StringS..Obj.Text..'\n'
  977. end
  978. S.Source = StringS
  979. S.Disabled = true
  980. S.Disabled = false
  981. end)
  982. i=i+1
  983. P = Instance.new("TextButton")
  984. P.Size = UDim2.new(0, 20, 0, 20)
  985. P.Text = "x"
  986. P.Name = "Back"
  987. P.Parent = Gui
  988. P.BackgroundColor3 = Color3.new(1, 0.2, 0)
  989. P.TextColor3 = Color3.new(0, 0, 0)
  990. P.BackgroundTransparency = 0.5
  991. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  992. P.MouseButton1Click:connect(function()
  993. Clear()
  994. i=0
  995. Search(S)
  996. end)
  997. i=i+1
  998. end
  999. end
  1000.  
  1001. pgr.MouseButton1Click:connect(function()
  1002. Clear()
  1003. Search(game)
  1004. end)
  1005. end
  1006. --kohls admin house nbc
  1007. warn("Kohls Admin House NBC Admin")
  1008. print("Written by: Bloxy")
  1009. warn("Updated by: rocket12211")
  1010.  
  1011. plr = game.Players.LocalPlayer
  1012. prefix = ":"
  1013. banned = {}
  1014.  
  1015. function GetPlayer(String) -- timeless/xfunnieuss
  1016. local Found = {}
  1017. local strl = String:lower()
  1018. if strl == "all" then
  1019. for i,v in pairs(game.Players:GetPlayers()) do
  1020. table.insert(Found,v)
  1021. end
  1022. elseif strl == "others" then
  1023. for i,v in pairs(game.Players:GetPlayers()) do
  1024. if v.Name ~= game.Players.LocalPlayer.Name then
  1025. table.insert(Found,v)
  1026. end
  1027. end
  1028. elseif strl == "me" then
  1029. for i,v in pairs(game.Players:GetPlayers()) do
  1030. if v.Name == game.Players.LocalPlayer.Name then
  1031. table.insert(Found,v)
  1032. end
  1033. end
  1034. else
  1035. for i,v in pairs(game.Players:GetPlayers()) do
  1036. if v.Name:lower():sub(1, #String) == String:lower() then
  1037. table.insert(Found,v)
  1038. end
  1039. end
  1040. end
  1041. return Found
  1042. end
  1043.  
  1044. plr.Chatted:Connect(function(msg)
  1045. if string.sub(msg, 1, 6) == (prefix.."kick ") then
  1046. for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  1047. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1048. remote:FireServer(v)
  1049. end
  1050. end
  1051. end)
  1052.  
  1053.  
  1054. prefix = ":"
  1055. slock = false
  1056.  
  1057. plr = game.Players.LocalPlayer
  1058. plr.Chatted:Connect(function(ok)
  1059. if string.sub(ok, 1) == (prefix.. "admin") then
  1060. now = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  1061.  
  1062. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  1063. =
  1064. game.Workspace.Terrain.GameFolder.Admin.Pads['Touch to get admin'].Head.CFrame
  1065.  
  1066. wait(0.2)
  1067.  
  1068. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = now
  1069. end
  1070. end)
  1071.  
  1072. plr.Chatted:connect(function(wtf)
  1073. if string.sub(wtf, 1) == (prefix.. "shutdown") then
  1074. for i,v in pairs(game.Players:GetPlayers()) do
  1075. if v~= plr then
  1076. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1077. remote:FireServer(v)
  1078. end
  1079. end
  1080. end
  1081. end)
  1082.  
  1083.  
  1084. plr.Chatted:connect(function(lol)
  1085. if string.sub(lol, 1) == (prefix.. "slock") then
  1086. slock = true
  1087. warn'Server Locked!'
  1088. end
  1089. end)
  1090.  
  1091. plr.Chatted:Connect(function(oyes)
  1092. if string.sub(oyes, 1) == (prefix.. "unslock") then
  1093. slock = false
  1094. warn'Server Unlocked!'
  1095. end
  1096. end)
  1097.  
  1098.  
  1099. plr.Chatted:connect(function(wtf)
  1100. if string.sub(wtf, 1) == (prefix.. "shutdown") then
  1101. wait(1)
  1102. plr:Kick'sometimes a nigga is a nigger and a snowflake is a white guy'
  1103. end
  1104. end)
  1105.  
  1106.  
  1107. game.Players.PlayerAdded:connect(function(xDDD)
  1108. if slock == true then
  1109. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1110. remote:FireServer(xDDD)
  1111. wait()
  1112. warn("Someone tried to join:", xDDD.Name, "-SLOCKED")
  1113. end
  1114. end)
  1115.  
  1116. plr.Chatted:Connect(function(xd)
  1117. if string.sub(xd, 1) == (prefix.. "rworkspace") then
  1118. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1119.  
  1120. remote:FireServer(Workspace.Terrain.GameFolder)
  1121. remote:FireServer(Workspace.Terrain.GameFolder)
  1122. end
  1123. end)
  1124.  
  1125. plr.Chatted:Connect(function(msg)
  1126. if string.sub(msg, 1, 5) == (prefix.."ban ") then
  1127. for i,v in pairs(GetPlayer(string.sub(msg, 6))) do
  1128. table.insert(banned,v.Name)
  1129. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1130. remote:FireServer(v)
  1131. wait()
  1132. print("Banned:", v.Name)
  1133. end
  1134. end
  1135. end)
  1136.  
  1137. game.Players.PlayerAdded:connect(function(x)
  1138. wait(0.25)
  1139. for i,v in pairs(banned) do
  1140. if x.Name == v then
  1141. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1142. remote:FireServer(x)
  1143. wait()
  1144. warn("Someone tried to join:", x.Name, "-BANNED")
  1145. end
  1146. end
  1147. end)
  1148.  
  1149. plr.Chatted:Connect(function(rEE)
  1150. if string.sub(rEE, 1, 12) == (prefix.."radminpads") then
  1151. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1152. remote:FireServer(game.Workspace.Terrain.GameFolder.Admin.Pads)
  1153. end
  1154. end)
  1155.  
  1156. plr.Chatted:Connect(function(xAr)
  1157. if string.sub(xAr, 1, 8) == (prefix.."rregen") then
  1158. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1159. remote:FireServer(game.Workspace.Terrain.GameFolder.Admin.Regen)
  1160. end
  1161. end)
  1162.  
  1163. plr.Chatted:Connect(function(wE)
  1164. if string.sub(wE, 1, 7) == (prefix.."robby") then
  1165. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1166. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Obby)
  1167. end
  1168. end)
  1169.  
  1170. plr.Chatted:Connect(function(wsE)
  1171. if string.sub(wsE, 1, 8) == (prefix.."rhouse") then
  1172. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1173. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace["Basic House"])
  1174. end
  1175. end)
  1176.  
  1177. plr.Chatted:Connect(function(wzE)
  1178. if string.sub(wzE, 1, 10) == (prefix.."robbybox") then
  1179. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1180. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace["Obby Box"])
  1181. end
  1182. end)
  1183.  
  1184. plr.Chatted:Connect(function(wzE)
  1185. if string.sub(wzE, 1, 14) == (prefix.."rbuildbricks") then
  1186. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1187. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace["Building Bricks"])
  1188. end
  1189. end)
  1190.  
  1191. plr.Chatted:Connect(function(wzE)
  1192. if string.sub(wzE, 1, 15) == (prefix.."radmindivider") then
  1193. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1194. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace["Admin Dividers"])
  1195. end
  1196. end)
  1197.  
  1198. plr.Chatted:Connect(function(ssA)
  1199. if string.sub(ssA, 1, 11) == (prefix.."banlist") then
  1200. for i,v in pairs(banned) do
  1201. warn("----------------")
  1202. print(v)
  1203. end
  1204. end
  1205. end)
  1206. plr.Chatted:Connect(function(wsE)
  1207. if string.sub(wsE, 1, 9) == (prefix.."explore") then
  1208. explore()
  1209. end
  1210. end)
  1211. plr.Chatted:Connect(function(wsE)
  1212. if string.sub(wsE, 1, 7) == (prefix.."cmdsx") then
  1213. cmdz()
  1214. end
  1215. end)
  1216. --:kick -- kick a user
  1217. --:ban -- ban a user
  1218. --:admin -- get admin
  1219. --:shutdown -- basically kicks everyone
  1220. --:slock -- locks the server
  1221. --:unslock -- unlocks the server
  1222. --:rworkspace -- deletes the workspace
  1223. --:radminpads -- removes admin pads
  1224. --:rregen -- removes regen button
  1225. --:robby -- removes obby
  1226. --:rhouse -- Removes the ugly house
  1227. --:robbybox -- Removes the obby box
  1228. --:rbuildbricks -- Removes the bricks of building
  1229. --:radmindivider -- Removes the admin dividers
  1230. --:banlist -- shows people you banned.
  1231. --:explore -- Makes an easy explorer
  1232. --:cmdsx -- Makes a list of commands
Add Comment
Please, Sign In to add comment