Advertisement
gray_alli28codesrbx

xAdmin (auto updating loadstring)

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