Advertisement
zed_isJayTheLionJR

Untitled

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