Advertisement
FilterYT

Untitled

Apr 17th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.03 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, '
  553. ')
  554. print(Start, End)
  555. if Start and End then
  556. table.insert(Table, string.sub(Script, 1, End))
  557. New = string.sub(Script, End+1, string.len(Script))
  558. Script = New
  559. else
  560. Enabled = false
  561. table.insert(Table, string.sub(Script, 1, End))
  562. print('Finished')
  563. end
  564. end
  565. P = Instance.new('TextLabel')
  566. P.Size = UDim2.new(0, 500, 0, 20)
  567. P.Text = Script2.Name
  568. P.Name = 'Script Line'
  569. P.Parent = Gui
  570. P.BackgroundColor3 = Color3.new(1, 1, 1)
  571. P.TextColor3 = Color3.new(0, 0, 0)
  572. P.BackgroundTransparency = 0.5
  573. P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
  574. P.TextXAlignment = 'Left'
  575. i=i+1
  576. New = {}
  577. for I,Val in pairs(Table) do
  578. print(Val)
  579. P = Instance.new('TextBox')
  580. P.ClearTextOnFocus = false
  581. P.Size = UDim2.new(0, 500, 0, 20)
  582. P.Text = Val
  583. P.Name = 'Script Line'
  584. P.Parent = Gui
  585. P.BackgroundColor3 = Color3.new(1, 1, 1)
  586. P.TextColor3 = Color3.new(0, 0, 0)
  587. P.BackgroundTransparency = 0.5
  588. P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
  589. P.TextXAlignment = 'Left'
  590. table.insert(New, P)
  591. i=i+1
  592. end
  593. i=1
  594. P = Instance.new('TextButton')
  595. P.Size = UDim2.new(0, 20, 0, 20)
  596. P.Text = '^'
  597. P.Name = 'Scroll'
  598. P.Parent = Gui
  599. P.BackgroundColor3 = Color3.new(1, 1, 1)
  600. P.TextColor3 = Color3.new(0, 0, 0)
  601. P.BackgroundTransparency = 0.5
  602. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  603. P.MouseButton1Click:connect(function()
  604. MoveUp(Gui, -20)
  605. end)
  606. i=i+1
  607. P = Instance.new('TextButton')
  608. P.Size = UDim2.new(0, 20, 0, 20)
  609. P.Text = 'v'
  610. P.Name = 'Scroll'
  611. P.Parent = Gui
  612. P.BackgroundColor3 = Color3.new(1, 1, 1)
  613. P.TextColor3 = Color3.new(0, 0, 0)
  614. P.BackgroundTransparency = 0.5
  615. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  616. P.MouseButton1Click:connect(function()
  617. MoveDown(Gui, -20)
  618. end)
  619. i=i+1
  620. P = Instance.new('TextButton')
  621. P.Size = UDim2.new(0, 20, 0, 20)
  622. P.Text = '^^'
  623. P.Name = 'Scroll'
  624. P.Parent = Gui
  625. P.BackgroundColor3 = Color3.new(1, 1, 1)
  626. P.TextColor3 = Color3.new(0, 0, 0)
  627. P.BackgroundTransparency = 0.5
  628. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  629. P.MouseButton1Click:connect(function()
  630. MoveUp(Gui, -200)
  631. end)
  632. i=i+1
  633. P = Instance.new('TextButton')
  634. P.Size = UDim2.new(0, 20, 0, 20)
  635. P.Text = 'vv'
  636. P.Name = 'Scroll'
  637. P.Parent = Gui
  638. P.BackgroundColor3 = Color3.new(1, 1, 1)
  639. P.TextColor3 = Color3.new(0, 0, 0)
  640. P.BackgroundTransparency = 0.5
  641. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  642. P.MouseButton1Click:connect(function()
  643. MoveDown(Gui, -200)
  644. end)
  645. i=i+1
  646. P = Instance.new('TextButton')
  647. P.Size = UDim2.new(0, 20, 0, 20)
  648. P.Text = 'S'
  649. P.Name = 'Save'
  650. P.Parent = Gui
  651. P.BackgroundColor3 = Color3.new(0, 1, 0)
  652. P.TextColor3 = Color3.new(0, 0, 0)
  653. P.BackgroundTransparency = 0.5
  654. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  655. P.MouseButton1Click:connect(function()
  656. StringS = ''
  657. for Num, Obj in pairs(New) do
  658. StringS = StringS..Obj.Text..'
  659. '
  660. end
  661. S.Source = StringS
  662. S.Disabled = true
  663. S.Disabled = false
  664. end)
  665. i=i+1
  666. P = Instance.new('TextButton')
  667. P.Size = UDim2.new(0, 20, 0, 20)
  668. P.Text = 'x'
  669. P.Name = 'Back'
  670. P.Parent = Gui
  671. P.BackgroundColor3 = Color3.new(1, 0.2, 0)
  672. P.TextColor3 = Color3.new(0, 0, 0)
  673. P.BackgroundTransparency = 0.5
  674. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  675. P.MouseButton1Click:connect(function()
  676. Clear()
  677. i=0
  678. Search(S)
  679. end)
  680. i=i+1
  681. end
  682. end
  683.  
  684. Clear()
  685. Search(DeleteParent)
  686. end)
  687. if Copy then
  688. C = Instance.new('TextButton')
  689. C.Size = UDim2.new(0, 20, 0, 20)
  690. C.Text = 'C'
  691. C.Name = N.Name
  692. C.Parent = Gui
  693. C.BackgroundColor3 = Color3.new(0, 1, 0.5)
  694. C.TextColor3 = Color3.new(0, 0, 0)
  695. C.BackgroundTransparency = 0.5
  696. C.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300+110, 0, 50+(20*((Current%30)-1)))
  697. C.MouseButton1Click:connect(function()
  698. Cloned = N
  699. Clear()
  700. Search(N.Parent)
  701. end)
  702. end
  703. Current = Current + 1
  704. return P
  705. end
  706.  
  707. function AddOption(N, Function, Color, Text)
  708. if not N then
  709. error('RenderButton - No Name Specified')
  710. end
  711. if not Color then
  712. Color = Color3.new(1, 1, 1)
  713. end
  714. if Text == nil then
  715. Text = false
  716. end
  717. if Text then
  718. P = Instance.new('TextBox')
  719. else
  720. P = Instance.new('TextButton')
  721. end
  722. P.Text = N
  723. P.Name = N
  724. P.Parent = Gui
  725. P.BackgroundColor3 = Color
  726. P.TextColor3 = Color3.new(0, 0, 0)
  727. P.BackgroundTransparency = 0.5
  728. P.Size = UDim2.new(0, 150, 0, 20)
  729. P.Position = UDim2.new(0, ((math.modf(CurrentOption/30))*150)+150, 0, 50+(20*((CurrentOption%30)-1)))
  730. if not Text and Function then
  731. P.MouseButton1Click:connect(function() Function(P) end)
  732. end
  733. CurrentOption = CurrentOption + 1
  734. return P
  735. end
  736.  
  737. function AddTextOption(Obj, Prop)
  738. local Ob = Obj
  739. local Pro = Prop
  740. if type(Ob[Pro]) == 'number' or type(Ob[Pro]) == 'string' then
  741. CurrentOption = CurrentOption + 1
  742. local T = AddOption(Ob[Pro], nil, Color3.new(0.1, 0.4, 0.1), true)
  743. CurrentOption = CurrentOption - 2
  744. local O = AddOption('Change '..Pro..':', function() Ob[Pro] = T.Text end, Color3.new(0.1, 0.8, 0.1), false)
  745. CurrentOption = CurrentOption + 1
  746. end
  747. end
  748.  
  749. function AddBrickColorOption(Obj, Prop)
  750. local Ob = Obj
  751. local Pro = Prop
  752. if BrickColor.new(tostring(Ob[Pro])) == Ob[Pro] then
  753. CurrentOption = CurrentOption + 1
  754. local T = AddOption(tostring(Ob[Pro]), nil, Color3.new(0.1, 0.4, 0.1), true)
  755. CurrentOption = CurrentOption - 2
  756. local O = AddOption('Change '..Pro..':', function() Ob[Pro] = BrickColor.new(T.Text) end, Color3.new(0.1, 0.8, 0.1), false)
  757. CurrentOption = CurrentOption + 1
  758. end
  759. end
  760.  
  761. function AddBoolOption(Obj, Prop)
  762. local Ob = Obj
  763. local Pro = Prop
  764. if type(Ob[Pro]) == 'boolean' then
  765. local O = AddOption(Pro..': '..tostring(Ob[Pro]), nil, Color3.new(0.1, 0.8, 0.1), false)
  766. O.MouseButton1Click:connect(function()
  767. if Ob[Pro] then
  768. Ob[Pro] = false
  769. O.Text = Pro..': false'
  770. else
  771. Ob[Pro] = true
  772. O.Text = Pro..': true'
  773. end
  774. end)
  775. end
  776. end
  777.  
  778. function TestProperty(Obj, Property)
  779. Success = pcall(function()
  780. if Obj[Property] then
  781. return
  782. end
  783. end)
  784. return Success
  785. end
  786.  
  787. function LoadOptions(Object)
  788. for Num, Prop in pairs(TextProperties) do
  789. if TestProperty(Object, Prop) then
  790. AddTextOption(Object, Prop)
  791. end
  792. end
  793. for Num, Prop in pairs(BoolProperties) do
  794. if TestProperty(Object, Prop) then
  795. AddBoolOption(Object, Prop)
  796. end
  797. end
  798. for Num, Prop in pairs(BrickColorProperties) do
  799. if TestProperty(Object, Prop) then
  800. AddBrickColorOption(Object, Prop)
  801. end
  802. end
  803. end
  804.  
  805. function Search(Object)
  806. Gui = Instance.new('ScreenGui')
  807. Gui.Parent = game.Players.LocalPlayer.PlayerGui
  808. Gui.Name = 'Explorer'
  809. if Object ~= game then
  810. AddOption('Back', function()
  811. Clear();
  812. Search(Object.Parent)
  813. end, Color3.new(0.5, 1, 1), false)
  814. end
  815. AddOption('Reload', function() Clear(); Search(Object); end, Color3.new(0.2, 1, 0.2), false)
  816. if Cloned then
  817. AddOption('Paste', function() Cloned:Clone().Parent = Object; Clear(); Search(Object); end, Color3.new(0.5, 1, 1), false)
  818. end
  819. if Deleted then
  820. AddOption('Undo', function() Deleted.Parent = DeleteParent; Deleted = nil; DeletedParent = nil; Clear(); Search(Object); end, Color3.new(1, 0.6, 0.1), false)
  821. end
  822. if Object:IsA('Player') then
  823. AddOption('Goto Character', function() Clear(); if Object.Character then Search(Object.Character); end end, Color3.new(1, 1, 1), false)
  824. end
  825. if Object:IsA('LocalScript') then
  826. AddOption('EditScript', function() Clear(); ScriptSearch(Object); end, Color3.new(1, 1, 1), false)
  827. end
  828. if Object:IsA('Terrain') then
  829. AddOption('Clear', function() Object:Clear(); end, Color3.new(1, 1, 1), false)
  830. end
  831. LoadOptions(Object)
  832. AddOption('Close', Clear, Color3.new(1, 0.2, 0), false)
  833. if not Object:IsA('Workspace') or not Object:IsA('Player') then
  834. for Num, Obj in pairs(Object:GetChildren()) do
  835. --if not Obj:IsA('BasePart') or not Object.Parent == game.Workspace then
  836. if true then
  837. if Obj:IsA('LocalScript') then
  838. AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 0, 0), true)
  839. elseif Obj:IsA('Script') or Obj:IsA('StarterScript') or Obj:IsA('CoreScript') then
  840. AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(0.5, 0.5, 0.8), true)
  841. elseif Obj.Parent == game then
  842. AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), false)
  843. else
  844. AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), true)
  845. end
  846. end
  847. end
  848. end
  849. function MoveUp(Place, Amount)
  850. for i,v in pairs(Place:GetChildren()) do
  851. if v:IsA('TextLabel') or v:IsA('TextBox') then
  852. v.Position = v.Position + UDim2.new(0,0,0,-Amount)
  853. end
  854. end
  855. end
  856. function MoveDown(Place, Amount)
  857. for i,v in pairs(Place:GetChildren()) do
  858. if v:IsA('TextLabel') or v:IsA('TextBox') then
  859. v.Position = v.Position + UDim2.new(0,0,0,Amount)
  860. end
  861. end
  862. end
  863. i=0
  864. function ScriptSearch(S)
  865. Script2 = S
  866. Script = Script2.Source
  867. Table = {}
  868. Enabled = true
  869. Gui = Instance.new('ScreenGui')
  870. Gui.Parent = game.Players.LocalPlayer.PlayerGui
  871. Gui.Name = 'Explorer'
  872. while Enabled do
  873. Start, End = string.find(Script, '
  874. ')
  875. print(Start, End)
  876. if Start and End then
  877. table.insert(Table, string.sub(Script, 1, End))
  878. New = string.sub(Script, End+1, string.len(Script))
  879. Script = New
  880. else
  881. Enabled = false
  882. table.insert(Table, string.sub(Script, 1, End))
  883. print('Finished')
  884. end
  885. end
  886. P = Instance.new('TextLabel')
  887. P.Size = UDim2.new(0, 500, 0, 20)
  888. P.Text = Script2.Name
  889. P.Name = 'Script Line'
  890. P.Parent = Gui
  891. P.BackgroundColor3 = Color3.new(1, 1, 1)
  892. P.TextColor3 = Color3.new(0, 0, 0)
  893. P.BackgroundTransparency = 0.5
  894. P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
  895. P.TextXAlignment = 'Left'
  896. i=i+1
  897. New = {}
  898. for I,Val in pairs(Table) do
  899. print(Val)
  900. P = Instance.new('TextBox')
  901. P.ClearTextOnFocus = false
  902. P.Size = UDim2.new(0, 500, 0, 20)
  903. P.Text = Val
  904. P.Name = 'Script Line'
  905. P.Parent = Gui
  906. P.BackgroundColor3 = Color3.new(1, 1, 1)
  907. P.TextColor3 = Color3.new(0, 0, 0)
  908. P.BackgroundTransparency = 0.5
  909. P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
  910. P.TextXAlignment = 'Left'
  911. table.insert(New, P)
  912. i=i+1
  913. end
  914. i=1
  915. P = Instance.new('TextButton')
  916. P.Size = UDim2.new(0, 20, 0, 20)
  917. P.Text = '^'
  918. P.Name = 'Scroll'
  919. P.Parent = Gui
  920. P.BackgroundColor3 = Color3.new(1, 1, 1)
  921. P.TextColor3 = Color3.new(0, 0, 0)
  922. P.BackgroundTransparency = 0.5
  923. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  924. P.MouseButton1Click:connect(function()
  925. MoveUp(Gui, -20)
  926. end)
  927. i=i+1
  928. P = Instance.new('TextButton')
  929. P.Size = UDim2.new(0, 20, 0, 20)
  930. P.Text = 'v'
  931. P.Name = 'Scroll'
  932. P.Parent = Gui
  933. P.BackgroundColor3 = Color3.new(1, 1, 1)
  934. P.TextColor3 = Color3.new(0, 0, 0)
  935. P.BackgroundTransparency = 0.5
  936. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  937. P.MouseButton1Click:connect(function()
  938. MoveDown(Gui, -20)
  939. end)
  940. i=i+1
  941. P = Instance.new('TextButton')
  942. P.Size = UDim2.new(0, 20, 0, 20)
  943. P.Text = '^^'
  944. P.Name = 'Scroll'
  945. P.Parent = Gui
  946. P.BackgroundColor3 = Color3.new(1, 1, 1)
  947. P.TextColor3 = Color3.new(0, 0, 0)
  948. P.BackgroundTransparency = 0.5
  949. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  950. P.MouseButton1Click:connect(function()
  951. MoveUp(Gui, -200)
  952. end)
  953. i=i+1
  954. P = Instance.new('TextButton')
  955. P.Size = UDim2.new(0, 20, 0, 20)
  956. P.Text = 'vv'
  957. P.Name = 'Scroll'
  958. P.Parent = Gui
  959. P.BackgroundColor3 = Color3.new(1, 1, 1)
  960. P.TextColor3 = Color3.new(0, 0, 0)
  961. P.BackgroundTransparency = 0.5
  962. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  963. P.MouseButton1Click:connect(function()
  964. MoveDown(Gui, -200)
  965. end)
  966. i=i+1
  967. P = Instance.new('TextButton')
  968. P.Size = UDim2.new(0, 20, 0, 20)
  969. P.Text = 'S'
  970. P.Name = 'Save'
  971. P.Parent = Gui
  972. P.BackgroundColor3 = Color3.new(0, 1, 0)
  973. P.TextColor3 = Color3.new(0, 0, 0)
  974. P.BackgroundTransparency = 0.5
  975. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  976. P.MouseButton1Click:connect(function()
  977. StringS = ''
  978. for Num, Obj in pairs(New) do
  979. StringS = StringS..Obj.Text..'
  980. '
  981. end
  982. S.Source = StringS
  983. S.Disabled = true
  984. S.Disabled = false
  985. end)
  986. i=i+1
  987. P = Instance.new('TextButton')
  988. P.Size = UDim2.new(0, 20, 0, 20)
  989. P.Text = 'x'
  990. P.Name = 'Back'
  991. P.Parent = Gui
  992. P.BackgroundColor3 = Color3.new(1, 0.2, 0)
  993. P.TextColor3 = Color3.new(0, 0, 0)
  994. P.BackgroundTransparency = 0.5
  995. P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  996. P.MouseButton1Click:connect(function()
  997. Clear()
  998. i=0
  999. Search(S)
  1000. end)
  1001. i=i+1
  1002. end
  1003. end
  1004.  
  1005. pgr.MouseButton1Click:connect(function()
  1006. Clear()
  1007. Search(game)
  1008. end)
  1009. end
  1010. --kohls admin house nbc
  1011. warn('Kohls Admin House NBC Admin')
  1012. print('Written by: Bloxy')
  1013. warn('Updated by: rocket12211')
  1014.  
  1015. plr = game.Players.LocalPlayer
  1016. prefix = ':'
  1017. banned = {}
  1018.  
  1019. function GetPlayer(String) -- timeless/xfunnieuss
  1020. local Found = {}
  1021. local strl = String:lower()
  1022. if strl == 'all' then
  1023. for i,v in pairs(game.Players:GetPlayers()) do
  1024. table.insert(Found,v)
  1025. end
  1026. elseif strl == 'others' then
  1027. for i,v in pairs(game.Players:GetPlayers()) do
  1028. if v.Name ~= game.Players.LocalPlayer.Name then
  1029. table.insert(Found,v)
  1030. end
  1031. end
  1032. elseif strl == 'me' then
  1033. for i,v in pairs(game.Players:GetPlayers()) do
  1034. if v.Name == game.Players.LocalPlayer.Name then
  1035. table.insert(Found,v)
  1036. end
  1037. end
  1038. else
  1039. for i,v in pairs(game.Players:GetPlayers()) do
  1040. if v.Name:lower():sub(1, #String) == String:lower() then
  1041. table.insert(Found,v)
  1042. end
  1043. end
  1044. end
  1045. return Found
  1046. end
  1047.  
  1048. plr.Chatted:Connect(function(msg)
  1049. if string.sub(msg, 1, 6) == (prefix..'kick ') then
  1050. for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  1051. local remote = game.Players.LocalPlayer.Backpack:WaitForChild('Delete'):WaitForChild('delete')
  1052. remote:FireServer(v)
  1053. end
  1054. end
  1055. end)
  1056.  
  1057.  
  1058. prefix = ':'
  1059. slock = false
  1060.  
  1061. plr = game.Players.LocalPlayer
  1062. plr.Chatted:Connect(function(ok)
  1063. if string.sub(ok, 1) == (prefix.. 'admin') then
  1064. now = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  1065.  
  1066. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  1067. =
  1068. game.Workspace.Terrain.GameFolder.Admin.Pads['Touch to get admin'].Head.CFrame
  1069.  
  1070. wait(0.2)
  1071.  
  1072. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = now
  1073. end
  1074. end)
  1075.  
  1076. plr.Chatted:connect(function(wtf)
  1077. if string.sub(wtf, 1) == (prefix.. 'shutdown') then
  1078. for i,v in pairs(game.Players:GetPlayers()) do
  1079. if v~= plr then
  1080. local remote = game.Players.LocalPlayer.Backpack:WaitForChild('Delete'):WaitForChild('delete')
  1081. remote:FireServer(v)
  1082. end
  1083. end
  1084. end
  1085. end)
  1086.  
  1087.  
  1088. plr.Chatted:connect(function(lol)
  1089. if string.sub(lol, 1) == (prefix.. 'slock') then
  1090. slock = true
  1091. warn'Server Locked!'
  1092. end
  1093. end)
  1094.  
  1095. plr.Chatted:Connect(function(oyes)
  1096. if string.sub(oyes, 1) == (prefix.. 'unslock') then
  1097. slock = false
  1098. warn'Server Unlocked!'
  1099. end
  1100. end)
  1101.  
  1102.  
  1103. plr.Chatted:connect(function(wtf)
  1104. if string.sub(wtf, 1) == (prefix.. 'shutdown') then
  1105. wait(1)
  1106. plr:Kick'sometimes a nigga is a nigger and a snowflake is a white guy'
  1107. end
  1108. end)
  1109.  
  1110.  
  1111. game.Players.PlayerAdded:connect(function(xDDD)
  1112. if slock == true then
  1113. local remote = game.Players.LocalPlayer.Backpack:WaitForChild('Delete'):WaitForChild('delete')
  1114. remote:FireServer(xDDD)
  1115. wait()
  1116. warn('Someone tried to join:', xDDD.Name, '-SLOCKED')
  1117. end
  1118. end)
  1119.  
  1120. plr.Chatted:Connect(function(xd)
  1121. if string.sub(xd, 1) == (prefix.. 'rworkspace') then
  1122. local remote = game.Players.LocalPlayer.Backpack:WaitForChild('Delete'):WaitForChild('delete')
  1123.  
  1124. remote:FireServer(Workspace.Terrain.GameFolder)
  1125. remote:FireServer(Workspace.Terrain.GameFolder)
  1126. end
  1127. end)
  1128.  
  1129. plr.Chatted:Connect(function(msg)
  1130. if string.sub(msg, 1, 5) == (prefix..'ban ') then
  1131. for i,v in pairs(GetPlayer(string.sub(msg, 6))) do
  1132. table.insert(banned,v.Name)
  1133. local remote = game.Players.LocalPlayer.Backpack:WaitForChild('Delete'):WaitForChild('delete')
  1134. remote:FireServer(v)
  1135. wait()
  1136. print('Banned:', v.Name)
  1137. end
  1138. end
  1139. end)
  1140.  
  1141. game.Players.PlayerAdded:connect(function(x)
  1142. wait(0.25)
  1143. for i,v in pairs(banned) do
  1144. if x.Name == v then
  1145. local remote = game.Players.LocalPlayer.Backpack:WaitForChild('Delete'):WaitForChild('delete')
  1146. remote:FireServer(x)
  1147. wait()
  1148. warn('Someone tried to join:', x.Name, '-BANNED')
  1149. end
  1150. end
  1151. end)
  1152.  
  1153. plr.Chatted:Connect(function(rEE)
  1154. if string.sub(rEE, 1, 12) == (prefix..'radminpads') then
  1155. local remote = game.Players.LocalPlayer.Backpack:WaitForChild('Delete'):WaitForChild('delete')
  1156. remote:FireServer(game.Workspace.Terrain.GameFolder.Admin.Pads)
  1157. end
  1158. end)
  1159.  
  1160. plr.Chatted:Connect(function(xAr)
  1161. if string.sub(xAr, 1, 8) == (prefix..'rregen') then
  1162. local remote = game.Players.LocalPlayer.Backpack:WaitForChild('Delete'):WaitForChild('delete')
  1163. remote:FireServer(game.Workspace.Terrain.GameFolder.Admin.Regen)
  1164. end
  1165. end)
  1166.  
  1167. plr.Chatted:Connect(function(wE)
  1168. if string.sub(wE, 1, 7) == (prefix..'robby') then
  1169. local remote = game.Players.LocalPlayer.Backpack:WaitForChild('Delete'):WaitForChild('delete')
  1170. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Obby)
  1171. end
  1172. end)
  1173.  
  1174. plr.Chatted:Connect(function(wsE)
  1175. if string.sub(wsE, 1, 8) == (prefix..'rhouse') then
  1176. local remote = game.Players.LocalPlayer.Backpack:WaitForChild('Delete'):WaitForChild('delete')
  1177. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace['Basic House'])
  1178. end
  1179. end)
  1180.  
  1181. plr.Chatted:Connect(function(wzE)
  1182. if string.sub(wzE, 1, 10) == (prefix..'robbybox') then
  1183. local remote = game.Players.LocalPlayer.Backpack:WaitForChild('Delete'):WaitForChild('delete')
  1184. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace['Obby Box'])
  1185. end
  1186. end)
  1187.  
  1188. plr.Chatted:Connect(function(wzE)
  1189. if string.sub(wzE, 1, 14) == (prefix..'rbuildbricks') then
  1190. local remote = game.Players.LocalPlayer.Backpack:WaitForChild('Delete'):WaitForChild('delete')
  1191. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace['Building Bricks'])
  1192. end
  1193. end)
  1194.  
  1195. plr.Chatted:Connect(function(wzE)
  1196. if string.sub(wzE, 1, 15) == (prefix..'radmindivider') then
  1197. local remote = game.Players.LocalPlayer.Backpack:WaitForChild('Delete'):WaitForChild('delete')
  1198. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace['Admin Dividers'])
  1199. end
  1200. end)
  1201.  
  1202. plr.Chatted:Connect(function(ssA)
  1203. if string.sub(ssA, 1, 11) == (prefix..'banlist') then
  1204. for i,v in pairs(banned) do
  1205. warn('----------------')
  1206. print(v)
  1207. end
  1208. end
  1209. end)
  1210. plr.Chatted:Connect(function(wsE)
  1211. if string.sub(wsE, 1, 9) == (prefix..'explore') then
  1212. explore()
  1213. end
  1214. end)
  1215. plr.Chatted:Connect(function(wsE)
  1216. if string.sub(wsE, 1, 7) == (prefix..'cmdsx') then
  1217. cmdz()
  1218. end
  1219. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement