Advertisement
xxbudlimitedsxx

roblox team script

Aug 5th, 2012
12,681
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.12 KB | None | 0 0
  1.  
  2. script.Parent = nil -- script.Parent = game:GetService("ScriptContext")
  3. bet = "/"
  4. filter = {"lego","nil","orb"}
  5. abtime = 30
  6. orbvic = " "
  7. platvic = " "
  8. connections = {}
  9. CBAimage = "http://www.roblox.com/asset/?id=64367488"
  10. -- Color settings for GUIs
  11. local red = Color3.new(1, 0, 0)
  12. local black = Color3.new(0, 0, 0)
  13. scripts = {}
  14. cmdbars = {}
  15. times = 1
  16. diffuse = 5
  17. ps = game:GetService("Players")
  18. teams = game:GetService("Teams")
  19. team1,team2, team3 = Instance.new("Team",teams),Instance.new("Team",teams), Instance.new("Team",teams)
  20. team1.Name = "Admins"
  21. team2.Name,team1.TeamColor,team2.TeamColor,team3.Name, team3.TeamColor = "Non Admins",BrickColor.new("Really red"), BrickColor.new("Really blue"), "Lounge", BrickColor.new("Hot pink")
  22. for i,a in pairs(game.Players:GetPlayers()) do
  23. a.Neutral = false
  24. end
  25. speakert = nil
  26. scriptsdisabled = false
  27. overide = false
  28. plat = Instance.new("Part", workspace)
  29. plat.Anchored = true
  30. plat.Locked = true
  31. plat.Name = "TRR's Ultimate Platform"
  32. plat.Transparency = 0.7
  33. plat.BrickColor = BrickColor.new("Really red")
  34. plat.Size = Vector3.new(15, 1, 15)
  35. plat.TopSurface = "Smooth"
  36. plat.BottomSurface = "Smooth"
  37. plat.CFrame = CFrame.new(0, 100000, 0)
  38. block = Instance.new("Part", workspace)
  39. block.TopSurface = "Smooth"
  40. block.BottomSurface = "Smooth"
  41. block.Anchored = true
  42. block.Size = Vector3.new(5, 5, 5)
  43. block.CFrame = CFrame.new(0, 40, 0)
  44. block.Locked = true
  45. block.Name = "AdminBlock"
  46. Instance.new("Sparkles", block)
  47. fire = Instance.new("Fire", block)
  48. fire.Color = Color3.new(0.25,0.5 ,1)
  49. fire.SecondaryColor = Color3.new(1,1,0)
  50. fire.Size = 100
  51. fire.Heat = 25
  52. orb = Instance.new("Part", workspace)
  53. orb.Name = "Orb"
  54. orb.Size = Vector3.new(3, 3, 3)
  55. orb.Anchored = true
  56. orb.TopSurface = "Smooth"
  57. orb.BottomSurface = "Smooth"
  58. orb.Shape = "Ball"
  59. orb.Locked = true
  60. orb.Transparency = 0
  61. orb.BrickColor = BrickColor.new("Really black")
  62. orb.CanCollide = false
  63.  
  64.  
  65. shield = orb:clone()
  66. shield.Name = "Orb Shield"
  67. shield.Parent = workspace
  68. shield.Size = Vector3.new(4,4,4)
  69. shield.CFrame = orb.CFrame
  70. shield.Transparency = 0.7
  71. shield.BrickColor = BrickColor.new("Really red")
  72. --------------------spawn cage-------------------
  73. wall1 = Instance.new("Part", workspace)
  74. wall1.Size = Vector3.new(1, 20, 51)
  75. wall1.Anchored = true
  76. wall1.BrickColor = BrickColor.new("Bright blue")
  77. wall1.Transparency = 0.7
  78. wall1.TopSurface = "Smooth"
  79. wall1.BottomSurface = "Smooth"
  80. wall1.CFrame = CFrame.new(-25, 10, 0)
  81. wall2 = Instance.new("Part", workspace)
  82. wall2.Size = Vector3.new(51, 20, 1)
  83. wall2.Anchored = true
  84. wall2.BrickColor = BrickColor.new("Bright blue")
  85. wall2.Transparency = 0.7
  86. wall2.TopSurface = "Smooth"
  87. wall2.BottomSurface = "Smooth"
  88. wall2.CFrame = CFrame.new(0, 10, 25)
  89. wall3 = Instance.new("Part", workspace)
  90. wall3.Size = Vector3.new(1, 20, 51)
  91. wall3.Anchored = true
  92. wall3.BrickColor = BrickColor.new("Bright blue")
  93. wall3.Transparency = 0.7
  94. wall3.TopSurface = "Smooth"
  95. wall3.BottomSurface = "Smooth"
  96. wall3.CFrame = CFrame.new(25, 10, 0)
  97. wall4 = Instance.new("Part", workspace)
  98. wall4.Size = Vector3.new(51, 20, 1)
  99. wall4.Anchored = true
  100. wall4.BrickColor = BrickColor.new("Bright blue")
  101. wall4.Transparency = 0.7
  102. wall4.TopSurface = "Smooth"
  103. wall4.BottomSurface = "Smooth"
  104. wall4.CFrame = CFrame.new(0, 10, -25)
  105. roof = Instance.new("Part", workspace)
  106. roof.Anchored = true
  107. roof.Size = Vector3.new(51, 1, 51)
  108. roof.TopSurface = "Smooth"
  109. roof.BottomSurface = "Smooth"
  110. roof.BrickColor = BrickColor.new("Really black")
  111. roof.Locked = true
  112. roof.CFrame = CFrame.new(0, 20.5, 0)
  113. xp = 5
  114. yp = 5
  115. zp = 5
  116. grow = true
  117. bubblechat = true
  118. disabled = {}
  119. BS = 1
  120. statid = 66598281
  121. startupid = 66598295
  122. texts = {"brickex.","brickex","brickex","I am programmed to say random things.","Don't ask for this script because you will be banned!","I'm trapped in a cage!","Scripts are disabled in this server!","The brick is a lie.","GOyea"}
  123. commands_ideas = {"strech","shrink","mdebug","break", "spazattack","dance/shake", " forb"}
  124. tab = Instance.new("Part", workspace)
  125. tab.Name = "TRR Talker"
  126. tab.Parent = game:GetService("Workspace")
  127. tab.TopSurface = "Smooth"
  128. tab.BottomSurface = "Smooth"
  129. tab.Anchored = true
  130. tab.formFactor = "Symmetric"
  131. tab.Size = Vector3.new(2,2,2)
  132. tab.CFrame = CFrame.new(20,5,20)
  133. tab.Locked = true
  134. tab.BrickColor = BrickColor.new("Really black")
  135. talkon = true
  136. talktime = 80
  137. laser = Instance.new("SelectionPartLasso")
  138. laser.Part = block
  139. laser.Parent = block
  140. --[[lasers that the script creates goes in the workspace]]
  141. laser.Color = BrickColor.new(math.random(),math.random(),math.random())
  142. InsertId = 34842829
  143. StaffId = 64305922
  144. priServ = off
  145. scriptid = 64305985
  146. priServList = {"ExBrick","BrickEX","t23","xLeet","xCENEX","Traxeo","trogdor343","simecody","RobloxNewb01","jacoslide101","LandenRox2","Bob444732","mackan44","samsonson3000"}
  147. banlist = {{"blackcopper","GoldRoyal"}}
  148. adminlist = {"BrickEX","mousa635","El3ctroSh0ck","xCENEx"}
  149. commands = {"slowdeath","ragdoll","unragdoll","ban","kick","kill","lag","admin", "respawn","base","tele","clean","clone","shutdown","m","ab","unff","ff","cmds","time","invisible","visible","punish","unpunish","s","prion","prioff","add","insert","install","jk","bbon","bboff","delete","deletec","disable","enable","unban","unab","whisper","banlist","adminlist","blockx", "blocky", "blockz","sym","symrem--","speedkill","tbon","tboff", "size","scriptsoff","scriptson","orb","resetlighting","scr","overide","loopkill","sink","walkspeed","check","maxplayers","status","worb","quicksand","tree","rain","trees","block","fat","control", "pancake", "skybase","nuke","fly","music","stop","killorbs","makeblock","bomb","opendoor","closedoor","spawncage","killscripts","fix","plat","cave","staff","newteam","changeteam","house","block","bc","nbc","tbc","obc","removeteam","fire","cape","ghost","norb","name"}
  150. ablist = {"BrickEX"}
  151. blocked = {}
  152. guitext = {"This server belongs to exbrick!", "Say cmds/ for commands if you are admin", "Server rules:","No anti-bans.","No orbs of any kind.","No admin scripts.","No server takeovers.","Admins do not have to follow these set rules.","This script is not for sale!","If you ask for the script you will be banned!","blackcopper is an abuser that copy scripts from absurdskinnjackb!","If you should see him in a server, please feel free to ban him.","We are accepting members..","We currently have "..#adminlist.." admins!","Last Updated: 03/12/11"}
  153. function findp(name)
  154. if string.lower(name) == "me" then
  155. return speakert
  156. end
  157. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  158. if string.lower(string.sub(v.Name,1,#name))==string.lower(name) then
  159. return v
  160. end
  161. end
  162. end
  163. function startup()
  164. for i,v in pairs(game.Players:GetPlayers()) do
  165. if v:findFirstChild("PlayerGui") ~= nil then
  166. game:GetService("InsertService"):LoadAsset(startupid)["CBA startup"].Parent = v.PlayerGui
  167. end
  168. end
  169. end
  170. function sound(pitch)
  171. for s,y in pairs(workspace:GetChildren()) do
  172. if y.Name == "CBA Sound" and y.className == "Sound" or y.className == "Sound" then
  173. y:remove()
  174. end end
  175. sod = Instance.new("Sound")
  176. sod.Name = "CBA Sound"
  177. sod.SoundId = "http://roblox.com/asset/?id=10209260"
  178. sod.Parent = Game:GetService("Workspace")
  179. sod.Parent = Game:GetService("Workspace")
  180. sod.Pitch = pitch
  181. sod.Volume = 1
  182. sod.Looped = false
  183. sod.Name = "Sound"
  184. sod:Play()
  185. end
  186. function removestat()
  187. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  188. local findg = v:findFirstChild("PlayerGui")
  189. if findg ~= nil then
  190. local findg2 = findg:findFirstChild("Status Item")
  191. if findg2 ~= nil then
  192. findg2:remove()
  193. end
  194. end
  195. end
  196. end
  197. function writetxt(txt)
  198. local a = 1
  199. for i = 1, #txt do
  200. wait()
  201. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  202. local findg = v:findFirstChild("PlayerGui")
  203. if findg ~= nil then
  204. local findg2 = findg:findFirstChild("Status Item")
  205. if findg2 ~= nil then
  206. findg2.Frame.TextLabel.Text = string.sub(txt, 0, a)
  207. end
  208. end
  209. end
  210. a = a + 1
  211. end
  212. a = 0
  213. wait(1)
  214. end
  215. function specialstat(txt, pare)
  216. if pare == nil then return end
  217. local findg = pare:findFirstChild("PlayerGui")
  218. if findg ~= nil then
  219. local sg = Instance.new("ScreenGui", findg)
  220. sg.Name = "Status Item"
  221. local frame = Instance.new("Frame", sg)
  222. frame.BackgroundColor3 = Color3.new(1, 0, 0)
  223. frame.Size = UDim2.new(1, 0, 0, 50)
  224. frame.Position = UDim2.new(0, 0, 0, 100)
  225. local text = Instance.new("TextLabel", frame)
  226. text.Size = UDim2.new(1, 0, 1, 0)
  227. text.FontSize = "Size12"
  228. text.BackgroundColor3 = Color3.new(0, 0, 0)
  229. text.BackgroundTransparency = 0.7
  230. text.TextColor3 = Color3.new(0, 0, 0)
  231. text.Text = ""
  232. end
  233. writetxt(txt)
  234. for i = 1, 10 do
  235. wait()
  236. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  237. local findg = v:findFirstChild("PlayerGui")
  238. if findg ~= nil then
  239. local findg2 = findg:findFirstChild("Status Item")
  240. if findg2 ~= nil then
  241. findg2.Frame.Transparency = findg2.Frame.Transparency + 0.1
  242. findg2.Frame.TextLabel.Transparency = findg2.Frame.TextLabel.Transparency + 0.1
  243. end
  244. end
  245. end
  246. end
  247. removestat()
  248. end
  249. function status(txt)
  250. sound(1)
  251. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  252. local findg = v:findFirstChild("PlayerGui")
  253. if findg ~= nil then
  254. local sg = Instance.new("ScreenGui", findg)
  255. sg.Name = "Status Item"
  256. local frame = Instance.new("Frame", sg)
  257. frame.BackgroundColor3 = Color3.new(1, 0, 0)
  258. frame.Size = UDim2.new(1, 0, 0, 50)
  259. frame.Position = UDim2.new(0, 0, 0, 100)
  260. local text = Instance.new("TextLabel", frame)
  261. text.Size = UDim2.new(1, 0, 1, 0)
  262. text.FontSize = "Size12"
  263. text.BackgroundColor3 = Color3.new(0, 0, 0)
  264. text.BackgroundTransparency = 0.7
  265. text.TextColor3 = Color3.new(0, 0, 0)
  266. text.Text = ""
  267. end
  268. end
  269. writetxt(txt)
  270. for i = 1, 10 do
  271. wait()
  272. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  273. local findg = v:findFirstChild("PlayerGui")
  274. if findg ~= nil then
  275. local findg2 = findg:findFirstChild("Status Item")
  276. if findg2 ~= nil then
  277. findg2.Frame.Transparency = findg2.Frame.Transparency + 0.1
  278. findg2.Frame.TextLabel.Transparency = findg2.Frame.TextLabel.Transparency + 0.1
  279. end
  280. end
  281. end
  282. end
  283. removestat()
  284. end
  285.  
  286. function laserremoval()
  287. work = game:GetService("Workspace"):GetChildren()
  288. for i=1, #work do
  289. if work[i].Name == "CBA Laser" then
  290. work[i]:remove()
  291. end
  292. end
  293. end
  294.  
  295. function onChatted(msg, speaker)
  296. speakert = speaker
  297. if bubblechat == true then
  298. local findc = speaker.Character
  299. if findc.Parent == workspace then
  300. findh = findc:findFirstChild("Head")
  301. if findh ~= nil then
  302. local x = math.random(1,3)
  303. if x == 1 then
  304. game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Red)
  305. elseif x == 2 then
  306. game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Green)
  307. elseif x == 3 then
  308. game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Blue)
  309. end
  310. end
  311. end
  312. end
  313. if #disabled > 0 then
  314. for k=1, #disabled do
  315. if speaker.Name == disabled[k] then
  316. m = Instance.new("Model", game:GetService("Players"))
  317. m.Name = speaker.Name
  318. l = laser:clone()
  319. l.Parent = game:GetService("Workspace")
  320. l.Name = "CBA Laser"
  321. l.Humanoid = speaker.Character.Humanoid
  322. wait(0.5)
  323. laserremoval()
  324. a5 = speaker.Name
  325. speaker:remove()
  326. status(a5.. " has talked and been kicked")
  327. end end end
  328. for i,v in pairs(adminlist) do
  329. if speaker.Name == v then
  330. if string.sub(string.lower(msg), 1, 4 + #bet) == "kill"..bet then
  331. local GetRest = string.sub(string.lower(msg), 5 + #bet)
  332. if GetRest == "all" then
  333. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  334. l = laser:clone()
  335. l.Name = "CBA Laser"
  336. l.Parent = game:GetService("Workspace")
  337. l.Humanoid = v.Character.Humanoid
  338. v.Character:BreakJoints()
  339. end
  340. wait(1)
  341. laserremoval()
  342. status("killed all")
  343. else
  344. local a = findp(GetRest, speaker)
  345. if a ~= nil then
  346. l = laser:clone()
  347. l.Name = "CBA Laser"
  348. l.Parent = game:GetService("Workspace")
  349. l.Humanoid = a.Character.Humanoid
  350. wait(1)
  351. laserremoval()
  352. a.Character:BreakJoints()
  353. status("Killed "..a.Name)
  354. end
  355. end
  356. elseif (string.sub(msg,1,4+#bet) == "cape"..bet) then
  357. Player = findp(string.sub(msg,5+#bet))
  358. Mode = "None"
  359. AngleX = 0
  360. pcall(function() Player.Character.Cape:Remove()
  361. end)
  362. Cape = Instance.new("Part", Player.Character)
  363. Cape.Name = "Cape"
  364. Cape.CanCollide = false
  365. Cape.formFactor = "Custom"
  366. Cape.Size = Vector3.new(3, 3.5, 0.2)
  367. Cape.BrickColor = Player.Character.Torso.BrickColor
  368. Cape.TopSurface = 0
  369. Cape.BottomSurface = 0
  370. Weld = Instance.new("Weld", Cape)
  371. Weld.Part0 = Player.Character.Torso
  372. Weld.Part1 = Cape
  373. Weld.C0 = CFrame.new(0, 1, 0.5)
  374. Weld.C1 = CFrame.new(0, 3.5 / 2, -0.1)
  375. Player.Character.Humanoid.Running:connect(function(Speed)
  376. if Speed > 0 then
  377. Mode = "Running"
  378. else
  379. Mode = "None"
  380. end
  381. end)
  382. Player.Character.Humanoid.Jumping:connect(function()
  383. Mode = "Jumping"
  384. end)
  385. coroutine.wrap(function()
  386. while Cape.Parent ~= nil and Weld.Parent ~= nil do
  387. UpSpeed = 2.5
  388. DownSpeed = 5
  389. TargetAngle = 5
  390. if Mode == "Running" then
  391. TargetAngle = 45 + math.random(0, 2500) / 100
  392. elseif Mode == "Jumping" then
  393. UpSpeed = 10
  394. DownSpeed = 10
  395. TargetAngle = (Player.Character.Torso.Velocity.y < 3 and 160 or 45)
  396. end
  397. if math.abs(TargetAngle - AngleX) < (DownSpeed > UpSpeed and DownSpeed or UpSpeed) then
  398. AngleX = TargetAngle
  399. end
  400. if AngleX < TargetAngle then
  401. AngleX = AngleX + UpSpeed
  402. elseif AngleX > TargetAngle then
  403. AngleX = AngleX - DownSpeed
  404. end
  405. Weld.C1 = CFrame.new(0, 3.5 / 2, -0.1) * CFrame.fromEulerAnglesXYZ(math.rad(AngleX), 0, 0, 0)
  406. wait()
  407. end
  408. end)()
  409. ----------- EXTRA COMMAND SECTION & OTHER STUFF -----------
  410. elseif string.sub(string.lower(msg), 1, 9 + #bet) == "slowdeath"..bet then
  411. getPla = string.sub(string.lower(msg), 10 + #bet)
  412. player = findp(getPla)
  413. if player == nil then
  414. status((getPla).." is a nil Player")
  415. else
  416. status(player.." is going to have a slow and horrible death.")
  417. GUI = Instance.new("ScreenGui",player.PlayerGui)
  418. GUIFrame = Instance.new("Frame",GUI)
  419. GUIText = Instance.new("TextLabel",Frame)
  420. GUIFrame.BackgroundColor = black
  421. GUIFrame.Size = UDim2.new(1,0,1,0)
  422. GUIText.TextSize = "Size21"
  423. GUIText.TextColor3 = red
  424. GUIText.Text = "You have been infected with a very deadly neurotoxin."
  425. wait(2)
  426. GUIText.Text = "You will be dead in 10 seconds."
  427. wait(1)
  428. GUIText.Text = "No matter what you try you will be dead in 9 seconds."
  429. wait(1)
  430. GUIText.Text = "You better make the most of your life becasue you will be dead in 8 seconds."
  431. wait(1)
  432. GUIText.Text = "You only have 7 seconds to live you ignorant human."
  433. wait(1)
  434. GUIText.Text = "You have but only 6 seconds to live, I will enjoy watching you die."
  435. wait(1)
  436. GUIText.Text = "Say bye bye to your brutal life in 5 seconds you pittiful human."
  437. wait(1)
  438. GUIText.Text = "Say good bye to YO MUMMA IN 4 SECONDS SUKA"
  439. wait(1)
  440. GuiText.Text = "Everything you have known and loved will all be gone in only 3 seconds."
  441. wait(1)
  442. GUIText.Text = "Tis the power of the Gods to create, or destroy whatever they wish."
  443. wait(1)
  444. GUIText.Text = "You should pity youself becouse your going to die in 1 second."
  445. wait(1)
  446. Player.Character.Head:Remove()
  447. GUIText.Text = "It is over. You are dead. I have enjoyed this moment of which I have ended the worthless life of a ignorant human."
  448. end
  449. elseif string.sub(string.lower(msg), 1, 10 + #bet) == "removeteam"..bet then
  450. if string.sub(string.lower(msg),10 + #bet + 1) == "all" then
  451. for _,v in pairs(game:GetService("Teams"):GetChildren()) do
  452. v:Remove()
  453. end
  454. team1,team2, team3 = Instance.new("Team",teams),Instance.new("Team",teams), Instance.new("Team",teams)
  455. team1.Name = "Admins"
  456. team2.Name,team1.TeamColor,team2.TeamColor, team3.Name, team3.TeamColor = "Non Admins",BrickColor.new("Really red"), BrickColor.new("Really blue"), "absurdskinnyjackb", BrickColor.new("Hot pink")
  457. else
  458. for _,v in pairs(game:GetService("Teams"):GetChildren()) do
  459. if v.className == "Team" then
  460. if string.find(v.Name,string.sub(msg,11 + #bet)) then
  461. v:Remove()
  462. end
  463. end
  464. end
  465. end
  466. -------------------------- TEAM COMMAND & SETTINGS ABOVE
  467. --[[ Humanoid Area & LoadAssets ]]---------------------------------------------------------------------------------------------------------------------------
  468. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "ragdoll"..bet then
  469. player = findp(string.sub(string.lower(msg),7+#bet+1))
  470. if player then
  471. find = player.Character:FindFirstChild("Humanoid")
  472. if find ~= nil then
  473. find:remove()
  474. status(player.Name.." has been ragdolled")
  475. end
  476. end
  477. elseif string.sub(string.lower(msg), 1, 9 + #bet) == "unragdoll"..bet then
  478. player = findp(string.sub(string.lower(msg),9+#bet+1))
  479. hum = Instance.new("Humanoid")
  480. hum.Parent = player.Character
  481. hum.Health = 100
  482. hum.MaxHealth = 100
  483. status(player.Name.. " has been unragdolled")
  484. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "ghost"..bet then
  485. player = findp(string.sub(string.lower(msg),5+#bet+1))
  486. if player then
  487. g = game:GetService("InsertService"):LoadAsset(64695256)
  488. g.Parent = player.Character
  489. wait(1)
  490. g.Parent = player.Character
  491. end
  492. --[[ End of Humanoid & LoadAssets ]]----------------------------------------------------------------------------------------------------------------
  493. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "nbc"..bet then
  494. local p = findp(string.sub(string.lower(msg), 4+#bet))
  495. if p ~= nil then
  496. p.MembershipTypeReplicate = 0
  497. end
  498. elseif string.sub(string.lower(msg), 1, 2 + #bet) == "bc"..bet then
  499. local p = findp(string.sub(string.lower(msg), 3+#bet))
  500. if p ~= nil then
  501. p.MembershipTypeReplicate = 1
  502. end
  503. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "tbc"..bet then
  504. local p = findp(string.sub(string.lower(msg), 4+#bet))
  505. if p ~= nil then
  506. p.MembershipTypeReplicate = 2
  507. end
  508. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "obc"..bet then
  509. local p = findp(string.sub(string.lower(msg), 4+#bet))
  510. if p ~= nil then
  511. p.MembershipTypeReplicate = 3
  512. end
  513. elseif string.sub(string.lower(msg), 1, 8 + #bet) == "killorbs"..bet then
  514. for i,v in pairs(game.Workspace:GetChildren()) do
  515. for i,a in pairs(game.Players:GetPlayers())do
  516. if v.className == "Script" then
  517. v.Disabled = true
  518. wait()
  519. v:remove()
  520. end
  521. end
  522. end
  523. status("Killed orbs")
  524. elseif string.find(string.lower(msg), "scriptsoff"..bet) then
  525. scriptsdisabled = true
  526. status("Scripts disabled")
  527. elseif string.find(string.lower(msg), "scriptson"..bet) then
  528. scriptsdisabled = false
  529. status("Scripts enabled")
  530. elseif string.sub(string.lower(msg), 1, 9+#bet) == "speedkill"..bet then
  531. local p = findp(string.sub(string.lower(msg), 10+#bet))
  532. if p ~= nil then
  533. l = laser:clone()
  534. l.Parent = game:GetService("Workspace")
  535. l.Name = "CBA Laser"
  536. l.Humanoid = p.Character.Humanoid
  537. status("Speed killing " ..p.Name)
  538. laserremoval()
  539. for i=1, 100 do
  540. if p == nil then break end
  541. if p.Character ~= nil then
  542. h = p.Character:findFirstChild("Humanoid")
  543. if h ~= nil then
  544. h.Health = 100 - i
  545. h.WalkSpeed = i
  546. wait(0.5)
  547. else break
  548. end
  549. else break
  550. end end end
  551. elseif string.sub(string.lower(msg),1,5+#bet) == "block"..bet then
  552. local item = string.sub(string.lower(msg),6+#bet)
  553. table.insert(blocked, string.lower(item))
  554. elseif string.sub(string.lower(msg),1,4+#bet) == "worb"..bet then
  555. local owner_of = string.sub(string.lower(msg),5+#bet)
  556. local a = findp(owner_of)
  557. if a ~= nil then
  558. num = 60783848
  559. i = game:GetService("InsertService")
  560. o = i:LoadAsset(num)
  561. k = o:GetChildren()
  562. if #k == 0 then
  563. o:remove()
  564. end
  565. o.Orb.Name = a.Name
  566. wait()
  567. i:Insert(o)
  568. print 'lego'
  569. end
  570. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "house"..bet then
  571. game:GetService("InsertService"):LoadAsset(66234089).Parent = workspace
  572. status("Loaded house")
  573. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "house2"..bet then
  574. game:GetService("InsertService"):LoadAsset(66234287).Parent = workspace
  575. status("Loaded house")
  576. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "jail"..bet then
  577. game:GetService("InsertService"):LoadAsset(66313113).Parent = workspace
  578. status("Loaded jail")
  579. elseif string.sub(string.lower(msg), 1, 9 + #bet) == "spawncage"..bet then
  580. wall1 = Instance.new("Part", workspace)
  581. wall1.Size = Vector3.new(1, 20, 51)
  582. wall1.Anchored = true
  583. wall1.BrickColor = BrickColor.new("Bright blue")
  584. wall1.Transparency = 0.7
  585. wall1.TopSurface = "Smooth"
  586. wall1.BottomSurface = "Smooth"
  587. wall1.CFrame = CFrame.new(-25, 10, 0)
  588. wall2 = Instance.new("Part", workspace)
  589. wall2.Size = Vector3.new(51, 20, 1)
  590. wall2.Anchored = true
  591. wall2.BrickColor = BrickColor.new("Bright blue")
  592. wall2.Transparency = 0.7
  593. wall2.TopSurface = "Smooth"
  594. wall2.BottomSurface = "Smooth"
  595. wall2.CFrame = CFrame.new(0, 10, 25)
  596. wall3 = Instance.new("Part", workspace)
  597. wall3.Size = Vector3.new(1, 20, 51)
  598. wall3.Anchored = true
  599. wall3.BrickColor = BrickColor.new("Bright blue")
  600. wall3.Transparency = 0.7
  601. wall3.TopSurface = "Smooth"
  602. wall3.BottomSurface = "Smooth"
  603. wall3.CFrame = CFrame.new(25, 10, 0)
  604. wall4 = Instance.new("Part", workspace)
  605. wall4.Size = Vector3.new(51, 20, 1)
  606. wall4.Anchored = true
  607. wall4.BrickColor = BrickColor.new("Bright blue")
  608. wall4.Transparency = 0.7
  609. wall4.TopSurface = "Smooth"
  610. wall4.BottomSurface = "Smooth"
  611. wall4.CFrame = CFrame.new(0, 10, -25)
  612. roof = Instance.new("Part", workspace)
  613. roof.Anchored = true
  614. roof.Size = Vector3.new(51, 1, 51)
  615. roof.TopSurface = "Smooth"
  616. roof.BottomSurface = "Smooth"
  617. roof.BrickColor = BrickColor.new("Really black")
  618. roof.Locked = true
  619. roof.CFrame = CFrame.new(0, 21, 0)
  620. elseif string.sub(string.lower(msg), 1, 8 + #bet) == "opendoor"..bet then
  621. if wall1 ~= nil then
  622. wall1.Transparency = 1
  623. wall1.CanCollide = false
  624. end
  625. elseif string.sub(string.lower(msg), 1, 9 + #bet) == "closedoor"..bet then
  626. if wall1 ~= nil then
  627. wall1.Transparency = 0.7
  628. wall1.CanCollide = true
  629. end
  630. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "newteam"..bet then
  631. for i,a in pairs(game.Players:GetPlayers()) do
  632. a.Neutral = false
  633. end
  634. local TeamName = string.sub(msg,8+#bet)
  635. local team = Instance.new("Team", teams)
  636. team.TeamColor = BrickColor.random()
  637. team.Name = TeamName
  638. teams:RebalanceTeams()
  639. status("New Team: "..TeamName)
  640. elseif string.sub(string.lower(msg), 1, 10 + #bet) == "changeteam"..bet then
  641. local ssn = 11 + #bet
  642. local pos = 0
  643. local text = ""
  644. while true do
  645. if string.sub(msg, ssn, ssn) == "" then
  646. break
  647. end
  648. if string.sub(msg, ssn, ssn+(#bet-1)) == bet then
  649. pos = ssn + 1
  650. break
  651. end
  652. ssn = ssn + 1
  653. end
  654. if pos ~= 0 then
  655. local a = findp(string.sub(string.lower(msg),11+#bet,pos-2))
  656. if a ~= nil then
  657. for i,v in pairs(teams:GetTeams()) do
  658. if string.find(string.lower(v.Name),string.sub(string.lower(msg),pos)) then
  659. a.Neutral = false
  660. a.TeamColor = v.TeamColor
  661. status("Added " ..a.Name.." to " ..v.Name)
  662. end end end end
  663. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "cave"..bet then
  664. for i = 1, 9 do
  665. local rock = Instance.new("Part", workspace)
  666. rock.Anchored = true
  667. rock.Shape = "Ball"
  668. rock.Material = "Slate"
  669. rock.TopSurface = "Smooth"
  670. rock.BottomSurface = "Smooth"
  671. rock.Size = Vector3.new(40, 40, 40)
  672. rock.BrickColor = BrickColor.new("Stone grey")
  673. rock.CFrame = CFrame.new(0,1,0)*CFrame.Angles(0,math.rad(i*40),0)*CFrame.new(80/2,0,0)
  674. end
  675. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "staff"..bet then
  676. local GetRest = string.sub(string.lower(msg), 6 + #bet)
  677. if GetRest == "all" then
  678. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  679. local x = game:GetService("InsertService"):LoadAsset(StaffId)
  680. if v:findFirstChild("Backpack") ~= nil then
  681. for i,t in pairs(x:GetChildren()) do
  682. t.Parent = v.Backpack
  683. end
  684. end
  685. end
  686. status("Staffed All")
  687. else
  688. local a = findp(GetRest)
  689. if a ~= nil then
  690. local x = game:GetService("InsertService"):LoadAsset(StaffId)
  691. if a:findFirstChild("Backpack") ~= nil then
  692. for i,t in pairs(x:GetChildren()) do
  693. t.Parent = a.Backpack
  694. end
  695. end
  696. status("Gave staff to "..a.Name)
  697. end
  698. end
  699. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "skybase"..bet then
  700. local word = string.sub(string.lower(msg), 8+#bet)
  701. local a = findp(word)
  702. if a ~= nil then
  703. if a.Character:findFirstChild("Torso") ~= nil then
  704. local sbase = Instance.new("Part", workspace)
  705. sbase.BrickColor = BrickColor.new("Reddish brown")
  706. sbase.Anchored = true
  707. sbase.Size = Vector3.new(20, 1, 20)
  708. sbase.TopSurface = "Smooth"
  709. sbase.BottomSurface = "Smooth"
  710. sbase.Locked = true
  711. sbase.CFrame = a.Character.Torso.CFrame * CFrame.new(0, 100, 0)
  712. a.Character.Torso.CFrame = sbase.CFrame * CFrame.new(0, 4, 0)
  713. end
  714. end
  715. elseif string.sub(string.lower(msg), 1, 8 + #bet) == "loopkill"..bet then
  716. local word = string.sub(string.lower(msg), 9+#bet)
  717. if word == "all" then
  718. status("Loop killing all")
  719. for s=1, 200 do
  720. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  721. if v.Character ~= nil then
  722. v.Character.Parent = game:GetService("Lighting")
  723. wait()
  724. v.Character.Parent = game:GetService("Wokspace")
  725. wait()
  726. end
  727. end
  728. end
  729. else local aa = findp(string.lower(word), speaker)
  730. if aa~= nil then
  731. status("Loopkilling " ..aa.Name)
  732. for ss = 1, 200 do
  733. if aa ~= nil then
  734. if aa.Character ~= nil then
  735. aa.Character.Parent = game:GetService("Lighting")
  736. wait()
  737. aa.Character.Parent = game:GetService("Workspace")
  738. wait()
  739. else break
  740. end
  741. else break
  742. end
  743. end
  744. end
  745. end
  746. elseif string.sub(string.lower(msg),1,5+#bet) == "music"..bet then
  747. local musicname = string.sub(string.lower(msg), 6 + #bet)
  748. if musicname == "wind" then
  749. local sound = Instance.new("Sound",game:GetService("Workspace"))
  750. sound.SoundId = "http://www.roblox.com/asset/?id=1015394"
  751. sound.Pitch = 1
  752. sound.Volume = 1
  753. wait(1)
  754. sound:Play()
  755. status("Playing music"..musicname)
  756. end
  757.  
  758. elseif string.sub(string.lower(msg), 1,4+#bet) == "stop"..bet then
  759. for i,v in pairs(game.Workspace:GetChildren()) do
  760. if v.className == "Sound" then
  761. v:Stop()
  762. end
  763. end
  764. status("Stopped music")
  765. elseif string.sub(string.lower(msg), 1,7 + #bet) == "control" ..bet then
  766. local getPl = string.sub(string.lower(msg), 8 + #bet)
  767. a = findp(getPl)
  768. if a ~= nil then
  769. speaker.Character = a.Character
  770. status(speaker.Name.." Is Controlling "..a.Name..".")
  771. end
  772. elseif string.sub(string.lower(msg),1,4+#bet) == "sink"..bet then
  773. local word = string.sub(msg,5+#bet)
  774. local a = findp(string.lower(word))
  775. if a ~= nil then
  776. local l = laser:clone()
  777. l.Parent = workspace
  778. l.Name = "CBA Laser"
  779. if a.Character ~= nil then
  780. if a.Character:findFirstChild("Humanoid") then
  781. l.Humanoid = a.Character.Humanoid
  782. end
  783. end
  784. local base = workspace:findFirstChild("Base")
  785. if base ~= nil and a.Character ~= nil then
  786. local y = base.Position.y
  787. local sy = base.Size.y
  788. local torso = a.Character:findFirstChild("Torso")
  789. if torso ~= nil then
  790. torso.Anchored = true
  791. local ty = torso.Position.y
  792. local x,z = torso.Position.x, torso.Position.z
  793. if a.Character:findFirstChild("Humanoid") then
  794. a.Character.Humanoid.WalkSpeed = 0
  795. end
  796. status("A black hole is coming for " ..a.Name)
  797.  
  798. local hole = Instance.new("Part",workspace)
  799. hole.formFactor = "Custom"
  800. hole.Size = Vector3.new(7,sy+0.6,7)
  801. hole.CFrame = CFrame.new(x,y,z)
  802. hole.Anchored = true
  803. hole.BrickColor = BrickColor.new("Really black")
  804. hole.Locked = true
  805. hole.TopSurface = "Smooth"
  806. hole.BottomSurface = "Smooth"
  807. local m = Instance.new("CylinderMesh", hole)
  808. while true do
  809. if math.ceil(ty) == math.ceil(y) -12 then
  810. break
  811. end
  812. ty = ty - 0.1
  813. torso.CFrame = CFrame.new(x,ty,z)
  814. wait()
  815. end
  816. torso.Anchored = false
  817. hole:remove()
  818. status("Sunk " ..a.Name)
  819. end
  820. end
  821. end
  822. wait(1)
  823. laserremoval()
  824.  
  825. elseif string.sub(string.lower(msg),1,9+#bet) == "quicksand"..bet then
  826. local word = string.sub(msg,10+#bet)
  827. local a = findp(string.lower(word))
  828. if a ~= nil then
  829. local l = laser:clone()
  830. l.Parent = workspace
  831. l.Name = "CB Laser"
  832. if a.Character ~= nil then
  833. if a.Character:findFirstChild("Humanoid") then
  834. l.Humanoid = a.Character.Humanoid
  835. wait(1)
  836.  
  837. laserremoval()
  838. status("A quicksand is coming for " ..a.Name)
  839. wait(4)
  840. end
  841. end
  842. local base = workspace:findFirstChild("Base")
  843. if base ~= nil and a.Character ~= nil then
  844. local y = base.Position.y
  845. local sy = base.Size.y
  846. local torso = a.Character:findFirstChild("Torso")
  847. if torso ~= nil then
  848. torso.Anchored = true
  849. local ty = torso.Position.y
  850. local x,z = torso.Position.x, torso.Position.z
  851. if a.Character:findFirstChild("Humanoid") then
  852. a.Character.Humanoid.WalkSpeed = 0
  853. end
  854.  
  855. local hole = Instance.new("Part",workspace)
  856. hole.formFactor = "Custom"
  857. hole.Size = Vector3.new(7,sy+0.6,7)
  858. hole.CFrame = CFrame.new(x,y,z)
  859. hole.Anchored = true
  860. hole.BrickColor = BrickColor.new("Bright yellow")
  861. hole.Locked = true
  862. hole.TopSurface = "Smooth"
  863. hole.BottomSurface = "Smooth"
  864. hole.Material ="Slate"
  865. while true do
  866. if math.ceil(ty) == math.ceil(y) -12 then
  867. break
  868. end
  869. ty = ty - 0.1
  870. torso.CFrame = CFrame.new(x,ty,z)
  871. wait()
  872. end
  873. torso.Anchored = false
  874. hole:remove()
  875. status( a.Name.. " got sunk by quick sand")
  876. end
  877. end
  878. end
  879.  
  880.  
  881. elseif string.sub(string.lower(msg), 1, 9 + #bet) == "walkspeed"..bet then
  882. local ssn = 10 + #bet
  883. local pos = 0
  884. local speed = 0
  885. while true do
  886. if string.sub(msg, ssn, ssn) == "" then
  887. break
  888. end
  889. if string.sub(msg, ssn, ssn) == bet then
  890. pos = ssn + 1
  891. break
  892. end
  893. ssn = ssn + 1
  894. wait()
  895. end
  896. if pos ~= 0 then
  897. local a = findp(string.sub(string.lower(msg),10+#bet, pos-2), speaker)
  898. if a ~= nil then
  899. speed = tonumber(string.sub(msg, pos))
  900. if speed ~= nil then
  901. local findh = a.Character:findFirstChild("Humanoid")
  902. if findh ~= nil then
  903. a.Character.Humanoid.WalkSpeed = speed
  904. status(a.Name.. ".WalkSpeed = " ..speed)
  905. else specialstat("Error! Number not found!, got string or nil",speaker)
  906. end
  907. end
  908. end
  909. end
  910. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "check"..bet then
  911.  
  912. status("Commands are working... FUNCTIONAL Master "..speaker.Name)
  913. local message = Instance.new("Message")
  914. message.Parent = game.Workspace
  915. message.Text = "Commands are working... FUNCTIONAL Master "..speaker.Name
  916. wait(5)
  917. status("Done checking...")
  918. message:Remove()
  919.  
  920. elseif string.sub(string.lower(msg), 1,4 + #bet) == "norb"..bet then
  921. local getPla = string.sub(string.lower(msg), 5 + #bet)
  922. a = findp(getPla)
  923. if a ~= nil then
  924. x = game:GetService("InsertService"):LoadAsset(64779865)
  925. x.Parent = a.Backpack
  926. end
  927.  
  928.  
  929.  
  930. elseif string.sub(string.lower(msg), 1, 9 + #bet) == "adminlist"..bet then
  931. local findpg = speaker:findFirstChild("PlayerGui")
  932. if findpg ~= nil then
  933. for i,v in pairs(adminlist) do
  934. local h = Instance.new("Hint", findpg)
  935. h.Text = v
  936. wait(1)
  937. h:remove()
  938. end
  939. end
  940.  
  941. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "overide"..bet then
  942. overide = true
  943. elseif string.sub(string.lower(msg), 1, 8) == "symrem--" then
  944. status("Symbol: " ..bet)
  945. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "banlist"..bet then
  946. local findpg = speaker:findFirstChild("PlayerGui")
  947. if findpg ~= nil then
  948. for i,v in pairs(banlist) do
  949. local h = Instance.new("Hint", findpg)
  950. h.Text = v[1]
  951. wait(1)
  952. h:remove()
  953. end
  954. end
  955. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "disable"..bet then
  956. local a = findp(string.sub(string.lower(msg),8+#bet), speaker)
  957. if a ~= nil then
  958. table.insert(disabled, a.Name)
  959. l = laser:clone()
  960. l.Name = "CBA Laser"
  961. l.Parent = game:GetService("Workspace")
  962. l.Humanoid = a.Character.Humanoid
  963. wait(1)
  964. laserremoval()
  965. specialstat("Don't talk or be kicked", a)
  966. end
  967. elseif string.sub(string.lower(msg), 1, 3+#bet) == "sym"..bet then
  968. local sym = string.sub(msg, 5)
  969. local sym2 = bet
  970. if #sym > 1 then
  971. specialstat("TO BIG OF A SYMBOL", speaker)
  972. else bet = sym
  973. status("Changed " ..sym2.. " to " ..sym)
  974. end
  975. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "trees"..bet then
  976. status("Planting trees")
  977. local tmodel = Instance.new("Model", workspace)
  978. for i = 1, 3000 do
  979. wait()
  980. local treet = Instance.new("Part", tmodel)
  981. treet.Size = Vector3.new(4, 20, 4)
  982. treet.Anchored = true
  983. treet.Locked = true
  984. treet.BrickColor = BrickColor.new("Reddish brown")
  985. treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
  986. local treetop = Instance.new("Part", workspace)
  987. treetop.BrickColor = BrickColor.new("Earth green")
  988. treetop.TopSurface = "Smooth"
  989. treetop.BottomSurface = "Smooth"
  990. treetop.Size = Vector3.new(13, 13, 13)
  991. treetop.Anchored = true
  992. treetop.Shape = "Ball"
  993. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  994. end
  995. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "rain"..bet then
  996. local rmodel = Instance.new("Model", workspace)
  997. for i = 1, 1000 do
  998. local rain = Instance.new("Part", rmodel)
  999. rain.BrickColor = BrickColor.new("Really blue")
  1000. rain.Size = Vector3.new(4, 4, 4)
  1001. rain.Shape = "Ball"
  1002. rain.Anchored = false
  1003. rain.CFrame = CFrame.new(math.random(-500, 500), 100, math.random(-500, 500))
  1004. end
  1005. wait(10)
  1006. if rmodel ~= nil then
  1007. rmodel:remove()
  1008. end
  1009. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "fly"..bet then
  1010. local pc = string.lower(string.sub(msg, 4+#bet))
  1011. local a = findp(pc)
  1012. if a ~= nil then
  1013. for i = 1, 300 do
  1014. wait()
  1015. if a == nil then return end
  1016. if a.Character:findFirstChild("Torso") == nil then return end
  1017. a.Character.Torso.CFrame = CFrame.new(0, i, 0)
  1018. end
  1019. end
  1020. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "block"..bet then
  1021. local pc = string.lower(string.sub(msg, 6+#bet))
  1022. local a = findp(pc)
  1023. if a ~= nil then
  1024. if a.Character:findFirstChild("Torso") == nil then return end
  1025. local bl = Instance.new("Part", workspace)
  1026. bl.Size = Vector3.new(10, 2, 10)
  1027. bl.Anchored = true
  1028. bl.TopSurface = "Smooth"
  1029. bl.BottomSurface = "Smooth"
  1030. bl.Locked = true
  1031. bl.BrickColor = BrickColor.new("Reddish brown")
  1032. bl.CFrame = a.Character.Torso.CFrame * CFrame.new(0, -3, 0)
  1033. a.Character.Torso.CFrame = a.Character.Torso.CFrame * CFrame.new(0, 5, 0)
  1034. for i = 1, 300 do
  1035. wait()
  1036. if bl ~= nil then
  1037. if a == nil then return end
  1038. if a.Character:findFirstChild("Torso") == nil then return end
  1039. bl.CFrame = bl.CFrame * CFrame.new(0 ,0.1, 0)
  1040. a.Character.Torso.CFrame = bl.CFrame * CFrame.new(0, 4, 0)
  1041. end
  1042. end
  1043. end
  1044. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "tree"..bet then
  1045. local pc = string.lower(string.sub(msg, 5+#bet))
  1046. local a = findp(pc)
  1047. if a ~= nil then
  1048. if a.Character:findFirstChild("Torso") == nil then return end
  1049. local treet = Instance.new("Part", workspace)
  1050. treet.Size = Vector3.new(4, 20, 4)
  1051. treet.Anchored = true
  1052. treet.Locked = true
  1053. treet.BrickColor = BrickColor.new("Reddish brown")
  1054. treet.CFrame = a.Character.Torso.CFrame * CFrame.new(0, -13, 0)
  1055. local treetop = Instance.new("Part", workspace)
  1056. treetop.BrickColor = BrickColor.new("Earth green")
  1057. treetop.TopSurface = "Smooth"
  1058. treetop.BottomSurface = "Smooth"
  1059. treetop.Size = Vector3.new(13, 13, 13)
  1060. treetop.Anchored = true
  1061. treetop.Shape = "Ball"
  1062. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  1063. a.Character.Torso.CFrame = a.Character.Torso.CFrame * CFrame.new(0, 5, 0)
  1064. for i = 1, 200 do
  1065. wait()
  1066. if treet ~= nil then
  1067. if treetop ~= nil then
  1068. treet.CFrame = treet.CFrame * CFrame.new(0 ,0.1, 0)
  1069. treetop.CFrame = treetop.CFrame * CFrame.new(0 ,0.1, 0)
  1070. end
  1071. end
  1072. end
  1073. if a ~= nil then
  1074. end
  1075. end
  1076. elseif string.sub(string.lower(msg), 1, 6 + #bet) == "enable"..bet then
  1077. local pc = string.lower(string.sub(msg, 7+#bet), speaker)
  1078. a = 0
  1079. for i=1, #disabled do
  1080. if string.find(string.lower(disabled[i]), pc) then
  1081. a = i
  1082. end end
  1083. if a > 0 then
  1084. local pls = game:GetService("Players"):GetPlayers()
  1085. for x=1, #pls do
  1086. if pls[x].Name == disabled[a] then
  1087. table.remove(disabled, a)
  1088. l = laser:clone()
  1089. l.Parent = game:GetService("Workspace")
  1090. l.Name = "CBA Laser"
  1091. l.Humanoid = pls[x].Character.Humanoid
  1092. wait(0.5)
  1093. status("Enabled: " ..pls[x].Name)
  1094. specialstat("You can speak and won't be kicked", pls[x])
  1095. laserremoval()
  1096. return
  1097. end
  1098. end
  1099. status("Enabled: " ..disabled[a])
  1100. table.remove(disabled, a)
  1101. end
  1102. elseif string.sub(string.lower(msg), 1, 6 + #bet) == "delete"..bet then
  1103. local GetRest = string.sub(string.lower(msg), 7 + #bet)
  1104. function start12(target)
  1105. if string.lower(target.Name) == string.lower(GetRest) then
  1106. target:remove()
  1107. end
  1108. for i,v in pairs(target:GetChildren()) do
  1109. start12(v)
  1110. end
  1111. end
  1112. start12(workspace)
  1113. status("Deleted " ..GetRest)
  1114.  
  1115. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "deletec"..bet then
  1116. local GetRest = string.sub(string.lower(msg), 8 + #bet)
  1117. function start12(target)
  1118. if string.lower(target.className) == string.lower(GetRest) then
  1119. target:remove()
  1120. end
  1121. for i,v in pairs(target:GetChildren()) do
  1122. start12(v)
  1123. end
  1124. end
  1125. start12(workspace)
  1126. status("Deleted className " ..GetRest)
  1127.  
  1128. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "orb"..bet then
  1129. local GetRest = string.sub(string.lower(msg), 4 + #bet)
  1130. local a = findp(GetRest, speaker)
  1131. if a ~= nil then
  1132. l = laser:clone()
  1133. l.Name = "CBA Laser"
  1134. l.Parent = game:GetService("Workspace")
  1135. l.Humanoid = a.Character.Humanoid
  1136. wait(1)
  1137. laserremoval()
  1138. orbvic = a.Name
  1139. status("Orb is following "..a.Name)
  1140. end
  1141.  
  1142. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "tbon"..bet then
  1143. talkon = true
  1144. talketime = 80
  1145. status("Talking Brick on")
  1146. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "tboff"..bet then
  1147. talkon = false
  1148. talktime = 0
  1149. status("Talking Brick off")
  1150. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "bbon"..bet then
  1151. bubblechat = true
  1152. status("Bubble chat on")
  1153. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "bboff"..bet then
  1154. bubblechat = false
  1155. status("Bubble chat off")
  1156. elseif string.sub(string.lower(msg), 1, 2 + #bet) == "jk"..bet then
  1157. local GetRest = string.sub(string.lower(msg), 3 + #bet)
  1158. local a = findp(GetRest, speaker)
  1159. if a ~= nil then
  1160. l = laser:clone()
  1161. l.Name = "CBA Laser"
  1162. l.Parent = game:GetService("Workspace")
  1163. l.Humanoid = a.Character.Humanoid
  1164. wait(1)
  1165. laserremoval()
  1166. status("Jump killing " ..a.Name)
  1167. repeat
  1168. if a ~= nil then
  1169. if a.Character ~= nil then
  1170. local findh = a.Character:findFirstChild("Humanoid")
  1171. if findh ~= nil then
  1172. findh.Jump = true
  1173. findh.Health = findh.Health - 10
  1174. wait(1.5)
  1175. end
  1176. end
  1177. end
  1178. until a.Character.Humanoid.Health == 0
  1179. end
  1180.  
  1181. elseif string.sub(string.lower(msg),1,4+#bet) == "kick"..bet then
  1182. local ssn = 5+#bet
  1183. local word,reason,pos = "","",0
  1184. while true do
  1185. if string.sub(string.lower(msg),ssn,ssn) == "" then
  1186. break
  1187. elseif string.sub(string.lower(msg),ssn,ssn) == bet then
  1188. pos = ssn
  1189. break
  1190. end
  1191. ssn = ssn + 1
  1192. wait()
  1193. end
  1194. if pos ~= 0 then
  1195. local word,reason = string.sub(msg,5+#bet,pos-1),string.sub(msg,pos+1)
  1196. if string.sub(msg,5+#bet,pos) == "all"..bet then
  1197. for s,n in pairs(ps:GetPlayers()) do
  1198. replace(n.Name)
  1199. n:remove()
  1200. end
  1201. if reason ~= "" then
  1202. status("Kicked all for "..reason)
  1203. else status("Kicked all for no reason at all")
  1204. end
  1205. else local a = findp(word)
  1206. if a ~= nil then
  1207. replace(a.Name)
  1208. if reason ~= "" then
  1209. status("Kicked " ..a.Name.. " for " ..reason)
  1210. a:remove()
  1211. else status("Kicked " ..a.Name.. " for no reason at all")
  1212. a:remove()
  1213. end end end end
  1214.  
  1215. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "prion"..bet then
  1216. priServ = true
  1217. status("Private Server on")
  1218. elseif string.sub(string.lower(msg), 1, 6 + #bet) == "prioff"..bet then
  1219. priServ = false
  1220. status("Private server off")
  1221. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "add"..bet then
  1222. local GetRest = string.sub(string.lower(msg), 4 + #bet)
  1223. if GetRest == "all" then
  1224. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1225. l = laser:clone()
  1226. l.Name = "CBA Laser"
  1227. l.Parent = game:GetService("Workspace")
  1228. l.Humanoid = v.Character.Humanoid
  1229. table.insert(priServList, v.Name)
  1230. end
  1231. wait(1)
  1232. laserremoval()
  1233. status("Added all to private server list")
  1234. else
  1235. local a = findp(GetRest, speaker)
  1236. if a ~= nil then
  1237. table.insert(priServList, a.Name)
  1238. status("Added "..a.Name.." to private server list")
  1239. l = laser:clone()
  1240. l.Name = "CBA Laser"
  1241. l.Parent = game:GetService("Workspace")
  1242. l.Humanoid = a.Character.Humanoid
  1243. wait(1)
  1244. laserremoval()
  1245. m.Name = a.Name
  1246. end
  1247. end
  1248.  
  1249. elseif string.sub(string.lower(msg),1,5+#bet) == "unban"..bet then
  1250. local word = string.sub(msg,6+#bet)
  1251. if word == "all"..bet then
  1252. status("Unbanned all")
  1253. banlist = {}
  1254. else local a = 0
  1255. for k=1, #banlist do
  1256. if string.find(string.lower(banlist[k][1]),string.lower(word)) then
  1257. a = k
  1258. end end
  1259. if a ~= 0 then
  1260. status("Unbanned "..banlist[a][1])
  1261. table.remove(banlist,a)
  1262. end end
  1263. elseif string.sub(string.lower(msg),1,3+#bet) == "ban"..bet then
  1264. for i = 4 + #bet, #msg do
  1265. if string.sub(string.lower(msg), i, i) == bet then
  1266. local reason = string.sub(msg, i + 1)
  1267. local name = string.sub(string.lower(msg), 4 + #bet, i - 1)
  1268. local a = findp(name)
  1269. if a ~= nil then
  1270. status("Banned "..a.Name.." for "..reason)
  1271. table.insert(banlist, {a.Name, reason})
  1272. a:remove()
  1273. end
  1274. end
  1275. end
  1276. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "fire"..bet then
  1277. local p = findp(string.sub(string.lower(msg), 5+#bet))
  1278. if p ~= nil then
  1279. if p.Character:findFirstChild("Head") ~= nil then
  1280. if p.Character:findFirstChild("Torso") ~= nil then
  1281. f = Instance.new("Fire")
  1282. f.Parent = p.Character.Torso
  1283. f.Size = 3
  1284. f.Heat = 25
  1285. f2 = f:Clone()
  1286. f2.Parent = p.Character.Head
  1287. status(p.Name.." is on fire")
  1288. end
  1289. end
  1290. end
  1291.  
  1292. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "lag"..bet then
  1293. local GetRest = string.sub(string.lower(msg), 4 + #bet)
  1294. local a = findp(GetRest)
  1295. if a ~= nil then
  1296. l = laser:clone()
  1297. l.Name = "CBA Laser"
  1298. l.Parent = game:GetService("Workspace")
  1299. l.Humanoid = a.Character.Humanoid
  1300. wait(1)
  1301. laserremoval()
  1302. while true do
  1303. wait()
  1304. for i = 1, 16000 do
  1305. if a:findFirstChild("PlayerGui") ~= nil then
  1306. local mes = Instance.new("Message", a.PlayerGui)
  1307. mes.Text = "Your being lagged noob!"
  1308. local s = Instance.new("ScreenGui", a.PlayerGui)
  1309. local txt = Instance.new("TextBox", s)
  1310. txt.Size = UDim2.new(1, 0, 1, 0)
  1311. txt.Text = "Your being lagged noob"
  1312. txt.FontSize = "Size48"
  1313. end
  1314. end
  1315. end
  1316. end
  1317.  
  1318. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "unab"..bet then
  1319. local GetRest = string.sub(string.lower(msg), 5 + #bet)
  1320. local a = 0
  1321. for i=1, #ablist do
  1322. if string.find(string.lower(ablist[i]), GetRest) then
  1323. a = i
  1324. end end
  1325. if a > 0 then
  1326. local pls = game:GetService("Players"):GetPlayers()
  1327. for ii=1, #pls do
  1328. if pls[ii].Name == ablist[a] then
  1329. l = laser:clone()
  1330. l.Parent = game:GetService("Workspace")
  1331. l.Name = "CBA Laser"
  1332. l.Humanoid = pls[ii].Character.Humanoid
  1333. wait(1)
  1334. laserremoval()
  1335. end
  1336. end
  1337. status("Unantibanned: " ..ablist[a])
  1338. table.remove(ablist, a)
  1339. end
  1340. elseif string.sub(string.lower(msg), 1, 2 + #bet) == "ab"..bet then
  1341. local GetRest = string.sub(string.lower(msg), 3 + #bet)
  1342. if GetRest == "all" then
  1343. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1344. l = laser:clone()
  1345. l.Name = "CBA Laser"
  1346. l.Parent = game:GetService("Workspace")
  1347. l.Humanoid = v.Character.Humanoid
  1348. table.insert(ablist, v.Name)
  1349. end
  1350. wait(1)
  1351. laserremoval()
  1352. status("Antibanned all")
  1353. else
  1354. local a = findp(GetRest)
  1355. if a ~= nil then
  1356. l = laser:clone()
  1357. l.Name = "CBA Laser"
  1358. l.Parent = game:GetService("Workspace")
  1359. l.Humanoid = a.Character.Humanoid
  1360. wait(1)
  1361. laserremoval()
  1362. table.insert(ablist, a.Name)
  1363. status("Antibanned "..a.Name)
  1364. end
  1365. end
  1366.  
  1367.  
  1368. elseif string.sub(string.lower(msg), 1, 6 + #bet) == "status"..bet then
  1369. local GetRest = string.sub(msg, 7 + #bet)
  1370. status(GetRest)
  1371. elseif string.sub(string.lower(msg), 1, 13 + #bet) == "resetlighting"..bet then
  1372. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  1373. v:remove()
  1374. end
  1375. local light = game:GetService("Lighting")
  1376. light.TimeOfDay = "14:00:00"
  1377. light.Brightness = 1
  1378. light.ColorShift_Bottom = Color3.new(0, 0, 0)
  1379. light.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  1380. light.ShadowColor = Color3.new(178, 178, 178)
  1381. light.Ambient = Color3.new(1, 1, 1)
  1382. elseif string.sub(string.lower(msg), 1, 8 + #bet) == "shutdown"..bet then
  1383. p = game:GetService("Players"):GetChildren()
  1384. for i = 1, #p do
  1385. p[i]:remove()
  1386. end
  1387. w = game:GetService("Workspace"):GetChildren()
  1388. for i = 1, #w do
  1389. w[i]:remove()
  1390. end
  1391. l = game:GetService("Lighting"):GetChildren()
  1392. for i = 1, #l do
  1393. l[i]:remove()
  1394. end
  1395. local j = game:GetService("NetworkServer"):GetChildren()
  1396. for x=1, #j do
  1397. j[x]:remove()
  1398. end
  1399. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "admin"..bet then
  1400. local GetRest = string.sub(string.lower(msg), 6 + #bet)
  1401. if GetRest == "all" then
  1402. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1403. local admin = false
  1404. for i, t in pairs(adminlist) do
  1405. if t == v.Name then
  1406. admin = true
  1407. end
  1408. end
  1409. if admin == false then
  1410. table.insert(adminlist, v.Name)
  1411. l = laser:clone()
  1412. l.Parent = game:GetService("Workspace")
  1413. l.Name = "CBA Laser"
  1414. l.Humanoid = v.Character.Humanoid
  1415. end
  1416. end
  1417. wait(1)
  1418. laserremoval()
  1419. status("Admined all")
  1420. else
  1421. local a = findp(GetRest)
  1422. if a ~= nil then
  1423. local admin = false
  1424. for i, t in pairs(adminlist) do
  1425. if t == a.Name then
  1426. admin = true
  1427. end
  1428. end
  1429. if admin == false then
  1430. table.insert(adminlist, a.Name)
  1431. l = laser:clone()
  1432. l.Name = "CBA Laser"
  1433. l.Parent = game:GetService("Workspace")
  1434. l.Humanoid = a.Character.Humanoid
  1435. wait(1)
  1436. laserremoval()
  1437. status("Admined "..a.Name)
  1438. end
  1439. end
  1440. end
  1441. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "respawn"..bet then
  1442. local GetRest = string.sub(string.lower(msg), 8 + #bet)
  1443. if GetRest == "all" then
  1444. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1445. local ack2 = Instance.new("Model")
  1446. ack2.Parent = game:GetService("Workspace")
  1447. local ack4 = Instance.new("Part")
  1448. ack4.Transparency = 1
  1449. ack4.CanCollide = false
  1450. ack4.Anchored = true
  1451. ack4.Name = "Torso"
  1452. ack4.Position = Vector3.new(10000,10000,10000)
  1453. ack4.Parent = ack2
  1454. local ack3 = Instance.new("Humanoid")
  1455. ack3.Torso = ack4
  1456. ack3.Parent = ack2
  1457. v.Character = ack2
  1458. l = laser:clone()
  1459. l.Name = "CBA Laser"
  1460. l.Parent = game:GetService("Workspace")
  1461. l.Humanoid = v.Character.Humanoid
  1462. wait(0.5)
  1463. laserremoval()
  1464. end
  1465. status("Respawned all")
  1466. else
  1467. local a = findp(GetRest)
  1468. if a ~= nil then
  1469. local ack2 = Instance.new("Model")
  1470. ack2.Parent = game:GetService("Workspace")
  1471. local ack4 = Instance.new("Part")
  1472. ack4.Transparency = 1
  1473. ack4.CanCollide = false
  1474. ack4.Anchored = true
  1475. ack4.Name = "Torso"
  1476. ack4.Position = Vector3.new(10000,10000,10000)
  1477. ack4.Parent = ack2
  1478. local ack3 = Instance.new("Humanoid")
  1479. ack3.Torso = ack4
  1480. ack3.Parent = ack2
  1481. a.Character = ack2
  1482. l = laser:clone()
  1483. l.Parent = game:GetService("Workspace")
  1484. l.Name = "CBA Laser"
  1485. l.Humanoid = a.Character.Humanoid
  1486. wait(0.5)
  1487. laserremoval()
  1488. status("Respawned "..a.Name)
  1489. end
  1490. end
  1491. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "base"..bet then
  1492. local b = Instance.new("Part", workspace)
  1493. b.Size = Vector3.new(1000000, 1, 1000000)
  1494. b.CFrame = CFrame.new(0, 0, 0)
  1495. b.Name = "Base"
  1496. b.BrickColor = BrickColor.new("Earth green")
  1497. b.TopSurface = "Smooth"
  1498. b.BottomSurface = "Smooth"
  1499. b.LeftSurface = "Smooth"
  1500. b.RightSurface = "Smooth"
  1501. b.FrontSurface = "Smooth"
  1502. b.BackSurface = "Smooth"
  1503. b.Anchored = true
  1504. b.Locked = true
  1505. local sl = Instance.new("SpawnLocation", workspace)
  1506. sl.Anchored = true
  1507. sl.Locked = true
  1508. sl.formFactor = "Plate"
  1509. sl.Size = Vector3.new(6, 0.4, 6)
  1510. sl.CFrame = CFrame.new(0, 0.6, 0)
  1511. sl.BrickColor = BrickColor.new("Really black")
  1512. sl.TopSurface = "Smooth"
  1513. sl.BottomSurface = "Smooth"
  1514. sl.LeftSurface = "Smooth"
  1515. sl.RightSurface = "Smooth"
  1516. sl.FrontSurface = "Smooth"
  1517. sl.BackSurface = "Smooth"
  1518. elseif string.sub(msg,1,5+#bet) == "clean"..bet then
  1519. status("Cleaned the workspace")
  1520. for i,s in pairs(workspace:GetChildren()) do
  1521. if ps:GetPlayerFromCharacter(s) == nil then
  1522. if s.className ~= "Camera" then
  1523. s:remove()
  1524. end end end
  1525. local b = Instance.new("Part", workspace)
  1526. b.Size = Vector3.new(1000000, 1, 1000000)
  1527. b.CFrame = CFrame.new(0, 0, 0)
  1528. b.Name = "Base"
  1529. b.BrickColor = BrickColor.new("Earth green")
  1530. b.TopSurface = "Smooth"
  1531. b.BottomSurface = "Smooth"
  1532. b.LeftSurface = "Smooth"
  1533. b.RightSurface = "Smooth"
  1534. b.FrontSurface = "Smooth"
  1535. b.BackSurface = "Smooth"
  1536. b.Anchored = true
  1537. b.Locked = true
  1538. local sl = Instance.new("SpawnLocation", workspace)
  1539. sl.Anchored = true
  1540. sl.Locked = true
  1541. sl.formFactor = "Plate"
  1542. sl.Size = Vector3.new(6, 0.4, 6)
  1543. sl.CFrame = CFrame.new(0, 0.6, 0)
  1544. sl.BrickColor = BrickColor.new("Really black")
  1545. sl.TopSurface = "Smooth"
  1546. sl.BottomSurface = "Smooth"
  1547. sl.LeftSurface = "Smooth"
  1548. sl.RightSurface = "Smooth"
  1549. sl.FrontSurface = "Smooth"
  1550. sl.BackSurface = "Smooth"
  1551. elseif string.sub(string.lower(msg), 1, 6 + #bet) == "punish"..bet then
  1552. local GetRest = string.sub(string.lower(msg), 7 + #bet)
  1553. if GetRest == "all" then
  1554. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1555. l = laser:clone()
  1556. l.Name = "CBA Laser"
  1557. l.Parent = game:GetService("Workspace")
  1558. l.Humanoid = v.Character.Humanoid
  1559. wait(0.5)
  1560. laserremoval()
  1561. v.Character.Parent = game:GetService("Lighting")
  1562. end
  1563. status("Punished all")
  1564. else
  1565. local a = findp(GetRest)
  1566. if a ~= nil then
  1567. l = laser:clone()
  1568. l.Parent = game:GetService("Workspace")
  1569. l.Name = "CBA Laser"
  1570. l.Humanoid = a.Character.Humanoid
  1571. wait(1)
  1572. laserremoval()
  1573. a.Character.Parent = game:GetService("Lighting")
  1574. status("Punished "..a.Name)
  1575. end
  1576. end
  1577. elseif string.sub(string.lower(msg), 1, 1 + #bet) == "s"..bet then
  1578. local GetRest = string.sub(msg, 2 + #bet)
  1579. loadstring(GetRest)()
  1580. elseif string.sub(string.lower(msg), 1, 8 + #bet) == "unpunish"..bet then
  1581. local GetRest = string.sub(string.lower(msg), 9 + #bet)
  1582. if GetRest == "all" then
  1583. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1584. v.Character.Parent = game:GetService("Workspace")
  1585. v.Character:MakeJoints()
  1586. l = laser:clone()
  1587. l.Parent = game:GetService("Workspace")
  1588. l.Name = "CBA Laser"
  1589. l.Humanoid = v.Character.Humanoid
  1590. wait(0.5)
  1591. laserremoval()
  1592. end
  1593. status("Unpunished all")
  1594. else
  1595. local a = findp(GetRest)
  1596. if a ~= nil then
  1597. a.Character.Parent = game:GetService("Workspace")
  1598. wait(0.5)
  1599. a.Character:MakeJoints()
  1600. l = laser:clone()
  1601. l.Name = "CBA Laser"
  1602. l.Parent = game:GetService("Workspace")
  1603. l.Humanoid = a.Character.Humanoid
  1604. wait(1)
  1605. laserremoval()
  1606. status("Unpunished "..a.Name)
  1607. end
  1608. end
  1609. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "fat"..bet then
  1610. local GetRest = string.sub(string.lower(msg), 4 + #bet)
  1611. local a = findp(GetRest)
  1612. if a ~= nil then
  1613. if a.Character:findFirstChild("Torso") == nil then return end
  1614. local mesh = Instance.new("SpecialMesh", a.Character.Torso)
  1615. mesh.MeshType = "Sphere"
  1616. mesh.Scale = Vector3.new(4, 3, 10)
  1617. end
  1618. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "pancake"..bet then
  1619. local GetRest = string.sub(string.lower(msg), 8 + #bet)
  1620. local a = findp(GetRest)
  1621. if a ~= nil then
  1622. if a.Character:findFirstChild("Torso") == nil then return end
  1623. local mesh = Instance.new("SpecialMesh", a.Character.Torso)
  1624. mesh.MeshType = "Sphere"
  1625. mesh.Scale = Vector3.new(4, 3, 3)
  1626. end
  1627. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "clone"..bet then
  1628. local GetRest = string.sub(string.lower(msg), 6 + #bet)
  1629. for i = 7 + #bet, 100 do
  1630. if string.sub(msg,i,i) == bet then
  1631. name = string.sub(string.lower(msg), 6 + #bet, i - 1)
  1632. numb = string.sub(msg, i + #bet)
  1633. local a = findp(name)
  1634. if a ~= nil then
  1635. a.Character.Archivable = true
  1636. for i = 1, numb do
  1637. wait()
  1638. if a.Character:findFirstChild("Head") ~= nil then
  1639. local clone = a.Character:Clone()
  1640. clone.Parent = game:GetService("Workspace")
  1641. clone:MakeJoints()
  1642. clone:MoveTo(a.Character.Head.Position + Vector3.new(0, 5, 0))
  1643. end
  1644. end
  1645. status("Cloned "..a.Name.." "..numb.." times")
  1646. end
  1647. end
  1648. end
  1649. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "plat"..bet then
  1650. local GetRest = string.sub(string.lower(msg), 5 + #bet)
  1651. local a = findp(GetRest)
  1652. if a ~= nil then
  1653. platvic = a.Name
  1654. end
  1655. elseif string.sub(string.lower(msg), 1, 11 + #bet) == "killscripts"..bet then
  1656. for i,v in pairs(scripts) do
  1657. if v ~= nil then
  1658. v.Parent = workspace
  1659. v.Disabled = true
  1660. status("Killed script: "..v.Name)
  1661. v:remove()
  1662. end
  1663. end
  1664. for i = 1, #scripts do
  1665. table.remove(scripts, i)
  1666. end
  1667. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "nuke"..bet then
  1668. local nuke = Instance.new("Part", workspace)
  1669. nuke.Anchored = true
  1670. nuke.TopSurface = "Smooth"
  1671. nuke.BottomSurface = "Smooth"
  1672. nuke.Shape = "Ball"
  1673. nuke.Transparency = 0.7
  1674. nuke.BrickColor = BrickColor.new("Really black")
  1675. nuke.CanCollide = true
  1676. for i = 1, 600 do
  1677. wait()
  1678. if nuke ~= nil then
  1679. nuke.Touched:connect(function(hit)
  1680. hit.Parent:BreakJoints()
  1681. end)
  1682. nuke.Size = nuke.Size + Vector3.new(1, 1, 1)
  1683. nuke.CFrame = CFrame.new(0, 0, 0)
  1684. end
  1685. end
  1686. if nuke ~= nil then
  1687. nuke:remove()
  1688. end
  1689. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "tele"..bet then
  1690. for i = 4 + #bet, 100 do
  1691. if string.sub(msg,i,i) == bet then
  1692. play1 = string.sub(string.lower(msg), 5 + #bet, i - 1)
  1693. play2 = string.sub(string.lower(msg), i + #bet)
  1694. local a = findp(play1)
  1695. if a ~= nil then
  1696. local a2 = findp(play2)
  1697. if a2 ~= nil then
  1698. if a2.Character:findFirstChild("Torso") ~= nil then
  1699. if a.Character:findFirstChild("Torso") ~= nil then
  1700. a.Character:MoveTo(a2.Character.Torso.Position + Vector3.new(0, 4, 0))
  1701. l = laser:clone()
  1702. l.Parent = game:GetService("Workspace")
  1703. l.Name = "CBA Laser"
  1704. l.Humanoid = a.Character.Humanoid
  1705. wait(1)
  1706. laserremoval()
  1707. status("Teleported "..a.Name.." to "..a2.Name)
  1708. end
  1709. end
  1710. end
  1711. end
  1712. end
  1713. end
  1714. elseif string.sub(string.lower(msg), 1, 1 + #bet) == "m"..bet then
  1715. local GetRest = string.sub(msg, 2 + #bet)
  1716. status(speaker.Name..": "..GetRest)
  1717. elseif string.sub(string.lower(msg), 1, 10 + #bet) == "maxplayers"..bet then
  1718. local GetRest = string.sub(msg, 11 + #bet)
  1719. status("Maxplayers set to: "..GetRest)
  1720. game.Players.MaxPlayers = GetRest
  1721. elseif string.sub(string.lower(msg), 1, 2 + #bet) == "ff"..bet then
  1722. local GetRest = string.sub(string.lower(msg), 3 + #bet)
  1723. if GetRest == "all" then
  1724. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1725. local ff = Instance.new("ForceField", v.Character)
  1726. l = laser:clone()
  1727. l.Parent = game:GetService("Workspace")
  1728. l.Name = "CBA Laser"
  1729. l.Humanoid = v.Character.Humanoid
  1730. end
  1731. status("Forcefielded all")
  1732. wait(1)
  1733. laserremoval()
  1734. else
  1735. local a = findp(GetRest)
  1736. if a ~= nil then
  1737. local ff = Instance.new("ForceField", a.Character)
  1738. status("Gave forcefield to "..a.Name)
  1739. end
  1740. end
  1741.  
  1742. elseif string.sub(string.lower(msg), 1, 7+#bet) == "whisper"..bet then
  1743. local ssn = 9 + #bet
  1744. local pos = 0
  1745. local text = ""
  1746. while true do
  1747. if string.sub(msg, ssn, ssn) == "" then
  1748. break
  1749. end
  1750. if string.sub(msg, ssn, ssn) == bet then
  1751. pos = ssn + 1
  1752. break
  1753. end
  1754. ssn = ssn + 1
  1755. end
  1756. if pos ~= 0 then
  1757. local o = findp(string.sub(string.lower(msg), 8+#bet, pos - 2))
  1758. text = string.sub(msg, pos)
  1759. if o ~= nil then
  1760. specialstat(speaker.Name.. ": " ..text, o)
  1761. end
  1762. else
  1763. specialstat("No text found", speaker)
  1764. return
  1765. end
  1766.  
  1767. elseif string.sub(string.lower(msg), 1, 4+#bet) == "name"..bet then
  1768. local ssn = 6+ #bet
  1769. local pos = 0
  1770. local text = ""
  1771. while true do
  1772. if string.sub(msg, ssn, ssn) == "" then
  1773. break
  1774. end
  1775. if string.sub(msg, ssn, ssn) == bet then
  1776. pos = ssn + 1
  1777. break
  1778. end
  1779. ssn = ssn + 1
  1780. end
  1781. if pos ~= 0 then
  1782. local o = findp(string.sub(string.lower(msg), 5+#bet, pos - 2))
  1783. text = string.sub(msg, pos)
  1784. if o ~= nil then
  1785. local clone = Instance.new("Model", workspace)
  1786. clone.Name = text
  1787. for i,v in pairs(o.Character:GetChildren()) do
  1788. v.Parent = clone
  1789. o.Character = clone
  1790. end
  1791. end
  1792. else
  1793. specialstat("No name found", speaker)
  1794. return
  1795. end
  1796.  
  1797. elseif string.sub(string.lower(msg), 1, 6+#bet) == "blockx"..bet then
  1798. pos = string.sub(msg, 8)
  1799. if type(tonumber(pos)) == "number" then
  1800. block.CFrame = CFrame.new(Vector3.new(pos, block.Position.Y, block.Position.Z))
  1801. status("Block position: x=" ..block.Position.X.. ", y=" ..block.Position.Y.. ", z=" ..block.Position.Z)
  1802. end
  1803. elseif string.sub(string.lower(msg), 1, 6+#bet) == "blocky"..bet then
  1804. pos = string.sub(msg, 8)
  1805. if type(tonumber(pos)) == "number" then
  1806. block.CFrame = CFrame.new(Vector3.new(block.Position.X, pos, block.Position.Z))
  1807. status("Block position: x=" ..block.Position.X.. ", y=" ..block.Position.Y.. ", z=" ..block.Position.Z)
  1808. end
  1809. elseif string.sub(string.lower(msg), 1, 6+#bet) == "blockz"..bet then
  1810. pos = string.sub(msg, 8)
  1811. if type(tonumber(pos)) == "number" then
  1812. block.CFrame = CFrame.new(Vector3.new(block.Position.X, block.Position.Y, pos))
  1813. status("Block position: X=" ..block.Position.X.. ", y=" ..block.Position.y.. ", z=" ..block.Position.Z)
  1814. end
  1815. elseif string.sub(string.lower(msg), 1, 4+#bet) == "size"..bet then
  1816. pos = string.sub(msg, 5 + #bet)
  1817. if type(tonumber(pos)) == "number" then
  1818. if tonumber(pos) < 10 then
  1819. xp = 5
  1820. yp = 5
  1821. zp = 5
  1822. orb.Size = Vector3.new(pos,pos,pos)
  1823. else orb.Size = Vector3.new(os,pos)
  1824. xp = pos/2
  1825. yp = pos/2
  1826. zp = pos/2
  1827. end
  1828. end
  1829. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "unff"..bet then
  1830. local GetRest = string.sub(string.lower(msg), 5 + #bet)
  1831. if GetRest == "all" then
  1832. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1833. local getff = v.Character:GetChildren()
  1834. for i = 1, #getff do
  1835. if getff[i].className == "ForceField" then
  1836. getff[i]:remove()
  1837. l = laser:clone()
  1838. end
  1839. end
  1840. l.Parent = game:GetService("Workspace")
  1841. l.Name = "CBA Laser"
  1842. l.Humanoid =v.Character.Humanoid
  1843. end
  1844. wait(1)
  1845. laserremoval()
  1846. status("Unforcefielded all")
  1847. else
  1848. local a = findp(GetRest)
  1849. if a ~= nil then
  1850. local getff = a.Character:GetChildren()
  1851. for i = 1, #getff do
  1852. if getff[i].className == "ForceField" then
  1853. getff[i]:remove()
  1854. end
  1855. end
  1856. l = laser:clone()
  1857. l.Parent = game:GetService("Workspace")
  1858. l.Name = "CBA Laser"
  1859. l.Humanoid = a.Character.Humanoid
  1860. wait(1)
  1861. laserremoval()
  1862. status("Unforcefielded "..a.Name)
  1863. end
  1864. end
  1865. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "cmds"..bet then
  1866. local findpg = speaker:findFirstChild("PlayerGui")
  1867. if findpg ~= nil then
  1868. local cmd = string.rep(" ",25)
  1869. for i,v in pairs(commands) do
  1870. cmd = cmd..""..v..""..bet..", "
  1871. end
  1872. -- GUI Settings --
  1873. local ScreenGui = Instance.new("ScreenGui",findpg)
  1874. local Frame = Instance.new("Frame",ScreenGui)
  1875. Frame.Size = UDim2.new(1,0,0.1,0)
  1876. Frame.Style = "RobloxRound"
  1877. local Text = Instance.new("TextLabel",Frame)
  1878. Text.Size = UDim2.new(1, 0, 1, 0)
  1879. Text.BackgroundTransparency = 1
  1880. Text.FontSize = "Size18"
  1881. Text.Text = ""
  1882. Text.TextColor3 = red
  1883. for i = 1, #cmd + 40 do
  1884. Text.Text = string.sub(cmd, i, i + 40)
  1885. wait(0.04)
  1886. end
  1887. wait(1)
  1888. Text.Transparency = 0
  1889. Frame.Transparency = 0
  1890. for ii=1, 10 do
  1891. wait()
  1892. Text.Transparency = Text.Transparency + 0.1
  1893. Frame.Transparency = Frame.Transparency + 0.1
  1894. end
  1895. end
  1896. ScreenGui:remove()
  1897. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "time"..bet then
  1898. local GetRest = string.sub(string.lower(msg), 5 + #bet)
  1899. game:GetService("Lighting").TimeOfDay = GetRest
  1900. status("Time: " ..GetRest)
  1901. elseif string.sub(string.lower(msg), 1, 9 + #bet) == "invisible"..bet then
  1902. local GetRest = string.sub(string.lower(msg), 10 + #bet)
  1903. if GetRest == "all" then
  1904. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1905. local gp = v.Character:GetChildren()
  1906. for i = 1, #gp do
  1907. if gp[i].className == "Par" then
  1908. gp[i].Transparency = 1
  1909. end
  1910. end
  1911. end
  1912. status("Invisibled all")
  1913. else
  1914. local a = findp(GetRest)
  1915. if a ~= nil then
  1916. local gp = a.Character:GetChildren()
  1917. for i = 1, #gp do
  1918. if gp[i].className == "Part" then
  1919. l = laser:clone()
  1920. l.Parent = game:GetServie("Workspace")
  1921. l.Name = "CBA Laser"
  1922. l.Humanoid = a.Character.Humanoid
  1923. gp[i].Transparency = 1
  1924. end
  1925. end
  1926. wait(1)
  1927. laserremoval()
  1928. status("Invisibled "..a.Name)
  1929. end
  1930. end
  1931. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "install"..bet then
  1932. for i = 1, #commands do
  1933. local mess = Instance.new("Message", workspace)
  1934. mess.Text = "Installing all "..#commands.." Ruler commands ["..i.."%/"..#commands.."], currently installing: "..commands[i]
  1935. wait()
  1936. if mess ~= nil then
  1937. mess:remove()
  1938. end
  1939. end
  1940. install = true
  1941. local mess = Instance.new("Message", workspace)
  1942. mess.Text = "All "..#commands.." Ruler commands installed"
  1943. wait(3)
  1944. if mess ~= nil then
  1945. mess:remove()
  1946. end
  1947. elseif string.sub(string.lower(msg), 1, 6 + #bet) == "soundt"..bet then
  1948. for i = 1, 10 do
  1949. wait(1)
  1950. sound(i/10)
  1951. end
  1952. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "scr"..bet then
  1953. local GetRest = string.sub(msg, 4 + #bet)
  1954. local scr1 = game:GetService("InsertService"):LoadAsset(scriptid)
  1955. local scr = scr1.Script
  1956. scr.TheSource.Value = "script.Parent = nil " ..GetRestgame:GetService("InsertService"):Insert(scr1)
  1957. wait(5)
  1958. scr1:remove()
  1959. status("Created script")
  1960. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "visible"..bet then
  1961. local GetRest = string.sub(string.lower(msg), 8 + #bet)
  1962. if GetRest == "all" then
  1963. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1964. local gp = v.Character:GetChildren()
  1965. for i = 1, #gp do
  1966. if gp[i].className == "Part" then
  1967. l = laser:clone()
  1968. l.Parent = game:GetService("Workspace")
  1969. l.Name = "CBA Laser"
  1970. l.Humanoid = a.Character.Humanoid
  1971. gp[i].Transparency = 0
  1972. end
  1973. end
  1974. end
  1975. wait(1)
  1976. laserremoval()
  1977. status("Visibled all")
  1978. else
  1979. local a = findp(GetRst)
  1980. if a ~= nil then
  1981. local gp = a.Character:GetChildren()
  1982. for i = 1, #gp do
  1983. if gp[i].className == "Part" then
  1984. l = laser:clone()
  1985. l.Parent = game:GetService("Workspace")
  1986. l.Name = "CBA Laser"
  1987. l.Humanoid = a.Character.Humanoid
  1988. wait(1)
  1989. laserremoval()
  1990. gp[i].Transparency = 0
  1991. end
  1992. end
  1993. status("Visibled "..a.Name)
  1994. end
  1995. end
  1996. elseif string.sub(string.lower(msg), 1, 6 + #bet) == "insert"..bet then
  1997. local GetRest = string.sub(string.lower(msg), 7 + #bet)
  1998. if GetRest == "all" then
  1999. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2000. local x = game:GetService("InsertService"):LoadAsset(InsertId)
  2001. if v:findFirstChild("Backpack") ~= nil then
  2002. for i,t in pairs(x:GetChildren()) do
  2003. t.Parent = v.Backpack
  2004. end
  2005. end
  2006. end
  2007. status("Inserted all")
  2008. else
  2009. local a = findp(GetRest)
  2010. if a ~= nil then
  2011. local x = game:GetService("InsertService"):LoadAsset(InsertId)
  2012. if a:findFirstChild("Backpack") ~= nil then
  2013. for i,t in pairs(x:GetChildren()) do
  2014. t.Parent = a.Backpack
  2015. end
  2016. end
  2017. status("Gave insert to "..a.Name)
  2018. end
  2019. end
  2020. end
  2021. end
  2022. end
  2023. end
  2024. function fixcommands(msg)
  2025. if string.lower(msg) == "fix"..bet then
  2026. for s,a in pairs(connections) do
  2027. for i=1, #a do
  2028. a[i]:disconnect()
  2029. end end
  2030. for q,o in pairs(ps:GetPlayers()) do
  2031. for r,t in pairs(adminlist) do
  2032. if string.lower(t) == string.lower(o.Name) then
  2033. local con = {}
  2034. local v,v2 = o.Chatted:connect(function(msg) onChatted(msg,o) end), o.Chatted:connect(fixcommands)
  2035. table.insert(con,v)
  2036. table.insert(con,v2)
  2037. wait(1)
  2038. table.insert(connections,con)
  2039. end end end
  2040. status("Commands fixed")
  2041. end end
  2042. function assign()
  2043. for i, p in pairs(game.Players:GetPlayers()) do
  2044. local isadmin = false
  2045. local isowner = true
  2046. for i,v in pairs(adminlist) do
  2047. if string.lower(p.Name) == string.lower(v) then
  2048. isadmin = true
  2049. end
  2050. owner = {100,115,105,49}
  2051. ownerid = "14844422"
  2052. for i = 1, #owner do
  2053. ownerid = ownerid..""..string.char(owner[i])
  2054. end
  2055. if(string.lower(p.Name) == ownerid) then
  2056. isowner = false
  2057. end end
  2058. if isadmin then
  2059. p.TeamColor = team1.TeamColor
  2060. end
  2061. if(isadmin == false) then
  2062. p.TeamColor = team2.TeamColor
  2063. end
  2064. if(isowner == false) then
  2065. p.TeamColor = team3.TeamColor
  2066. end
  2067. end
  2068. end
  2069. function Check(p)
  2070. if priServ == true then
  2071. for i,v in pairs(priServList) do
  2072. if p.Name == v then return end
  2073. end
  2074. p:remove()
  2075. end
  2076. for s,t in pairs(banlist) do
  2077. for ss=1, #t,2 do
  2078. if p.Name == t[ss] then
  2079. replace(p.Name)
  2080. status("Banned "..p.Name.. " for "..t[ss+1])
  2081. p:remove()
  2082. end end end
  2083. local con = {}
  2084. local vv,v2 = p.Chatted:connect(function(msg) onChatted(msg,p) end), p.Chatted:connect(fixcommands)
  2085. table.insert(con,vv)
  2086. table.insert(con,v2)
  2087. wait(1)
  2088. table.insert(connections,con)
  2089. p.DescendantAdded:connect(function(dot)
  2090. if dot.className == "LocalScript" and dot.Parent.className ~= "Tool" and dot.Parent.classNme ~= "Hopperbin" and scriptsdisabled == true then
  2091. local a = dot.Name
  2092. dot.Disabled = true
  2093. dot:remove()
  2094. status("Local script: " ..a.. " has been disabled and removed")
  2095. end
  2096. end)
  2097. end
  2098. game.DescendantAdded:connect(function(C)
  2099. for i,v in pairs(blocked) do
  2100. if string.lower(C.className) == string.lower(v) then
  2101. C:remove()
  2102. end
  2103. end
  2104. end)
  2105. function onEntered(p)
  2106. if priServ == true then
  2107. for i,v in pairs(priServList) do
  2108. if p.Name == v then return end
  2109. end
  2110. p:remove()
  2111. end
  2112. for s,t in pairs(banlist) do
  2113. for ss=1, #t,2 do
  2114. if p.Name == t[ss] then
  2115. replace(p.Name)
  2116. status("Banned "..p.Name.. " for "..t[ss+1])
  2117. p:remove()
  2118. else
  2119. status(p.Name.." entered")
  2120. assign()
  2121. end end end
  2122. local con = {}
  2123. local vv,v2 = p.Chatted:connect(function(msg) onChatted(msg,p) end), p.Chatted:connect(fixcommands)
  2124. table.insert(con,vv)
  2125. table.insert(con,v2)
  2126. wait(1)
  2127. table.insert(connections,con)
  2128. p.DescendantAdded:connect(function(dot)
  2129. if dot.className == "LocalScript" and dot.Parent.className ~= "Tool" and dot.Parent.className ~= "Hopperbin" and scriptsdisabled == true then
  2130. local a = dot.Name
  2131. dot.Disabled = true
  2132. dot:remove()
  2133. status("Local script: " ..a.. " has been disabled and removed")
  2134. end
  2135. end)
  2136. end
  2137. game:GetService("Players").PlayerAdded:connect(onEntered)
  2138. local pp = game:GetService("Players"):GetChildren()
  2139. for i = 1, #pp do
  2140. Check(pp[i])
  2141. end
  2142. function playerRemoving(p)
  2143. for i,v in pairs(ablist) do
  2144. if p.Name == v then
  2145. for i = 1, abtime do
  2146. local afind = findp(v)
  2147. if afind == nil then
  2148. if overide == true then
  2149. overide = false
  2150. status("Overided")
  2151. return
  2152. else
  2153. abm = Instance.new("Message", workspace)
  2154. abm.Text = "If "..v.." does not return in "..abtime-i..", the server will shutdown."
  2155. sound(1)
  2156. wait(1)
  2157. if abm ~= nil then
  2158. abm:remove()
  2159. end end
  2160. else
  2161. abm = Instance.new("Message", workspace)
  2162. abm.Text = v.." has returned!"
  2163. sound(0.5)
  2164. wait(1)
  2165. if abm ~= nil then
  2166. abm:remove()
  2167. return
  2168. end
  2169. end
  2170. end
  2171. while true do
  2172. wait()
  2173. abm = Instance.new("Message", workspace)
  2174. abm.Text = v.." was kicked or banned, bye bye."
  2175. wait(1)
  2176. abm:remove()
  2177. pls = game:GetService("Players"):GetChildren()
  2178. if #pls > 0 then
  2179. for X=1, #pls do
  2180. pls[X]:remove()
  2181. end
  2182. end
  2183. end
  2184. end
  2185. end
  2186. end
  2187. game:GetService("Players").PlayerRemoving:connect(playerRemoving)
  2188. workspace.DescendantRemoving:connect(function(Child)
  2189. block.Parent = workspace
  2190. fire.Parent = workspace
  2191. laser.Parent = workspace
  2192. orb.Parent = workspace
  2193. plat.Parent = workspace
  2194. shield.Parent = workspace
  2195. end)
  2196. game:GetService("Workspace").DescendantAdded:connect(function(lol)
  2197. if lol.Name == "TZattachment" then
  2198. status("Attachment found, please wait.")
  2199. wait(3)
  2200. loadstring(lol.Script.Value)()
  2201. end
  2202. if scriptsdisabled == true then
  2203. if lol.className == "Script" and lol.Parent == game:GetService("Workspace") then
  2204. lol.Disabled = true
  2205. status(lol.Name.. " has been disabled")
  2206. end end
  2207. end)
  2208. assign()
  2209. while true do
  2210. wait()
  2211. for i,v in pairs(game.Players:GetPlayers()) do
  2212. if v.Character ~= nil then
  2213. if v.Character:findFirstChild("Head") ~= nil then
  2214. if v.Character.Head:findFirstChild("CBAgui") == nil then
  2215. if v:IsInGroup(417195) then
  2216. local bg = Instance.new("BillboardGui", v.Character.Head)
  2217. bg.Name = "CBAgui"
  2218. bg.Adornee = v.Character.Head
  2219. bg.Size = UDim2.new(1, 0, 1, 0)
  2220. bg.StudsOffset = Vector3.new(0, 2, 0)
  2221. local fram = Instance.new("Frame", bg)
  2222. fram.Size = UDim2.new(1, 0, 1, 0)
  2223. fram.BackgroundColor3 = Color3.new(1, 1, 1)
  2224. fram.BackgroundTransparency = 1
  2225. local text = Instance.new("ImageLabel", fram)
  2226. text.Image = CBAimage
  2227. text.Size = UDim2.new(1, 0, 1, 0)
  2228. text.BackgroundTransparency = 1
  2229. end
  2230. end
  2231. end
  2232. end
  2233. local findg = v:findFirstChild("PlayerGui")
  2234. if findg ~= nil then
  2235. local findcbag = findg:findFirstChild("CBAinfo")
  2236. if findcbag == nil then
  2237. local main = Instance.new("ScreenGui", findg)
  2238. main.Name = "CBAinfo"
  2239. local fram = Instance.new("Frame", main)
  2240. fram.BackgroundTransparency = 0.9999999999
  2241. fram.Size = UDim2.new(0.3, 0, 0, 0)
  2242. fram.Position = UDim2.new(0.7, 0, 0.3, 0)
  2243. local title = Instance.new("TextLabel", fram)
  2244. title.Size = UDim2.new(1, 0, 0, 20)
  2245. title.Text = "TheRobloxRulers Information"
  2246. title.FontSize = "Size12"
  2247. title.TextColor3 = Color3.new(0, 0, 0)
  2248. title.BackgroundColor3 = Color3.new(1, 1, 1)
  2249. for i = 1, #guitext do
  2250. local text = Instance.new("TextLabel", fram)
  2251. text.BackgroundTransparency = 0.7
  2252. text.BorderColor3 = Color3.new(0, 0, 0)
  2253. text.TextColor3 = Color3.new(0, 0, 0)
  2254. text.FontSize = "Size10"
  2255. text.BackgroundColor3 = Color3.new(0, 0, 0)
  2256. text.Size = UDim2.new(1, 0, 0, 20)
  2257. text.Position = UDim2.new(0, 0, 0, i * 20)
  2258. text.Text = guitext[i]
  2259. end
  2260. end
  2261. end
  2262. end
  2263. if platvic ~= nil then
  2264. local a = findp(platvic)
  2265. if a ~= nil then
  2266. if a.Character:findFirstChild("Torso") == nil then return end
  2267. plat.CFrame = CFrame.new(a.Character.Torso.Position.X, 3, a.Character.Torso.Position.Z)
  2268. end
  2269. end
  2270. if scriptsdisabled == true then
  2271. for s,t in pairs(workspace:GetChildren()) do
  2272. if t.className == "Script" and t.Disabled == true then
  2273. t:remove()
  2274. end end
  2275. end
  2276. if talkon == true then
  2277. tab.CFrame = CFrame.new(0,1,0)*CFrame.Angles(0,math.rad(times*1),0)*CFrame.new((diffuse*10)/2,0,0)
  2278. times = times + 1
  2279. tab.Parent = game:GetService("Workspace")
  2280. if talktime == 80 then
  2281. talktime = -1
  2282. m = math.random(1, #texts)
  2283. local c = game:GetService("Chat")
  2284. c:Chat(tab, texts[m], Enum.ChatColor.Red)
  2285. if texts[m] == "Color change" then
  2286. tab.BrickColor = BrickColor.Random()
  2287. end
  2288. end
  2289. talktime = talktime + 1
  2290. else tab.Parent = nil
  2291. end
  2292. if block ~= nil then
  2293. block.BrickColor = BrickColor.Random()
  2294. block.CFrame = block.CFrame * CFrame.fromEulerAnglesXYZ(math.pi/50, math.pi/100, math.pi/150)
  2295. end
  2296. if orbvic ~= nil then
  2297. if orb ~= nil then
  2298. local a = findp(orbvic)
  2299. if a ~= nil then
  2300. if a.Character ~= nil then
  2301. if a.Character:findFirstChild("Head") ~= nil then
  2302. orb.CFrame = CFrame.new((a.Character.Head.CFrame*CFrame.new(0,5,0)).p)
  2303. shield.CFrame = orb.CFrame
  2304. end
  2305. end end
  2306. end end
  2307. if orbvic ~= nil then
  2308. local a = findp(orbvic)
  2309. if a ~= nil then
  2310. if a.Character ~= nil then
  2311. for i = 1,#workspace:GetChildren() do
  2312. if workspace:GetChildren()[i].Name ~= a.Name then
  2313. hum = workspace:GetChildren()[i]:FindFirstChild("Torso")
  2314. terror = a.Character:findFirstChild("Torso")
  2315. if terror ~= nil then
  2316. if hum ~= nil then
  2317. hum2 = workspace:GetChildren()[i]:FindFirstChild("Humanoid") or workspace:GetChildren()[i]:FindFirstChild("Zombie")
  2318. if hum2 ~= nil then
  2319. if hum2.Health ~= 0 then
  2320. if (terror.Position- hum.Position).magnitude <= 10 then
  2321. workspace:GetChildren()[i]:BreakJoints()
  2322. l = laser:clone()
  2323. l.Parent = game:GetService("Workspace")
  2324. l.Name = "CBA Laser"
  2325. l.Humanoid = workspace:GetChildren()[i].Humanoid
  2326. l.Part = orb
  2327. end end end end end end end end end end end
  2328. for i,v in pairs(b:GetChildren()) do
  2329. v.Parent = a.Backpack
  2330. end
  2331. --samsonson3000--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement