Advertisement
Guest User

cmdsx

a guest
Dec 30th, 2018
404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
LScript 43.94 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 Kicks 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. TextLabel19.Name = "q"
  343. TextLabel19.Parent = ScrollingFrame1
  344. TextLabel19.Transparency = 1
  345. TextLabel19.Size = UDim2.new(0, 174, 0, 44)
  346. TextLabel19.BackgroundColor = BrickColor.new("Institutional white")
  347. TextLabel11.BackgroundColor3 = Color3.new(1, 1, 1)
  348. TextLabel11.BackgroundTransparency = 1
  349. TextLabel11.Font = Enum.Font.SciFi
  350. TextLabel11.FontSize = Enum.FontSize.Size24
  351. TextLabel11.Text = ":lock  Locks the workspace"
  352. TextLabel11.TextColor = BrickColor.new("Institutional white")
  353. TextLabel11.TextColor3 = Color3.new(1, 1, 1)
  354. TextLabel11.TextSize = 20
  355. TextLabel11.TextStrokeTransparency = 0
  356. TextLabel11.TextWrap = true
  357. TextLabel11.TextWrapped = true
  358. TextLabel10.Name = "i"
  359. TextLabel10.Parent = ScrollingFrame1
  360. TextLabel10.Transparency = 1
  361. TextLabel10.Size = UDim2.new(0, 174, 0, 44)
  362. TextLabel10.BackgroundColor = BrickColor.new("Institutional white")
  363. TextLabel10.BackgroundColor3 = Color3.new(1, 1, 1)
  364. TextLabel10.BackgroundTransparency = 1
  365. TextLabel10.Font = Enum.Font.SciFi
  366. TextLabel10.FontSize = Enum.FontSize.Size24
  367. TextLabel10.Text = ":unlock  Unlocks the workspace"
  368. TextLabel10.TextColor = BrickColor.new("Institutional white")
  369. TextLabel10.TextColor3 = Color3.new(1, 1, 1)
  370. TextLabel10.TextSize = 20
  371. TextLabel10.TextStrokeTransparency = 0
  372. TextLabel10.TextWrap = true
  373. TextLabel10.TextWrapped = true
  374. TextButton20.Name = "close"
  375. TextButton20.Parent = ScreenGui0
  376. TextButton20.Position = UDim2.new(0.21011059, 0, 0.18036072, 0)
  377. TextButton20.Transparency = 0.5
  378. TextButton20.BackgroundColor = BrickColor.new("Really black")
  379. TextButton20.BackgroundColor3 = Color3.new(0, 0, 0)
  380. TextButton20.BackgroundTransparency = 0.5
  381. TextButton20.Font = Enum.Font.SourceSans
  382. TextButton20.FontSize = Enum.FontSize.Size14
  383. TextButton20.Text = ""
  384. TextButton20.TextColor = BrickColor.new("Institutional white")
  385. TextButton20.TextColor3 = Color3.new(0, 0, 0)
  386. TextButton20.TextScaled = true
  387. TextButton20.TextSize = 14
  388. TextButton20.TextWrap = true
  389. TextButton20.TextWrapped = true
  390. Script21.Name = "Entry"
  391. Script21.Parent = ScreenGui0
  392. mas.Cmds.close.TextTransparency=0
  393.   for _,v in pairs(mas.Cmds.ScrollingFrame:GetChildren()) do
  394.       if v.className~="UIGridLayout" then
  395.           v.TextTransparency=0
  396.       end
  397.   end
  398. table.insert(cors,sandbox(Script21,function()
  399. Cmds=script.Parent
  400. Scroll=Cmds.ScrollingFrame
  401. close=Cmds.close
  402. Scroll:TweenPosition(UDim2.new(0.21, 0,0.281, 0),Enum.EasingDirection.In,Enum.EasingStyle.Bounce)
  403. close:TweenSize(UDim2.new(0, 226,0, 50))
  404. close.Text="Close"
  405.  
  406. close.MouseButton1Click:Connect(function()
  407.   Scroll:TweenPosition(UDim2.new(-0.5, 0,0.281, 0),Enum.EasingDirection.In,Enum.EasingStyle.Bounce)
  408.   close:TweenSize(UDim2.new(0,0,0,0))
  409.   close.Text=""
  410.  
  411.   wait(1.5)
  412.   script.Parent:Destroy()
  413.   return
  414. end)
  415. end))
  416. for i,v in pairs(mas:GetChildren()) do
  417.   v.Parent = game.Players.LocalPlayer.PlayerGui
  418.   pcall(function() v:MakeJoints() end)
  419. end
  420. mas:Destroy()
  421. for i,v in pairs(cors) do
  422.   spawn(function()
  423.       pcall(v)
  424.   end)
  425. end
  426. end
  427. function explore()
  428.   TextProperties = {"ClassName", "Name", "Value", "Text", "Reflectance", "Transparency", "Heat", "TeamName", "WalkSpeed", "Health", "MaxHealth", "Size", "Position", "AccountAge", "RobloxLocked", "TeamColor", "userId", "Brightness", "Ambient", "TimeOfDay", "FieldOfView", "CameraType", "LinkedSource"}
  429. BoolProperties = {"Anchored", "CanCollide", "Disabled", "Jump", "Sit", "Visible", "Enabled", "Locked", "FilteringEnabled", "StreamingEnabled", "GlobalShadows"}
  430. BrickColorProperties = {"BrickColor", "Color", "TeamColor", "Texture", "Value"}
  431. s = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  432. s.ResetOnSpawn=false
  433. pgr = Instance.new("TextButton")
  434. pgr.Parent = s
  435. pgr.Size = UDim2.new(0,100,0,40)
  436. pgr.Position = UDim2.new(0,30,0,440)
  437. pgr.Text="Explorer"
  438. pgr.BackgroundTransparency = 0.3
  439. pgr.TextColor = BrickColor.new("White")
  440. pgr.BackgroundColor = BrickColor.new("Really Black")
  441. pgr.BorderColor = BrickColor.new("Black")
  442. pgr.Font = "ArialBold"
  443. pgr.FontSize = "Size14"
  444. pgr.TextStrokeColor3 = Color3.new(0/0,0/0,0/0)
  445. pgr.TextStrokeTransparency = 0.3
  446. pgr.BorderSizePixel = 1
  447. pgr.BorderColor = BrickColor.new("White")
  448.  
  449. if game.Players.LocalPlayer.PlayerGui:findFirstChild("Explorer") then
  450.   game.Players.LocalPlayer.PlayerGui:findFirstChild("Explorer"):Remove()
  451. end
  452.  
  453. local Cloned
  454. local Deleted
  455. local DeleteParent
  456. local Player
  457. local Search
  458. local ScriptSearch
  459. local Gui
  460. local Cloned = nil
  461. local Deleted = nil
  462. local DeleteParent = nil
  463. local Current = 0
  464. local CurrentOption = 0
  465.  
  466. function Clear()
  467.   if Gui then
  468.       Gui:Remove()
  469.   end
  470.   Current = 0
  471.   CurrentOption = 0
  472. end
  473.  
  474. function AddButton(N, Function, Color, Copy)
  475.   if not N then
  476.       error("RenderButton - No Name Specified")
  477.   end
  478.   if not Function then
  479.       error("RenderButton - No Function Specified")
  480.   end
  481.   if not Color then
  482.       Color = Color3.new(1, 1, 1)
  483.   end
  484.   if Copy == nil then
  485.       Copy = true
  486.   end
  487.   P = Instance.new("TextButton")
  488.   if Copy then
  489.       P.Size = UDim2.new(0, 110, 0, 20)
  490.   else
  491.       P.Size = UDim2.new(0, 130, 0, 20)
  492.   end
  493.   P.Text = N.Name
  494.   P.Name = N.Name
  495.   P.Parent = Gui
  496.   P.BackgroundColor3 = Color
  497.   P.TextColor3 = Color3.new(0, 0, 0)
  498.   P.BackgroundTransparency = 0.5
  499.   P.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300, 0, 50+(20*((Current%30)-1)))
  500.   P.MouseButton1Click:connect(function()
  501.       Function(P)
  502.   end)
  503.   D = Instance.new("TextButton")
  504.   D.Size = UDim2.new(0, 20, 0, 20)
  505.   D.Text = "X"
  506.   D.Name = N.Name
  507.   D.Parent = Gui
  508.   D.BackgroundColor3 = Color3.new(1, 0, 0)
  509.   D.TextColor3 = Color3.new(0, 0, 0)
  510.   D.BackgroundTransparency = 0.5
  511.   D.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300+130, 0, 50+(20*((Current%30)-1)))
  512.   D.MouseButton1Click:connect(function()
  513.       Deleted = N
  514.       DeleteParent = N.Parent
  515.       game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete"):FireServer(N)
  516.       function Search(Object)
  517.   Gui = Instance.new("ScreenGui")
  518.   Gui.Parent = game.Players.LocalPlayer.PlayerGui
  519.   Gui.Name = "Explorer"
  520.   if Object ~= game then
  521.       AddOption("Back", function()
  522.           Clear();
  523.           Search(Object.Parent)
  524.       end, Color3.new(0.5, 1, 1), false)
  525.   end
  526.   AddOption("Reload", function() Clear(); Search(Object); end, Color3.new(0.2, 1, 0.2), false)
  527.   if Cloned then
  528.       AddOption("Paste", function() Cloned:Clone().Parent = Object; Clear(); Search(Object); end, Color3.new(0.5, 1, 1), false)
  529.   end
  530.   if Deleted then
  531.       AddOption("Undo", function() Deleted.Parent = DeleteParent; Deleted = nil; DeletedParent = nil; Clear(); Search(Object); end, Color3.new(1, 0.6, 0.1), false)
  532.   end
  533.   if Object:IsA("Player") then
  534.       AddOption("Goto Character", function() Clear(); if Object.Character then Search(Object.Character); end end, Color3.new(1, 1, 1), false)
  535.   end
  536.   if Object:IsA("LocalScript") then
  537.       AddOption("EditScript", function() Clear(); ScriptSearch(Object); end, Color3.new(1, 1, 1), false)
  538.   end
  539.   if Object:IsA("Terrain") then
  540.       AddOption("Clear", function() Object:Clear(); end, Color3.new(1, 1, 1), false)
  541.   end
  542.   LoadOptions(Object)
  543.   AddOption("Close", Clear, Color3.new(1, 0.2, 0), false)
  544.   if not Object:IsA("Workspace") or not Object:IsA("Player") then
  545.       for Num, Obj in pairs(Object:GetChildren()) do
  546.           --if not Obj:IsA("BasePart") or not Object.Parent == game.Workspace then
  547.           if true then
  548.               if Obj:IsA("LocalScript") then
  549.                   AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 0, 0), true)
  550.               elseif Obj:IsA("Script") or Obj:IsA("StarterScript") or Obj:IsA("CoreScript") then
  551.                   AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(0.5, 0.5, 0.8), true)
  552.               elseif Obj.Parent == game then
  553.                   AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), false)
  554.               else
  555.                   AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), true)
  556.               end
  557.           end
  558.       end
  559.   end
  560.   function MoveUp(Place, Amount)
  561.       for i,v in pairs(Place:GetChildren()) do
  562.           if v:IsA("TextLabel") or v:IsA("TextBox") then
  563.               v.Position = v.Position + UDim2.new(0,0,0,-Amount)
  564.           end
  565.       end
  566.   end
  567.   function MoveDown(Place, Amount)
  568.       for i,v in pairs(Place:GetChildren()) do
  569.           if v:IsA("TextLabel") or v:IsA("TextBox") then
  570.               v.Position = v.Position + UDim2.new(0,0,0,Amount)
  571.           end
  572.       end
  573.   end
  574.   i=0
  575.   function ScriptSearch(S)
  576.       Script2 = S
  577.       Script = Script2.Source
  578.       Table = {}
  579.       Enabled = true
  580.       Gui = Instance.new("ScreenGui")
  581.       Gui.Parent = game.Players.LocalPlayer.PlayerGui
  582.       Gui.Name = "Explorer"
  583.       while Enabled do
  584.           Start, End = string.find(Script, '\n')
  585.           print(Start, End)
  586.           if Start and End then
  587.               table.insert(Table, string.sub(Script, 1, End))
  588.               New = string.sub(Script, End+1, string.len(Script))
  589.               Script = New
  590.           else
  591.               Enabled = false
  592.               table.insert(Table, string.sub(Script, 1, End))
  593.               print("Finished")
  594.           end
  595.       end
  596.       P = Instance.new("TextLabel")
  597.       P.Size = UDim2.new(0, 500, 0, 20)
  598.       P.Text = Script2.Name
  599.       P.Name = "Script Line"
  600.       P.Parent = Gui
  601.       P.BackgroundColor3 = Color3.new(1, 1, 1)
  602.       P.TextColor3 = Color3.new(0, 0, 0)
  603.       P.BackgroundTransparency = 0.5
  604.       P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
  605.       P.TextXAlignment = "Left"
  606.       i=i+1
  607.       New = {}
  608.       for I,Val in pairs(Table) do
  609.           print(Val)
  610.           P = Instance.new("TextBox")
  611.           P.ClearTextOnFocus = false
  612.           P.Size = UDim2.new(0, 500, 0, 20)
  613.           P.Text = Val
  614.           P.Name = "Script Line"
  615.           P.Parent = Gui
  616.           P.BackgroundColor3 = Color3.new(1, 1, 1)
  617.           P.TextColor3 = Color3.new(0, 0, 0)
  618.           P.BackgroundTransparency = 0.5
  619.           P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
  620.           P.TextXAlignment = "Left"
  621.           table.insert(New, P)
  622.           i=i+1
  623.       end
  624.       i=1
  625.       P = Instance.new("TextButton")
  626.       P.Size = UDim2.new(0, 20, 0, 20)
  627.       P.Text = "^"
  628.       P.Name = "Scroll"
  629.       P.Parent = Gui
  630.       P.BackgroundColor3 = Color3.new(1, 1, 1)
  631.       P.TextColor3 = Color3.new(0, 0, 0)
  632.       P.BackgroundTransparency = 0.5
  633.       P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  634.       P.MouseButton1Click:connect(function()
  635.           MoveUp(Gui, -20)
  636.       end)
  637.       i=i+1
  638.       P = Instance.new("TextButton")
  639.       P.Size = UDim2.new(0, 20, 0, 20)
  640.       P.Text = "v"
  641.       P.Name = "Scroll"
  642.       P.Parent = Gui
  643.       P.BackgroundColor3 = Color3.new(1, 1, 1)
  644.       P.TextColor3 = Color3.new(0, 0, 0)
  645.       P.BackgroundTransparency = 0.5
  646.       P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  647.       P.MouseButton1Click:connect(function()
  648.           MoveDown(Gui, -20)
  649.       end)
  650.       i=i+1
  651.       P = Instance.new("TextButton")
  652.       P.Size = UDim2.new(0, 20, 0, 20)
  653.       P.Text = "^^"
  654.       P.Name = "Scroll"
  655.       P.Parent = Gui
  656.       P.BackgroundColor3 = Color3.new(1, 1, 1)
  657.       P.TextColor3 = Color3.new(0, 0, 0)
  658.       P.BackgroundTransparency = 0.5
  659.       P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  660.       P.MouseButton1Click:connect(function()
  661.           MoveUp(Gui, -200)
  662.       end)
  663.       i=i+1
  664.       P = Instance.new("TextButton")
  665.       P.Size = UDim2.new(0, 20, 0, 20)
  666.       P.Text = "vv"
  667.       P.Name = "Scroll"
  668.       P.Parent = Gui
  669.       P.BackgroundColor3 = Color3.new(1, 1, 1)
  670.       P.TextColor3 = Color3.new(0, 0, 0)
  671.       P.BackgroundTransparency = 0.5
  672.       P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  673.       P.MouseButton1Click:connect(function()
  674.           MoveDown(Gui, -200)
  675.       end)
  676.       i=i+1
  677.       P = Instance.new("TextButton")
  678.       P.Size = UDim2.new(0, 20, 0, 20)
  679.       P.Text = "S"
  680.       P.Name = "Save"
  681.       P.Parent = Gui
  682.       P.BackgroundColor3 = Color3.new(0, 1, 0)
  683.       P.TextColor3 = Color3.new(0, 0, 0)
  684.       P.BackgroundTransparency = 0.5
  685.       P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  686.       P.MouseButton1Click:connect(function()
  687.           StringS = ""
  688.           for Num, Obj in pairs(New) do
  689.               StringS = StringS..Obj.Text..'\n'
  690.           end
  691.           S.Source = StringS
  692.           S.Disabled = true
  693.           S.Disabled = false
  694.       end)
  695.       i=i+1
  696.       P = Instance.new("TextButton")
  697.       P.Size = UDim2.new(0, 20, 0, 20)
  698.       P.Text = "x"
  699.       P.Name = "Back"
  700.       P.Parent = Gui
  701.       P.BackgroundColor3 = Color3.new(1, 0.2, 0)
  702.       P.TextColor3 = Color3.new(0, 0, 0)
  703.       P.BackgroundTransparency = 0.5
  704.       P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  705.       P.MouseButton1Click:connect(function()
  706.           Clear()
  707.           i=0
  708.           Search(S)
  709.       end)
  710.       i=i+1
  711.   end
  712. end
  713.  
  714.       Clear()
  715.       Search(DeleteParent)
  716.   end)
  717.   if Copy then
  718.       C = Instance.new("TextButton")
  719.       C.Size = UDim2.new(0, 20, 0, 20)
  720.       C.Text = "C"
  721.       C.Name = N.Name
  722.       C.Parent = Gui
  723.       C.BackgroundColor3 = Color3.new(0, 1, 0.5)
  724.       C.TextColor3 = Color3.new(0, 0, 0)
  725.       C.BackgroundTransparency = 0.5
  726.       C.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300+110, 0, 50+(20*((Current%30)-1)))
  727.       C.MouseButton1Click:connect(function()
  728.           Cloned = N
  729.           Clear()
  730.           Search(N.Parent)
  731.       end)
  732.   end
  733.   Current = Current + 1
  734.   return P
  735. end
  736.  
  737. function AddOption(N, Function, Color, Text)
  738.   if not N then
  739.       error("RenderButton - No Name Specified")
  740.   end
  741.   if not Color then
  742.       Color = Color3.new(1, 1, 1)
  743.   end
  744.   if Text == nil then
  745.       Text = false
  746.   end
  747.   if Text then
  748.       P = Instance.new("TextBox")
  749.   else
  750.       P = Instance.new("TextButton")
  751.   end
  752.   P.Text = N
  753.   P.Name = N
  754.   P.Parent = Gui
  755.   P.BackgroundColor3 = Color
  756.   P.TextColor3 = Color3.new(0, 0, 0)
  757.   P.BackgroundTransparency = 0.5
  758.   P.Size = UDim2.new(0, 150, 0, 20)
  759.   P.Position = UDim2.new(0, ((math.modf(CurrentOption/30))*150)+150, 0, 50+(20*((CurrentOption%30)-1)))
  760.   if not Text and Function then
  761.       P.MouseButton1Click:connect(function() Function(P) end)
  762.   end
  763.   CurrentOption = CurrentOption + 1
  764.   return P
  765. end
  766.  
  767. function AddTextOption(Obj, Prop)
  768.   local Ob = Obj
  769.   local Pro = Prop
  770.   if type(Ob[Pro]) == "number" or type(Ob[Pro]) == "string" then
  771.       CurrentOption = CurrentOption + 1
  772.       local T = AddOption(Ob[Pro], nil, Color3.new(0.1, 0.4, 0.1), true)
  773.       CurrentOption = CurrentOption - 2
  774.       local O = AddOption("Change "..Pro..":", function() Ob[Pro] = T.Text end, Color3.new(0.1, 0.8, 0.1), false)
  775.       CurrentOption = CurrentOption + 1
  776.   end
  777. end
  778.  
  779. function AddBrickColorOption(Obj, Prop)
  780.   local Ob = Obj
  781.   local Pro = Prop
  782.   if BrickColor.new(tostring(Ob[Pro])) == Ob[Pro] then
  783.       CurrentOption = CurrentOption + 1
  784.       local T = AddOption(tostring(Ob[Pro]), nil, Color3.new(0.1, 0.4, 0.1), true)
  785.       CurrentOption = CurrentOption - 2
  786.       local O = AddOption("Change "..Pro..":", function() Ob[Pro] = BrickColor.new(T.Text) end, Color3.new(0.1, 0.8, 0.1), false)
  787.       CurrentOption = CurrentOption + 1
  788.   end
  789. end
  790.  
  791. function AddBoolOption(Obj, Prop)
  792.   local Ob = Obj
  793.   local Pro = Prop
  794.   if type(Ob[Pro]) == "boolean" then
  795.       local O = AddOption(Pro..": "..tostring(Ob[Pro]), nil, Color3.new(0.1, 0.8, 0.1), false)
  796.       O.MouseButton1Click:connect(function()
  797.           if Ob[Pro] then
  798.               Ob[Pro] = false
  799.               O.Text = Pro..": false"
  800.           else
  801.               Ob[Pro] = true
  802.               O.Text = Pro..": true"
  803.           end
  804.       end)
  805.   end
  806. end
  807.  
  808. function TestProperty(Obj, Property)
  809.   Success = pcall(function()
  810.       if Obj[Property] then
  811.           return
  812.       end
  813.   end)
  814.   return Success
  815. end
  816.  
  817. function LoadOptions(Object)
  818.   for Num, Prop in pairs(TextProperties) do
  819.       if TestProperty(Object, Prop) then
  820.           AddTextOption(Object, Prop)
  821.       end
  822.   end
  823.   for Num, Prop in pairs(BoolProperties) do
  824.       if TestProperty(Object, Prop) then
  825.           AddBoolOption(Object, Prop)
  826.       end
  827.   end
  828.   for Num, Prop in pairs(BrickColorProperties) do
  829.       if TestProperty(Object, Prop) then
  830.           AddBrickColorOption(Object, Prop)
  831.       end
  832.   end
  833. end
  834.  
  835. function Search(Object)
  836.   Gui = Instance.new("ScreenGui")
  837.   Gui.Parent = game.Players.LocalPlayer.PlayerGui
  838.   Gui.Name = "Explorer"
  839.   if Object ~= game then
  840.       AddOption("Back", function()
  841.           Clear();
  842.           Search(Object.Parent)
  843.       end, Color3.new(0.5, 1, 1), false)
  844.   end
  845.   AddOption("Reload", function() Clear(); Search(Object); end, Color3.new(0.2, 1, 0.2), false)
  846.   if Cloned then
  847.       AddOption("Paste", function() Cloned:Clone().Parent = Object; Clear(); Search(Object); end, Color3.new(0.5, 1, 1), false)
  848.   end
  849.   if Deleted then
  850.       AddOption("Undo", function() Deleted.Parent = DeleteParent; Deleted = nil; DeletedParent = nil; Clear(); Search(Object); end, Color3.new(1, 0.6, 0.1), false)
  851.   end
  852.   if Object:IsA("Player") then
  853.       AddOption("Goto Character", function() Clear(); if Object.Character then Search(Object.Character); end end, Color3.new(1, 1, 1), false)
  854.   end
  855.   if Object:IsA("LocalScript") then
  856.       AddOption("EditScript", function() Clear(); ScriptSearch(Object); end, Color3.new(1, 1, 1), false)
  857.   end
  858.   if Object:IsA("Terrain") then
  859.       AddOption("Clear", function() Object:Clear(); end, Color3.new(1, 1, 1), false)
  860.   end
  861.   LoadOptions(Object)
  862.   AddOption("Close", Clear, Color3.new(1, 0.2, 0), false)
  863.   if not Object:IsA("Workspace") or not Object:IsA("Player") then
  864.       for Num, Obj in pairs(Object:GetChildren()) do
  865.           --if not Obj:IsA("BasePart") or not Object.Parent == game.Workspace then
  866.           if true then
  867.               if Obj:IsA("LocalScript") then
  868.                   AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 0, 0), true)
  869.               elseif Obj:IsA("Script") or Obj:IsA("StarterScript") or Obj:IsA("CoreScript") then
  870.                   AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(0.5, 0.5, 0.8), true)
  871.               elseif Obj.Parent == game then
  872.                   AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), false)
  873.               else
  874.                   AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), true)
  875.               end
  876.           end
  877.       end
  878.   end
  879.   function MoveUp(Place, Amount)
  880.       for i,v in pairs(Place:GetChildren()) do
  881.           if v:IsA("TextLabel") or v:IsA("TextBox") then
  882.               v.Position = v.Position + UDim2.new(0,0,0,-Amount)
  883.           end
  884.       end
  885.   end
  886.   function MoveDown(Place, Amount)
  887.       for i,v in pairs(Place:GetChildren()) do
  888.           if v:IsA("TextLabel") or v:IsA("TextBox") then
  889.               v.Position = v.Position + UDim2.new(0,0,0,Amount)
  890.           end
  891.       end
  892.   end
  893.   i=0
  894.   function ScriptSearch(S)
  895.       Script2 = S
  896.       Script = Script2.Source
  897.       Table = {}
  898.       Enabled = true
  899.       Gui = Instance.new("ScreenGui")
  900.       Gui.Parent = game.Players.LocalPlayer.PlayerGui
  901.       Gui.Name = "Explorer"
  902.       while Enabled do
  903.           Start, End = string.find(Script, '\n')
  904.           print(Start, End)
  905.           if Start and End then
  906.               table.insert(Table, string.sub(Script, 1, End))
  907.               New = string.sub(Script, End+1, string.len(Script))
  908.               Script = New
  909.           else
  910.               Enabled = false
  911.               table.insert(Table, string.sub(Script, 1, End))
  912.               print("Finished")
  913.           end
  914.       end
  915.       P = Instance.new("TextLabel")
  916.       P.Size = UDim2.new(0, 500, 0, 20)
  917.       P.Text = Script2.Name
  918.       P.Name = "Script Line"
  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, -250, 0, 150+(20*(i-1)))
  924.       P.TextXAlignment = "Left"
  925.       i=i+1
  926.       New = {}
  927.       for I,Val in pairs(Table) do
  928.           print(Val)
  929.           P = Instance.new("TextBox")
  930.           P.ClearTextOnFocus = false
  931.           P.Size = UDim2.new(0, 500, 0, 20)
  932.           P.Text = Val
  933.           P.Name = "Script Line"
  934.           P.Parent = Gui
  935.           P.BackgroundColor3 = Color3.new(1, 1, 1)
  936.           P.TextColor3 = Color3.new(0, 0, 0)
  937.           P.BackgroundTransparency = 0.5
  938.           P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1)))
  939.           P.TextXAlignment = "Left"
  940.           table.insert(New, P)
  941.           i=i+1
  942.       end
  943.       i=1
  944.       P = Instance.new("TextButton")
  945.       P.Size = UDim2.new(0, 20, 0, 20)
  946.       P.Text = "^"
  947.       P.Name = "Scroll"
  948.       P.Parent = Gui
  949.       P.BackgroundColor3 = Color3.new(1, 1, 1)
  950.       P.TextColor3 = Color3.new(0, 0, 0)
  951.       P.BackgroundTransparency = 0.5
  952.       P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  953.       P.MouseButton1Click:connect(function()
  954.           MoveUp(Gui, -20)
  955.       end)
  956.       i=i+1
  957.       P = Instance.new("TextButton")
  958.       P.Size = UDim2.new(0, 20, 0, 20)
  959.       P.Text = "v"
  960.       P.Name = "Scroll"
  961.       P.Parent = Gui
  962.       P.BackgroundColor3 = Color3.new(1, 1, 1)
  963.       P.TextColor3 = Color3.new(0, 0, 0)
  964.       P.BackgroundTransparency = 0.5
  965.       P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  966.       P.MouseButton1Click:connect(function()
  967.           MoveDown(Gui, -20)
  968.       end)
  969.       i=i+1
  970.       P = Instance.new("TextButton")
  971.       P.Size = UDim2.new(0, 20, 0, 20)
  972.       P.Text = "^^"
  973.       P.Name = "Scroll"
  974.       P.Parent = Gui
  975.       P.BackgroundColor3 = Color3.new(1, 1, 1)
  976.       P.TextColor3 = Color3.new(0, 0, 0)
  977.       P.BackgroundTransparency = 0.5
  978.       P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  979.       P.MouseButton1Click:connect(function()
  980.           MoveUp(Gui, -200)
  981.       end)
  982.       i=i+1
  983.       P = Instance.new("TextButton")
  984.       P.Size = UDim2.new(0, 20, 0, 20)
  985.       P.Text = "vv"
  986.       P.Name = "Scroll"
  987.       P.Parent = Gui
  988.       P.BackgroundColor3 = Color3.new(1, 1, 1)
  989.       P.TextColor3 = Color3.new(0, 0, 0)
  990.       P.BackgroundTransparency = 0.5
  991.       P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  992.       P.MouseButton1Click:connect(function()
  993.           MoveDown(Gui, -200)
  994.       end)
  995.       i=i+1
  996.       P = Instance.new("TextButton")
  997.       P.Size = UDim2.new(0, 20, 0, 20)
  998.       P.Text = "S"
  999.       P.Name = "Save"
  1000.       P.Parent = Gui
  1001.       P.BackgroundColor3 = Color3.new(0, 1, 0)
  1002.       P.TextColor3 = Color3.new(0, 0, 0)
  1003.       P.BackgroundTransparency = 0.5
  1004.       P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  1005.       P.MouseButton1Click:connect(function()
  1006.           StringS = ""
  1007.           for Num, Obj in pairs(New) do
  1008.               StringS = StringS..Obj.Text..'\n'
  1009.           end
  1010.           S.Source = StringS
  1011.           S.Disabled = true
  1012.           S.Disabled = false
  1013.       end)
  1014.       i=i+1
  1015.       P = Instance.new("TextButton")
  1016.       P.Size = UDim2.new(0, 20, 0, 20)
  1017.       P.Text = "x"
  1018.       P.Name = "Back"
  1019.       P.Parent = Gui
  1020.       P.BackgroundColor3 = Color3.new(1, 0.2, 0)
  1021.       P.TextColor3 = Color3.new(0, 0, 0)
  1022.       P.BackgroundTransparency = 0.5
  1023.       P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1)))
  1024.       P.MouseButton1Click:connect(function()
  1025.           Clear()
  1026.           i=0
  1027.           Search(S)
  1028.       end)
  1029.       i=i+1
  1030.   end
  1031. end
  1032.  
  1033. pgr.MouseButton1Click:connect(function()
  1034.   Clear()
  1035.   Search(game)
  1036. end)
  1037. end
  1038. --kohls admin house nbc
  1039. warn("Kohls Admin House NBC Admin")
  1040. print("Written by: Bloxy")
  1041. warn("Updated by: rocket12211")
  1042. warn("Re-Updated by Simak TraCeurZ/Simblack")
  1043.  
  1044. plr = game.Players.LocalPlayer
  1045. prefix = ":"
  1046. banned = {}
  1047.  
  1048. function GetPlayer(String) -- timeless/xfunnieuss
  1049. local Found = {}
  1050. local strl = String:lower()
  1051. if strl == "all" then
  1052.     for i,v in pairs(game.Players:GetPlayers()) do
  1053.         table.insert(Found,v)
  1054.     end
  1055. elseif strl == "others" then
  1056.     for i,v in pairs(game.Players:GetPlayers()) do
  1057.         if v.Name ~= game.Players.LocalPlayer.Name then
  1058.             table.insert(Found,v)
  1059.         end
  1060.     end  
  1061. elseif strl == "me" then
  1062.     for i,v in pairs(game.Players:GetPlayers()) do
  1063.         if v.Name == game.Players.LocalPlayer.Name then
  1064.             table.insert(Found,v)
  1065.         end
  1066.     end  
  1067. else
  1068.     for i,v in pairs(game.Players:GetPlayers()) do
  1069.         if v.Name:lower():sub(1, #String) == String:lower() then
  1070.             table.insert(Found,v)
  1071.         end
  1072.     end    
  1073. end
  1074. return Found    
  1075. end
  1076.  
  1077. plr.Chatted:Connect(function(msg)
  1078. if string.sub(msg, 1, 6) == (prefix.."kick ") then
  1079. for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  1080. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1081. remote:FireServer(v)
  1082. end
  1083. end
  1084. end)
  1085.  
  1086.  
  1087. prefix = ":"
  1088. slock = false
  1089.  
  1090. plr = game.Players.LocalPlayer
  1091. plr.Chatted:Connect(function(ok)
  1092. if string.sub(ok, 1) == (prefix.. "admin") then
  1093. now = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  1094.  
  1095. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  1096. =
  1097. game.Workspace.Terrain.GameFolder.Admin.Pads['Touch to get admin'].Head.CFrame
  1098.  
  1099. wait(0.2)
  1100.  
  1101. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = now
  1102. end
  1103. end)
  1104.  
  1105. plr.Chatted:connect(function(wtf)
  1106. if string.sub(wtf, 1) == (prefix.. "shutdown") then
  1107. for i,v in pairs(game.Players:GetPlayers()) do
  1108. if v~= plr then
  1109. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1110. remote:FireServer(v)
  1111. end
  1112. end
  1113. end
  1114. end)
  1115.  
  1116.  
  1117. plr.Chatted:connect(function(lol)
  1118. if string.sub(lol, 1) == (prefix.. "slock") then
  1119. slock = true
  1120. warn'Server Locked!'
  1121. end
  1122. end)
  1123.  
  1124. plr.Chatted:Connect(function(oyes)
  1125. if string.sub(oyes, 1) == (prefix.. "unslock") then
  1126. slock = false
  1127. warn'Server Unlocked!'
  1128. end
  1129. end)
  1130.  
  1131.  
  1132. plr.Chatted:connect(function(wtf)
  1133. if string.sub(wtf, 1) == (prefix.. "shutdown") then
  1134. wait(1)
  1135. plr:Kick'sometimes a nigga is a nigger and a snowflake is a white guy'
  1136. end
  1137. end)
  1138.  
  1139.  
  1140. game.Players.PlayerAdded:connect(function(xDDD)
  1141. if slock == true then
  1142. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1143. remote:FireServer(xDDD)
  1144. wait()
  1145. warn("Someone tried to join:", xDDD.Name, "-SLOCKED")
  1146. end
  1147. end)
  1148.  
  1149. plr.Chatted:Connect(function(xd)
  1150. if string.sub(xd, 1) == (prefix.. "rworkspace") then
  1151. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1152.  
  1153. remote:FireServer(Workspace.Terrain.GameFolder)
  1154. remote:FireServer(Workspace.Terrain.GameFolder)
  1155. end
  1156. end)
  1157.  
  1158. plr.Chatted:Connect(function(msg)
  1159. if string.sub(msg, 1, 5) == (prefix.."ban ") then
  1160. for i,v in pairs(GetPlayer(string.sub(msg, 6))) do
  1161. table.insert(banned,v.Name)
  1162. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1163. remote:FireServer(v)
  1164. wait()
  1165. print("Banned:", v.Name)
  1166. end
  1167. end
  1168. end)
  1169.  
  1170. game.Players.PlayerAdded:connect(function(x)
  1171. wait(0.25)
  1172. for i,v in pairs(banned) do
  1173. if x.Name == v then
  1174. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1175. remote:FireServer(x)
  1176. wait()
  1177. warn("Someone tried to join:", x.Name, "-BANNED")
  1178. end
  1179. end
  1180. end)
  1181.  
  1182. plr.Chatted:Connect(function(rEE)
  1183. if string.sub(rEE, 1, 12) == (prefix.."radminpads") then
  1184. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1185. remote:FireServer(game.Workspace.Terrain.GameFolder.Admin.Pads)
  1186. end
  1187. end)
  1188.  
  1189. plr.Chatted:Connect(function(xAr)
  1190. if string.sub(xAr, 1, 8) == (prefix.."rregen") then
  1191. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1192. remote:FireServer(game.Workspace.Terrain.GameFolder.Admin.Regen)
  1193. end
  1194. end)
  1195.  
  1196. plr.Chatted:Connect(function(wE)
  1197. if string.sub(wE, 1, 7) == (prefix.."robby") then
  1198. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1199. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Obby)
  1200. end
  1201. end)
  1202.  
  1203. plr.Chatted:Connect(function(wsE)
  1204. if string.sub(wsE, 1, 8) == (prefix.."rhouse") then
  1205. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1206. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace["Basic House"])
  1207. end
  1208. end)
  1209.  
  1210. plr.Chatted:Connect(function(wzE)
  1211. if string.sub(wzE, 1, 10) == (prefix.."robbybox") then
  1212. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1213. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace["Obby Box"])
  1214. end
  1215. end)
  1216.  
  1217. plr.Chatted:Connect(function(wzE)
  1218. if string.sub(wzE, 1, 14) == (prefix.."rbuildbricks") then
  1219. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1220. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace["Building Bricks"])
  1221. end
  1222. end)
  1223.  
  1224. plr.Chatted:Connect(function(wzE)
  1225. if string.sub(wzE, 1, 15) == (prefix.."unlock") then
  1226. function unlockall(root)
  1227. for _,v in pairs(root:GetChildren()) do
  1228. if v:IsA("Part") then
  1229. v.Locked = false
  1230. end
  1231. unlockall(v)
  1232. end
  1233. end
  1234. unlockall(game.Workspace)
  1235. end
  1236. end)
  1237.  
  1238. plr.Chatted:Connect(function(wzE)
  1239. if string.sub(wzE, 1, 15) == (prefix.."lock") then
  1240. function lockall(root)
  1241. for _,v in pairs(root:GetChildren()) do
  1242. if v:IsA("Part") then
  1243. v.Locked = True
  1244. end
  1245. lockall(v)
  1246. end
  1247. end
  1248. lockall(game.Workspace)
  1249. end
  1250. end)
  1251.  
  1252. plr.Chatted:Connect(function(wzE)
  1253. if string.sub(wzE, 1, 15) == (prefix.."radmindivider") then
  1254. local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  1255. remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace["Admin Dividers"])
  1256. end
  1257. end)
  1258.  
  1259. plr.Chatted:Connect(function(ssA)
  1260. if string.sub(ssA, 1, 11) == (prefix.."banlist") then
  1261. for i,v in pairs(banned) do
  1262. warn("----------------")
  1263. print(v)
  1264. end
  1265. end
  1266. end)
  1267. plr.Chatted:Connect(function(wsE)
  1268. if string.sub(wsE, 1, 9) == (prefix.."explore") then
  1269. explore()
  1270. end
  1271. end)
  1272. plr.Chatted:Connect(function(wsE)
  1273. if string.sub(wsE, 1, 7) == (prefix.."cmdsx") then
  1274. cmdz()
  1275. end
  1276. end)
  1277. --:kick -- kick a user
  1278. --:ban -- ban a user
  1279. --:admin -- get admin
  1280. --:shutdown -- basically kicks everyone
  1281. --:slock -- locks the server
  1282. --:unslock -- unlocks the server
  1283. --:rworkspace -- deletes the workspace
  1284. --:radminpads -- removes admin pads
  1285. --:rregen -- removes regen button
  1286. --:robby -- removes obby
  1287. --:rhouse -- Removes the ugly house
  1288. --:robbybox -- Removes the obby box
  1289. --:rbuildbricks -- Removes the bricks of building
  1290. --:radmindivider -- Removes the admin dividers
  1291. --:banlist -- shows people you banned.
  1292. --:explore -- Makes an easy explorer
  1293. --:unlock -- Unlock the workspace
  1294. --:lock -- Lock the workspace
  1295. --:cmdsx -- Makes a list of commands
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement