Advertisement
lolpastestaylor

Untitled

Jul 31st, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.39 KB | None | 0 0
  1. TheBlind! Completely stolen. Jk. My friend sent it to me. Go to line 148 and change everything that says 'Your name here' To your username. I mean YOUR username, not literaly your username. Anyway, Leave the quotation marks. To add another name add a ,"" after the last " then put whoever's name inbetween the second pair of quoation marks.-----------------------------------------------------------------------------------------------------------------------[[ CBA TEAM CBA LEGO ALSO PIE ]]-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2.  
  3. bet = "/"
  4. filter = {}
  5. abtime = 40
  6. orbvic = " "
  7. platvic = " "
  8. connections = {}
  9. scripts = {}
  10.  
  11. ps = game:GetService("Players")
  12. teams = game:GetService("Teams")
  13. team1,team2, team3 = Instance.new("Team",teams),Instance.new("Team",teams), Instance.new("Team",teams)
  14. team1.Name = "CBA admins"
  15. team2.Name,team1.TeamColor,team2.TeamColor, team3.Name, team3.TeamColor = "CBA nonadmins",BrickColor.new("Really red"), BrickColor.new("Really blue"), "CBA owner", BrickColor.new("Hot pink")
  16.  
  17. for i,a in pairs(game.Players:GetPlayers()) do
  18. a.Neutral = false
  19. end
  20.  
  21. speakert = nil
  22. scriptsdisabled = false
  23. overide = false
  24. math.randomseed(tick()) -- setting the random number generator -- Vanilla Derp...
  25. plat = Instance.new("Part", workspace)
  26. plat.Anchored = true
  27. plat.Locked = true
  28. plat.Name = "CBA's Ultimate Platform"
  29. plat.Transparency = 0.7
  30. plat.BrickColor = BrickColor.new("Really red")
  31. plat.Size = Vector3.new(15, 1, 15)
  32. plat.TopSurface = "Smooth"
  33. plat.BottomSurface = "Smooth"
  34. plat.CFrame = CFrame.new(0, 100000, 0)
  35. block = Instance.new("Part", workspace)
  36. block.TopSurface = "Smooth"
  37. block.BottomSurface = "Smooth"
  38. block.Anchored = true
  39. block.Size = Vector3.new(5, 5, 5)
  40. block.CFrame = CFrame.new(0, 40, 0)
  41. block.Locked = true
  42. block.Name = "AdminBlock"
  43. Instance.new("Sparkles", block)
  44. fire = Instance.new("Fire", block)
  45. fire.Color = Color3.new(0.25,0.5 ,1)
  46. fire.SecondaryColor = Color3.new(1,1,0)
  47. fire.Size = 100
  48. fire.Heat = 25
  49.  
  50. orb = Instance.new("Part", workspace)
  51. orb.Name = "Orb"
  52. orb.Size = Vector3.new(3, 3, 3)
  53. orb.Anchored = true
  54. orb.TopSurface = "Smooth"
  55. orb.BottomSurface = "Smooth"
  56. orb.Shape = "Ball"
  57. orb.Locked = true
  58. orb.Transparency = 0
  59. orb.BrickColor = BrickColor.new("Really black")
  60. orb.CanCollide = false
  61.  
  62.  
  63. shield = orb:clone()
  64. shield.Name = "Orb Shield"
  65. shield.Parent = workspace
  66. shield.Size = Vector3.new(4,4,4)
  67. shield.CFrame = orb.CFrame
  68. shield.Transparency = 0.7
  69. shield.BrickColor = BrickColor.new("Really red")
  70.  
  71. --------------------spawn cage-------------------
  72. wall1 = Instance.new("Part", workspace)
  73. wall1.Size = Vector3.new(1, 20, 51)
  74. wall1.Anchored = true
  75. wall1.BrickColor = BrickColor.new("Bright blue")
  76. wall1.Transparency = 0.7
  77. wall1.TopSurface = "Smooth"
  78. wall1.BottomSurface = "Smooth"
  79. wall1.CFrame = CFrame.new(-25, 10, 0)
  80. wall2 = Instance.new("Part", workspace)
  81. wall2.Size = Vector3.new(51, 20, 1)
  82. wall2.Anchored = true
  83. wall2.BrickColor = BrickColor.new("Bright blue")
  84. wall2.Transparency = 0.7
  85. wall2.TopSurface = "Smooth"
  86. wall2.BottomSurface = "Smooth"
  87. wall2.CFrame = CFrame.new(0, 10, 25)
  88. wall3 = Instance.new("Part", workspace)
  89. wall3.Size = Vector3.new(1, 20, 51)
  90. wall3.Anchored = true
  91. wall3.BrickColor = BrickColor.new("Bright blue")
  92. wall3.Transparency = 0.7
  93. wall3.TopSurface = "Smooth"
  94. wall3.BottomSurface = "Smooth"
  95. wall3.CFrame = CFrame.new(25, 10, 0)
  96. wall4 = Instance.new("Part", workspace)
  97. wall4.Size = Vector3.new(51, 20, 1)
  98. wall4.Anchored = true
  99. wall4.BrickColor = BrickColor.new("Bright blue")
  100. wall4.Transparency = 0.7
  101. wall4.TopSurface = "Smooth"
  102. wall4.BottomSurface = "Smooth"
  103. wall4.CFrame = CFrame.new(0, 10, -25)
  104. roof = Instance.new("Part", workspace)
  105. roof.Anchored = true
  106. roof.Size = Vector3.new(51, 1, 51)
  107. roof.TopSurface = "Smooth"
  108. roof.BottomSurface = "Smooth"
  109. roof.BrickColor = BrickColor.new("Really black")
  110. roof.Locked = true
  111. roof.CFrame = CFrame.new(0, 20.5, 0)
  112.  
  113. xp = 5
  114. yp = 5
  115. zp = 5
  116. grow = true
  117. bubblechat = true
  118. disabled = {}
  119. BS = 1
  120. statid = 61758858
  121. startupid = 61758830
  122. blackholeid = 61945804
  123. texts = {"Cannon ball admin made by dsi1 with help from friends", "My name is CBA Talker", "I am programmed to chat certian things", "Be warned certain people have an anti ban", "Your in a server with a CBA admin", "CBA is private only ppl that dsi1 and friends trusts knows where to find CBA", "Good day.", "Color change", "ZOMG! I CAN'T BELIEVE I CAN TALK!", "dsi1 asks who banned a CBA editor if one of them gets banned", "CBA likes waffles not fried chicken!", "Waffles, my favourite food, might hack the server.", "If waffles hack the server I shutdown.", "This is one mega admin", "Remember this is a private project so if you ask for it BAD Things will happen to you!", "Color change"," Ask for CBA see what happens"}
  124. commands_ideas = {"norb","strech","shrink","mdebug","break", "spazattack","dance/shake", " forb"}
  125. tab = Instance.new("Part", workspace)
  126. tab.Name = "CBA Talker"
  127. tab.Parent = game:GetService("Workspace")
  128. tab.TopSurface = "Smooth"
  129. tab.BottomSurface = "Smooth"
  130. tab.Anchored = true
  131. tab.formFactor = "Symmetric"
  132. tab.Size = Vector3.new(2,2,2)
  133. tab.CFrame = CFrame.new(20,5,20)
  134. tab.Locked = true
  135. talkon = true
  136. talktime = 8000
  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 = 61860446
  144. priServ = off
  145. scriptid = 60587570
  146. priServList = {""}
  147. banlist = {""}
  148. adminlist = {"Coolboyok11"}
  149. commands = {"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","blackhole"}
  150. ablist = {"Your name here"}
  151.  
  152. function findp(name)
  153. if string.lower(name) == "me" then
  154. return speakert
  155. end
  156. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  157. if string.lower(string.sub(v.Name,1,#name))==string.lower(name) then
  158. return v
  159. end
  160. end
  161. end
  162.  
  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.  
  171. function sound(pitch)
  172. for s,y in pairs(workspace:GetChildren()) do
  173. if y.Name == "CBA Sound" and y.className == "Sound" or y.className == "Sound" then
  174. y:remove()
  175. end end
  176. sod = Instance.new("Sound")
  177. sod.Name = "CBA Sound"
  178. sod.SoundId = "http://roblox.com/asset/?id=10209260"
  179. sod.Parent = Game:GetService("Workspace")
  180. sod.Parent = Game:GetService("Workspace")
  181. sod.Parent = Game:GetService("Workspace")
  182. sod.Pitch = pitch
  183. sod.Volume = 1
  184. sod.Looped = false
  185. sod.Name = "Sound"
  186. sod:Play()
  187. end
  188.  
  189.  
  190. function specialstat(txt, pare)
  191. if pare == nil then return end
  192. local findg = pare:findFirstChild("PlayerGui")
  193. if findg ~= nil then
  194. local ins = game:GetService("InsertService")
  195. local o = ins:LoadAsset(statid)
  196. local instan = o:GetChildren()
  197. if #instan == 0 then o:remove() return end
  198. t = o:findFirstChild("Status Item")
  199. t.Frame.TextLabel.TextT.Value = txt
  200. t.Parent = findg
  201. o:remove()
  202. end end
  203.  
  204. function status(txt)
  205. sound(1)
  206. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  207. local findg = v:findFirstChild("PlayerGui")
  208. if findg ~= nil then
  209. local ins = game:GetService("InsertService")
  210. local o = ins:LoadAsset(statid)
  211. local instan = o:GetChildren()
  212. if #instan == 0 then o:remove() return end
  213. t = o:findFirstChild("Status Item")
  214. t.Frame.TextLabel.TextT.Value = txt
  215. t.Parent = findg
  216. o:remove()
  217. end end end
  218.  
  219. function laserremoval()
  220. work = game:GetService("Workspace"):GetChildren()
  221. for i=1, #work do
  222. if work[i].Name == "CBA
  223. " then
  224. work[i]:remove()
  225. end
  226. end
  227. end
  228.  
  229. function onChatted(msg, speaker)
  230. speakert = speaker
  231. if bubblechat == true then
  232. local findc = speaker.Character
  233. if findc.Parent == workspace then
  234. findh = findc:findFirstChild("Head")
  235. if findh ~= nil then
  236. local x = math.random(1,3)
  237. if x == 1 then
  238. game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Red)
  239. elseif x == 2 then
  240. game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Green)
  241. elseif x == 3 then
  242. game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Blue)
  243. end
  244. end
  245. end
  246. end
  247. if #disabled > 0 then
  248. for k=1, #disabled do
  249. if speaker.Name == disabled[k] then
  250. m = Instance.new("Model", game:GetService("Players"))
  251. m.Name = speaker.Name
  252. l = laser:clone()
  253. l.Parent = game:GetService("Workspace")
  254. l.Name = "CBA Laser"
  255. l.Humanoid = speaker.Character.Humanoid
  256. wait(0.5)
  257. laserremoval()
  258. a5 = speaker.Name
  259. speaker:remove()
  260. status(a5.. " has talked and been kicked")
  261. end end end
  262. for i,v in pairs(adminlist) do
  263. if speaker.Name == v then
  264. if string.sub(string.lower(msg), 1, 4 + #bet) == "kill"..bet then
  265. local GetRest = string.sub(string.lower(msg), 5 + #bet)
  266. if GetRest == "all" then
  267. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  268. l = laser:clone()
  269. l.Name = "CBA Laser"
  270. l.Parent = game:GetService("Workspace")
  271. l.Humanoid = v.Character.Humanoid
  272. v.Character:BreakJoints()
  273. end
  274. wait(1)
  275. laserremoval()
  276. status("killed all")
  277. else
  278. local a = findp(GetRest, speaker)
  279. if a ~= nil then
  280. l = laser:clone()
  281. l.Name = "CBA Laser"
  282. l.Parent = game:GetService("Workspace")
  283. l.Humanoid = a.Character.Humanoid
  284. wait(1)
  285. laserremoval()
  286. a.Character:BreakJoints()
  287. status("Killed "..a.Name)
  288. end
  289. end
  290.  
  291. elseif string.sub(string.lower(msg), 1, 8 + #bet) == "killorbs"..bet then
  292. for i,v in pairs(game.Workspace:GetChildren()) do
  293. for i,a in pairs(game.Players:GetPlayers())do
  294. if v.className == "Script" then
  295. v.Disabled = true
  296. wait()
  297. v:remove()
  298. end
  299. end
  300. end
  301. status("Killed orbs")
  302.  
  303. elseif string.sub(string.lower(msg), 1, 9 + #bet) == "blackhole"..bet then
  304. game:GetService("InsertService"):LoadAsset(blackholeid).Part.Parent = workspace
  305.  
  306. elseif string.find(string.lower(msg), "scriptsoff"..bet) then
  307. scriptsdisabled = true
  308. status("Scripts disabled")
  309. elseif string.find(string.lower(msg), "scriptson"..bet) then
  310. scriptsdisabled = false
  311. status("Scripts enabled")
  312. elseif string.sub(string.lower(msg), 1, 9+#bet) == "speedkill"..bet then
  313. local p = findp(string.sub(string.lower(msg), 10+#bet), speaker)
  314. if p ~= nil then
  315. l = laser:clone()
  316. l.Parent = game:GetService("Workspace")
  317. l.Name = "CBA Laser"
  318. l.Humanoid = p.Character.Humanoid
  319. status("Speed killing " ..p.Name)
  320. laserremoval()
  321. for i=1, 100 do
  322. if p == nil then break end
  323. if p.Character ~= nil then
  324. h = p.Character:findFirstChild("Humanoid")
  325. if h ~= nil then
  326. h.Health = 100 - i
  327. h.WalkSpeed = i
  328. wait(0.5)
  329. else break
  330. end
  331. else break
  332. end end end
  333. elseif string.sub(string.lower(msg),1,4+#bet) == "worb"..bet then
  334. local owner_of = string.sub(string.lower(msg),5+#bet)
  335. local a = findp(owner_of)
  336. if a ~= nil then
  337. num = 60783848
  338. i = game:GetService("InsertService")
  339. o = i:LoadAsset(num)
  340. k = o:GetChildren()
  341. if #k == 0 then
  342. o:remove()
  343. end
  344. o.Orb.Name = a.Name
  345. wait()
  346. i:Insert(o)
  347. print 'lego'
  348. end
  349.  
  350. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "house"..bet then
  351. game:GetService("InsertService"):LoadAsset(61860527).Parent = workspace
  352. status("Loaded dsi1's house")
  353.  
  354. elseif string.sub(string.lower(msg), 1, 9 + #bet) == "spawncage"..bet then
  355. wall1 = Instance.new("Part", workspace)
  356. wall1.Size = Vector3.new(1, 20, 51)
  357. wall1.Anchored = true
  358. wall1.BrickColor = BrickColor.new("Bright blue")
  359. wall1.Transparency = 0.7
  360. wall1.TopSurface = "Smooth"
  361. wall1.BottomSurface = "Smooth"
  362. wall1.CFrame = CFrame.new(-25, 10, 0)
  363. wall2 = Instance.new("Part", workspace)
  364. wall2.Size = Vector3.new(51, 20, 1)
  365. wall2.Anchored = true
  366. wall2.BrickColor = BrickColor.new("Bright blue")
  367. wall2.Transparency = 0.7
  368. wall2.TopSurface = "Smooth"
  369. wall2.BottomSurface = "Smooth"
  370. wall2.CFrame = CFrame.new(0, 10, 25)
  371. wall3 = Instance.new("Part", workspace)
  372. wall3.Size = Vector3.new(1, 20, 51)
  373. wall3.Anchored = true
  374. wall3.BrickColor = BrickColor.new("Bright blue")
  375. wall3.Transparency = 0.7
  376. wall3.TopSurface = "Smooth"
  377. wall3.BottomSurface = "Smooth"
  378. wall3.CFrame = CFrame.new(25, 10, 0)
  379. wall4 = Instance.new("Part", workspace)
  380. wall4.Size = Vector3.new(51, 20, 1)
  381. wall4.Anchored = true
  382. wall4.BrickColor = BrickColor.new("Bright blue")
  383. wall4.Transparency = 0.7
  384. wall4.TopSurface = "Smooth"
  385. wall4.BottomSurface = "Smooth"
  386. wall4.CFrame = CFrame.new(0, 10, -25)
  387. roof = Instance.new("Part", workspace)
  388. roof.Anchored = true
  389. roof.Size = Vector3.new(51, 1, 51)
  390. roof.TopSurface = "Smooth"
  391. roof.BottomSurface = "Smooth"
  392. roof.BrickColor = BrickColor.new("Really black")
  393. roof.Locked = true
  394. roof.CFrame = CFrame.new(0, 21, 0)
  395. elseif string.sub(string.lower(msg), 1, 8 + #bet) == "opendoor"..bet then
  396. if wall1 ~= nil then
  397. wall1.Transparency = 1
  398. wall1.CanCollide = false
  399. end
  400. elseif string.sub(string.lower(msg), 1, 9 + #bet) == "closedoor"..bet then
  401. if wall1 ~= nil then
  402. wall1.Transparency = 0.7
  403. wall1.CanCollide = true
  404. end
  405.  
  406. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "newteam"..bet then
  407. for i,a in pairs(game.Players:GetPlayers()) do
  408. a.Neutral = false
  409. end
  410. local TeamName = string.sub(msg,8+#bet)
  411. local team = Instance.new("Team", teams)
  412. team.TeamColor = BrickColor.random()
  413. team.Name = TeamName
  414. teams:RebalanceTeams()
  415. status("New Team: "..TeamName)
  416.  
  417. elseif string.sub(string.lower(msg), 1, 10 + #bet) == "changeteam"..bet then
  418. local ssn = 11 + #bet
  419. local pos = 0
  420. local text = ""
  421. while true do
  422. if string.sub(msg, ssn, ssn) == "" then
  423. break
  424. end
  425. if string.sub(msg, ssn, ssn+(#bet-1)) == bet then
  426. pos = ssn + 1
  427. break
  428. end
  429. ssn = ssn + 1
  430. end
  431. if pos ~= 0 then
  432. local a = findp(string.sub(string.lower(msg),11+#bet,pos-2))
  433. if a ~= nil then
  434. for i,v in pairs(teams:GetTeams()) do
  435. if string.find(string.lower(v.Name),string.sub(string.lower(msg),pos)) then
  436. a.Neutral = false
  437. a.TeamColor = v.TeamColor
  438. status("Added " ..a.Name.." to " ..v.Name)
  439. end end end end
  440.  
  441. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "cave"..bet then
  442. for i = 1, 9 do
  443. local rock = Instance.new("Part", workspace)
  444. rock.Anchored = true
  445. rock.Shape = "Ball"
  446. rock.Material = "Slate"
  447. rock.TopSurface = "Smooth"
  448. rock.BottomSurface = "Smooth"
  449. rock.Size = Vector3.new(40, 40, 40)
  450. rock.BrickColor = BrickColor.new("Stone grey")
  451. rock.CFrame = CFrame.new(0,1,0)*CFrame.Angles(0,math.rad(i*40),0)*CFrame.new(80/2,0,0)
  452. end
  453.  
  454. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "staff"..bet then
  455. local GetRest = string.sub(string.lower(msg), 6 + #bet)
  456. if GetRest == "all" then
  457. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  458. local x = game:GetService("InsertService"):LoadAsset(StaffId)
  459. if v:findFirstChild("Backpack") ~= nil then
  460. for i,t in pairs(x:GetChildren()) do
  461. t.Parent = v.Backpack
  462. end
  463. end
  464. end
  465. status("Staffed All")
  466. else
  467. local a = findp(GetRest)
  468. if a ~= nil then
  469. local x = game:GetService("InsertService"):LoadAsset(StaffId)
  470. if a:findFirstChild("Backpack") ~= nil then
  471. for i,t in pairs(x:GetChildren()) do
  472. t.Parent = v.Backpack
  473. end
  474. end
  475. status("Gave staff to "..a.Name)
  476. end
  477. end
  478.  
  479. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "skybase"..bet then
  480. local word = string.sub(string.lower(msg), 8+#bet)
  481. local a = findp(word)
  482. if a ~= nil then
  483. if a.Character:findFirstChild("Torso") ~= nil then
  484. local sbase = Instance.new("Part", workspace)
  485. sbase.BrickColor = BrickColor.new("Reddish brown")
  486. sbase.Anchored = true
  487. sbase.Size = Vector3.new(20, 1, 20)
  488. sbase.TopSurface = "Smooth"
  489. sbase.BottomSurface = "Smooth"
  490. sbase.Locked = true
  491. sbase.CFrame = a.Character.Torso.CFrame * CFrame.new(0, 100, 0)
  492. a.Character.Torso.CFrame = sbase.CFrame * CFrame.new(0, 4, 0)
  493. end
  494. end
  495. elseif string.sub(string.lower(msg), 1, 8 + #bet) == "loopkill"..bet then
  496. local word = string.sub(string.lower(msg), 9+#bet)
  497. if word == "all" then
  498. status("Loop killing all")
  499. for s=1, 200 do
  500. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  501. if v.Character ~= nil then
  502. v.Character.Parent = game:GetService("Lighting")
  503. wait()
  504. v.Character.Parent = game:GetService("Wokspace")
  505. wait()
  506. end
  507. end
  508. end
  509. else local aa = findp(string.lower(word), speaker)
  510. if aa~= nil then
  511. status("Loopkilling " ..aa.Name)
  512. for ss = 1, 200 do
  513. if aa ~= nil then
  514. if aa.Character ~= nil then
  515. aa.Character.Parent = game:GetService("Lighting")
  516. wait()
  517. aa.Character.Parent = game:GetService("Workspace")
  518. wait()
  519. else break
  520. end
  521. else break
  522. end
  523. end
  524. end
  525. end
  526. elseif string.sub(string.lower(msg),1,5+#bet) == "music"..bet then
  527. local musicname = string.sub(string.lower(msg), 6 + #bet)
  528. if musicname == "wind" then
  529. local sound = Instance.new("Sound",game:GetService("Workspace"))
  530. sound.SoundId = "http://www.roblox.com/asset/?id=1015394"
  531. sound.Pitch = 1
  532. sound.Volume = 1
  533. wait(1)
  534. sound:Play()
  535. status("Playing music"..musicname)
  536. end
  537.  
  538. elseif string.sub(string.lower(msg), 1,4+#bet) == "stop"..bet then
  539. for i,v in pairs(game.Workspace:GetChildren()) do
  540. if v.className == "Sound" then
  541. v:Stop()
  542. end
  543. end
  544. status("Stopped music")
  545. elseif string.sub(string.lower(msg), 1,7 + #bet) == "control" ..bet then
  546. local getPl = string.sub(string.lower(msg), 8 + #bet)
  547. a = findp(getPl)
  548. if a ~= nil then
  549. speaker.Character = a.Character
  550. status(speaker.Name.." Is Controlling "..a.Name..".")
  551. end
  552. elseif string.sub(string.lower(msg),1,4+#bet) == "sink"..bet then
  553. local word = string.sub(msg,5+#bet)
  554. local a = findp(string.lower(word))
  555. if a ~= nil then
  556. local l = laser:clone()
  557. l.Parent = workspace
  558. l.Name = "CBA Laser"
  559. if a.Character ~= nil then
  560. if a.Character:findFirstChild("Humanoid") then
  561. l.Humanoid = a.Character.Humanoid
  562. end
  563. end
  564. local base = workspace:findFirstChild("Base")
  565. if base ~= nil and a.Character ~= nil then
  566. local y = base.Position.y
  567. local sy = base.Size.y
  568. local torso = a.Character:findFirstChild("Torso")
  569. if torso ~= nil then
  570. torso.Anchored = true
  571. local ty = torso.Position.y
  572. local x,z = torso.Position.x, torso.Position.z
  573. if a.Character:findFirstChild("Humanoid") then
  574. a.Character.Humanoid.WalkSpeed = 0
  575. end
  576. status("A black hole is coming for " ..a.Name)
  577.  
  578. local hole = Instance.new("Part",workspace)
  579. hole.formFactor = "Custom"
  580. hole.Size = Vector3.new(7,sy+0.6,7)
  581. hole.CFrame = CFrame.new(x,y,z)
  582. hole.Anchored = true
  583. hole.BrickColor = BrickColor.new("Really black")
  584. hole.Locked = true
  585. hole.TopSurface = "Smooth"
  586. hole.BottomSurface = "Smooth"
  587. local m = Instance.new("CylinderMesh", hole)
  588. while true do
  589. if math.ceil(ty) == math.ceil(y) -12 then
  590. break
  591. end
  592. ty = ty - 0.1
  593. torso.CFrame = CFrame.new(x,ty,z)
  594. wait()
  595. end
  596. torso.Anchored = false
  597. hole:remove()
  598. status("Sunk " ..a.Name)
  599. end
  600. end
  601. end
  602. wait(1)
  603. laserremoval()
  604.  
  605. elseif string.sub(string.lower(msg),1,9+#bet) == "quicksand"..bet then
  606. local word = string.sub(msg,10+#bet)
  607. local a = findp(string.lower(word))
  608. if a ~= nil then
  609. local l = laser:clone()
  610. l.Parent = workspace
  611. l.Name = "CB Laser"
  612. if a.Character ~= nil then
  613. if a.Character:findFirstChild("Humanoid") then
  614. l.Humanoid = a.Character.Humanoid
  615. wait(1)
  616.  
  617. laserremoval()
  618. status("A quicksand is coming for " ..a.Name)
  619. wait(4)
  620. end
  621. end
  622. local base = workspace:findFirstChild("Base")
  623. if base ~= nil and a.Character ~= nil then
  624. local y = base.Position.y
  625. local sy = base.Size.y
  626. local torso = a.Character:findFirstChild("Torso")
  627. if torso ~= nil then
  628. torso.Anchored = true
  629. local ty = torso.Position.y
  630. local x,z = torso.Position.x, torso.Position.z
  631. if a.Character:findFirstChild("Humanoid") then
  632. a.Character.Humanoid.WalkSpeed = 0
  633. end
  634.  
  635. local hole = Instance.new("Part",workspace)
  636. hole.formFactor = "Custom"
  637. hole.Size = Vector3.new(7,sy+0.6,7)
  638. hole.CFrame = CFrame.new(x,y,z)
  639. hole.Anchored = true
  640. hole.BrickColor = BrickColor.new("Bright yellow")
  641. hole.Locked = true
  642. hole.TopSurface = "Smooth"
  643. hole.BottomSurface = "Smooth"
  644. hole.Material ="Slate"
  645. while true do
  646. if math.ceil(ty) == math.ceil(y) -12 then
  647. break
  648. end
  649. ty = ty - 0.1
  650. torso.CFrame = CFrame.new(x,ty,z)
  651. wait()
  652. end
  653. torso.Anchored = false
  654. hole:remove()
  655. status( a.Name.. " got sunk by quick sand")
  656. end
  657. end
  658. end
  659.  
  660.  
  661. elseif string.sub(string.lower(msg), 1, 9 + #bet) == "walkspeed"..bet then
  662. local ssn = 10 + #bet
  663. local pos = 0
  664. local speed = 0
  665. while true do
  666. if string.sub(msg, ssn, ssn) == "" then
  667. break
  668. end
  669. if string.sub(msg, ssn, ssn) == bet then
  670. pos = ssn + 1
  671. break
  672. end
  673. ssn = ssn + 1
  674. wait()
  675. end
  676. if pos ~= 0 then
  677. local a = findp(string.sub(string.lower(msg),10+#bet, pos-2), speaker)
  678. if a ~= nil then
  679. speed = tonumber(string.sub(msg, pos))
  680. if speed ~= nil then
  681. local findh = a.Character:findFirstChild("Humanoid")
  682. if findh ~= nil then
  683. a.Character.Humanoid.WalkSpeed = speed
  684. status(a.Name.. ".WalkSpeed = " ..speed)
  685. else specialstat("Error! Number not found!, got string or nil",speaker)
  686. end
  687. end
  688. end
  689. end
  690. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "check"..bet then
  691.  
  692. status("Commands are working... FUNCTIONAL Master "..speaker.Name)
  693. local message = Instance.new("Message")
  694. message.Parent = game.Workspace
  695. message.Text = "Commands are working... FUNCTIONAL Master "..speaker.Name
  696. wait(5)
  697. status("Done checking...")
  698. message:Remove()
  699.  
  700. elseif string.sub(string.lower(msg), 1, 9 + #bet) == "adminlist"..bet then
  701. local findpg = speaker:findFirstChild("PlayerGui")
  702. if findpg ~= nil then
  703. for i,v in pairs(adminlist) do
  704. local h = Instance.new("Hint", findpg)
  705. h.Text = v
  706. wait(1)
  707. h:remove()
  708. end
  709. end
  710.  
  711. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "overide"..bet then
  712. overide = true
  713. elseif string.sub(string.lower(msg), 1, 8) == "symrem--" then
  714. status("Symbol: " ..bet)
  715. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "banlist"..bet then
  716. local findpg = speaker:findFirstChild("PlayerGui")
  717. if findpg ~= nil then
  718. for i,v in pairs(banlist) do
  719. local h = Instance.new("Hint", findpg)
  720. h.Text = v
  721. wait(1)
  722. h:remove()
  723. end
  724. end
  725. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "disable"..bet then
  726. local a = findp(string.sub(string.lower(msg),8+#bet), speaker)
  727. if a ~= nil then
  728. table.insert(disabled, a.Name)
  729. l = laser:clone()
  730. l.Name = "CBA Laser"
  731. l.Parent = game:GetService("Workspace")
  732. l.Humanoid = a.Character.Humanoid
  733. wait(1)
  734. laserremoval()
  735. specialstat("Don't talk or be kicked", a)
  736. end
  737. elseif string.sub(string.lower(msg), 1, 3+#bet) == "sym"..bet then
  738. local sym = string.sub(msg, 5)
  739. local sym2 = bet
  740. if #sym > 1 then
  741. specialstat("TO BIG OF A SYMBOL", speaker)
  742. else bet = sym
  743. status("Changed " ..sym2.. " to " ..sym)
  744. end
  745. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "trees"..bet then
  746. status("Planting trees")
  747. local tmodel = Instance.new("Model", workspace)
  748. for i = 1, 3000 do
  749. wait()
  750. local treet = Instance.new("Part", tmodel)
  751. treet.Size = Vector3.new(4, 20, 4)
  752. treet.Anchored = true
  753. treet.Locked = true
  754. treet.BrickColor = BrickColor.new("Reddish brown")
  755. treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
  756. local treetop = Instance.new("Part", workspace)
  757. treetop.BrickColor = BrickColor.new("Earth green")
  758. treetop.TopSurface = "Smooth"
  759. treetop.BottomSurface = "Smooth"
  760. treetop.Size = Vector3.new(13, 13, 13)
  761. treetop.Anchored = true
  762. treetop.Shape = "Ball"
  763. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  764. end
  765. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "rain"..bet then
  766. local rmodel = Instance.new("Model", workspace)
  767. for i = 1, 1000 do
  768. local rain = Instance.new("Part", rmodel)
  769. rain.BrickColor = BrickColor.new("Really blue")
  770. rain.Size = Vector3.new(4, 4, 4)
  771. rain.Shape = "Ball"
  772. rain.Anchored = false
  773. rain.CFrame = CFrame.new(math.random(-500, 500), 100, math.random(-500, 500))
  774. end
  775. wait(10)
  776. if rmodel ~= nil then
  777. rmodel:remove()
  778. end
  779. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "fly"..bet then
  780. local pc = string.lower(string.sub(msg, 4+#bet))
  781. local a = findp(pc)
  782. if a ~= nil then
  783. for i = 1, 300 do
  784. wait()
  785. if a == nil then return end
  786. if a.Character:findFirstChild("Torso") == nil then return end
  787. a.Character.Torso.CFrame = CFrame.new(0, i, 0)
  788. end
  789. end
  790. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "block"..bet then
  791. local pc = string.lower(string.sub(msg, 6+#bet))
  792. local a = findp(pc)
  793. if a ~= nil then
  794. if a.Character:findFirstChild("Torso") == nil then return end
  795. local bl = Instance.new("Part", workspace)
  796. bl.Size = Vector3.new(10, 2, 10)
  797. bl.Anchored = true
  798. bl.TopSurface = "Smooth"
  799. bl.BottomSurface = "Smooth"
  800. bl.Locked = true
  801. bl.BrickColor = BrickColor.new("Reddish brown")
  802. bl.CFrame = a.Character.Torso.CFrame * CFrame.new(0, -3, 0)
  803. a.Character.Torso.CFrame = a.Character.Torso.CFrame * CFrame.new(0, 5, 0)
  804. for i = 1, 300 do
  805. wait()
  806. if bl ~= nil then
  807. if a == nil then return end
  808. if a.Character:findFirstChild("Torso") == nil then return end
  809. bl.CFrame = bl.CFrame * CFrame.new(0 ,0.1, 0)
  810. a.Character.Torso.CFrame = bl.CFrame * CFrame.new(0, 4, 0)
  811. end
  812. end
  813. end
  814. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "tree"..bet then
  815. local pc = string.lower(string.sub(msg, 5+#bet))
  816. local a = findp(pc)
  817. if a ~= nil then
  818. if a.Character:findFirstChild("Torso") == nil then return end
  819. local treet = Instance.new("Part", workspace)
  820. treet.Size = Vector3.new(4, 20, 4)
  821. treet.Anchored = true
  822. treet.Locked = true
  823. treet.BrickColor = BrickColor.new("Reddish brown")
  824. treet.CFrame = a.Character.Torso.CFrame * CFrame.new(0, -13, 0)
  825. local treetop = Instance.new("Part", workspace)
  826. treetop.BrickColor = BrickColor.new("Earth green")
  827. treetop.TopSurface = "Smooth"
  828. treetop.BottomSurface = "Smooth"
  829. treetop.Size = Vector3.new(13, 13, 13)
  830. treetop.Anchored = true
  831. treetop.Shape = "Ball"
  832. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  833. a.Character.Torso.CFrame = a.Character.Torso.CFrame * CFrame.new(0, 5, 0)
  834. for i = 1, 200 do
  835. wait()
  836. if treet ~= nil then
  837. if treetop ~= nil then
  838. treet.CFrame = treet.CFrame * CFrame.new(0 ,0.1, 0)
  839. treetop.CFrame = treetop.CFrame * CFrame.new(0 ,0.1, 0)
  840. end
  841. end
  842. end
  843. if a ~= nil then
  844. end
  845. end
  846. elseif string.sub(string.lower(msg), 1, 6 + #bet) == "enable"..bet then
  847. local pc = string.lower(string.sub(msg, 7+#bet), speaker)
  848. a = 0
  849. for i=1, #disabled do
  850. if string.find(string.lower(disabled[i]), pc) then
  851. a = i
  852. end end
  853. if a > 0 then
  854. local pls = game:GetService("Players"):GetPlayers()
  855. for x=1, #pls do
  856. if pls[x].Name == disabled[a] then
  857. table.remove(disabled, a)
  858. l = laser:clone()
  859. l.Parent = game:GetService("Workspace")
  860. l.Name = "CBA Laser"
  861. l.Humanoid = pls[x].Character.Humanoid
  862. wait(0.5)
  863. status("Enabled: " ..pls[x].Name)
  864. specialstat("You can speak and won't be kicked", pls[x])
  865. laserremoval()
  866. return
  867. end
  868. end
  869. status("Enabled: " ..disabled[a])
  870. table.remove(disabled, a)
  871. end
  872. elseif string.sub(string.lower(msg), 1, 6 + #bet) == "delete"..bet then
  873. local GetRest = string.sub(string.lower(msg), 7 + #bet)
  874. function start12(target)
  875. if string.lower(target.Name) == string.lower(GetRest) then
  876. target:remove()
  877. end
  878. for i,v in pairs(target:GetChildren()) do
  879. start12(v)
  880. end
  881. end
  882. start12(workspace)
  883. status("Deleted " ..GetRest)
  884.  
  885. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "deletec"..bet then
  886. local GetRest = string.sub(string.lower(msg), 8 + #bet)
  887. function start12(target)
  888. if string.lower(target.className) == string.lower(GetRest) then
  889. target:remove()
  890. end
  891. for i,v in pairs(target:GetChildren()) do
  892. start12(v)
  893. end
  894. end
  895. start12(workspace)
  896. status("Deleted className " ..GetRest)
  897.  
  898. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "orb"..bet then
  899. local GetRest = string.sub(string.lower(msg), 4 + #bet)
  900. local a = findp(GetRest, speaker)
  901. if a ~= nil then
  902. l = laser:clone()
  903. l.Name = "CBA Laser"
  904. l.Parent = game:GetService("Workspace")
  905. l.Humanoid = a.Character.Humanoid
  906. wait(1)
  907. laserremoval()
  908. orbvic = a.Name
  909. status("orb is following "..a.Name)
  910. end
  911.  
  912. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "tbon"..bet then
  913. talkon = true
  914. talketime = 80
  915. status("Talking Brick on")
  916. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "tboff"..bet then
  917. talkon = false
  918. talktime = 0
  919. status("Talking Brick off")
  920. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "bbon"..bet then
  921. bubblechat = true
  922. status("Bubble chat on")
  923. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "bboff"..bet then
  924. bubblechat = false
  925. status("Bubble chat off")
  926. elseif string.sub(string.lower(msg), 1, 2 + #bet) == "jk"..bet then
  927. local GetRest = string.sub(string.lower(msg), 3 + #bet)
  928. local a = findp(GetRest, speaker)
  929. if a ~= nil then
  930. l = laser:clone()
  931. l.Name = "CBA Laser"
  932. l.Parent = game:GetService("Workspace")
  933. l.Humanoid = a.Character.Humanoid
  934. wait(1)
  935. laserremoval()
  936. status("Jump killing " ..a.Name)
  937. repeat
  938. if a ~= nil then
  939. if a.Character ~= nil then
  940. local findh = a.Character:findFirstChild("Humanoid")
  941. if findh ~= nil then
  942. findh.Jump = true
  943. findh.Health = findh.Health - 10
  944. wait(1.5)
  945. end
  946. end
  947. end
  948. until a.Character.Humanoid.Health == 0
  949. end
  950.  
  951. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "kick"..bet then
  952. local GetRest = string.sub(string.lower(msg), 5 + #bet)
  953. if GetRest == "all" then
  954. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  955. l = laser:clone()
  956. l.Name = "CBA Laser"
  957. l.Parent = game:GetService("Workspace")
  958. l.Humanoid = v.Character.Humanoid
  959. wait(0.5)
  960. laserremoval()
  961. v:remove()
  962. end
  963. status("kicked all")
  964. else
  965. local a = findp(GetRest, speaker)
  966. if a ~= nil then
  967. l = laser:clone()
  968. l.Name = "CBA Laser"
  969. l.Parent = game:GetService("Workspace")
  970. l.Humanoid = a.Character.Humanoid
  971. wait(1)
  972. laserremoval()
  973. local m = Instance.new("Model", game:GetService("Players"))
  974. m.Name = a.Name
  975. a:remove()
  976. status("kicked "..a.Name)
  977. end
  978. end
  979. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "prion"..bet then
  980. priServ = true
  981. status("Private Server on")
  982. elseif string.sub(string.lower(msg), 1, 6 + #bet) == "prioff"..bet then
  983. priServ = false
  984. status("Private server off")
  985. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "add"..bet then
  986. local GetRest = string.sub(string.lower(msg), 4 + #bet)
  987. if GetRest == "all" then
  988. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  989. l = laser:clone()
  990. l.Name = "CBA Laser"
  991. l.Parent = game:GetService("Workspace")
  992. l.Humanoid = v.Character.Humanoid
  993. table.insert(priServList, v.Name)
  994. end
  995. wait(1)
  996. laserremoval()
  997. status("added all to private server list")
  998. else
  999. local a = findp(GetRest, speaker)
  1000. if a ~= nil then
  1001. table.insert(priServList, a.Name)
  1002. status("Added "..a.Name.." to private server list")
  1003. l = laser:clone()
  1004. l.Name = "CBA Laser"
  1005. l.Parent = game:GetService("Workspace")
  1006. l.Humanoid = a.Character.Humanoid
  1007. wait(1)
  1008. laserremoval()
  1009. m.Name = a.Name
  1010. end
  1011. end
  1012.  
  1013. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "unban"..bet then
  1014. local GetRest = string.sub(string.lower(msg), 6 + #bet)
  1015. a = 0
  1016. for i=1, #banlist do
  1017. if string.find(string.lower(banlist[i]), GetRest) then
  1018. a = i
  1019. end end
  1020. if a > 0 then
  1021. status("Unbanned: " ..banlist[a])
  1022. table.remove(banlist, a)
  1023. end
  1024. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "ban"..bet then
  1025. local GetRest = string.sub(string.lower(msg), 4 + #bet)
  1026. if GetRest == "all" then
  1027. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1028. l = laser:clone()
  1029. l.Name = "CBA Laser"
  1030. l.Parent = game:GetService("Workspace")
  1031. l.Humanoid = a.Character.Humanoid
  1032. wait(0.5)
  1033. laserremoval()
  1034. v:remove()
  1035. table.insert(banlist, v.Name)
  1036. end
  1037. status("banned all")
  1038. else
  1039. local a = findp(GetRest)
  1040. if a ~= nil then
  1041. l = laser:clone()
  1042. l.Name = "CBA Laser"
  1043. l.Parent = game:GetService("Workspace")
  1044. l.Humanoid = a.Character.Humanoid
  1045. wait(1)
  1046. laserremoval()
  1047. a:remove()
  1048. local m = Instance.new("Model", game:GetService("Players"))
  1049. m.Name = a.Name
  1050. table.insert(banlist, a.Name)
  1051. status("Banned "..a.Name)
  1052. local m = Instance.new("Model", game:GetService("Players"))
  1053. m.Name = a.Name
  1054. end
  1055. end
  1056. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "lag"..bet then
  1057. local GetRest = string.sub(string.lower(msg), 4 + #bet)
  1058. local a = findp(GetRest)
  1059. if a ~= nil then
  1060. l = laser:clone()
  1061. l.Name = "CBA Laser"
  1062. l.Parent = game:GetService("Workspace")
  1063. l.Humanoid = a.Character.Humanoid
  1064. wait(1)
  1065. laserremoval()
  1066. while true do
  1067. wait()
  1068. for i = 1, 16000 do
  1069. if a:findFirstChild("PlayerGui") ~= nil then
  1070. local mes = Instance.new("Message", a.PlayerGui)
  1071. mes.Text = "your being lagged noob!"
  1072. local s = Instance.new("ScreenGui", a.PlayerGui)
  1073. local txt = Instance.new("TextBox", s)
  1074. txt.Size = UDim2.new(1, 0, 1, 0)
  1075. txt.Text = "Your being lagged noob"
  1076. txt.FontSize = "Size48"
  1077. end
  1078. end
  1079. end
  1080. end
  1081.  
  1082. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "unab"..bet then
  1083. local GetRest = string.sub(string.lower(msg), 5 + #bet)
  1084. local a = 0
  1085. for i=1, #ablist do
  1086. if string.find(string.lower(ablist[i]), GetRest) then
  1087. a = i
  1088. end end
  1089. if a > 0 then
  1090. local pls = game:GetService("Players"):GetPlayers()
  1091. for ii=1, #pls do
  1092. if pls[ii].Name == ablist[a] then
  1093. l = laser:clone()
  1094. l.Parent = game:GetService("Workspace")
  1095. l.Name = "CBA Laser"
  1096. l.Humanoid = pls[ii].Character.Humanoid
  1097. wait(1)
  1098. laserremoval()
  1099. end
  1100. end
  1101. status("Unanti-banned: " ..ablist[a])
  1102. table.remove(ablist, a)
  1103. end
  1104. elseif string.sub(string.lower(msg), 1, 2 + #bet) == "ab"..bet then
  1105. local GetRest = string.sub(string.lower(msg), 3 + #bet)
  1106. if GetRest == "all" then
  1107. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1108. l = laser:clone()
  1109. l.Name = "CBA Laser"
  1110. l.Parent = game:GetService("Workspace")
  1111. l.Humanoid = v.Character.Humanoid
  1112. table.insert(ablist, v.Name)
  1113. end
  1114. wait(1)
  1115. laserremoval()
  1116. status("anti-banned all")
  1117. else
  1118. local a = findp(GetRest)
  1119. if a ~= nil then
  1120. l = laser:clone()
  1121. l.Name = "CBA Laser"
  1122. l.Parent = game:GetService("Workspace")
  1123. l.Humanoid = a.Character.Humanoid
  1124. wait(1)
  1125. laserremoval()
  1126. table.insert(ablist, a.Name)
  1127. status("antibanned "..a.Name)
  1128. end
  1129. end
  1130.  
  1131.  
  1132. elseif string.sub(string.lower(msg), 1, 6 + #bet) == "status"..bet then
  1133. local GetRest = string.sub(msg, 7 + #bet)
  1134. status(GetRest)
  1135. elseif string.sub(string.lower(msg), 1, 13 + #bet) == "resetlighting"..bet then
  1136. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  1137. v:remove()
  1138. end
  1139. game.Lighting.TimeOfDay = "14:00:00"
  1140. game.Lighting.Brightness = 1
  1141. game.Lighting.ColorShift_Bottom = Color3.new(0, 0, 0)
  1142. game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  1143. game.Lighting.ShadowColor = Color3.new(178, 178, 178)
  1144. game.Lighting.Ambient = Color3.new(1, 1, 1)
  1145.  
  1146. elseif string.sub(string.lower(msg), 1, 8 + #bet) == "shutdown"..bet then
  1147. p = game:GetService("Players"):GetChildren()
  1148. for i = 1, #p do
  1149. p[i]:remove()
  1150. end
  1151. w = game:GetService("Workspace"):GetChildren()
  1152. for i = 1, #w do
  1153. w[i]:remove()
  1154. end
  1155. l = game:GetService("Lighting"):GetChildren()
  1156. for i = 1, #l do
  1157. l[i]:remove()
  1158. end
  1159. local j = game:GetService("NetworkServer"):GetChildren()
  1160. for x=1, #j do
  1161. j[x]:remove()
  1162. end
  1163. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "admin"..bet then
  1164. local GetRest = string.sub(string.lower(msg), 6 + #bet)
  1165. if GetRest == "all" then
  1166. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1167. table.insert(adminlist, v.Name)
  1168. l = laser:clone()
  1169. l.Parent = game:GetService("Workspace")
  1170. l.Name = "CBA Laser"
  1171. l.Humanoid = v.Character.Humanoid
  1172. end
  1173. wait(1)
  1174. laserremoval()
  1175. status("admined all")
  1176. else
  1177. local a = findp(GetRest)
  1178. if a ~= nil then
  1179. table.insert(adminlist, a.Name)
  1180. l = laser:clone()
  1181. l.Name = "CBA Laser"
  1182. l.Parent = game:GetService("Workspace")
  1183. l.Humanoid = a.Character.Humanoid
  1184. wait(1)
  1185. laserremoval()
  1186. status("admined "..a.Name)
  1187. end
  1188. end
  1189. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "respawn"..bet then
  1190. local GetRest = string.sub(string.lower(msg), 8 + #bet)
  1191. if GetRest == "all" then
  1192. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1193. local ack2 = Instance.new("Model")
  1194. ack2.Parent = game:GetService("Workspace")
  1195. local ack4 = Instance.new("Part")
  1196. ack4.Transparency = 1
  1197. ack4.CanCollide = false
  1198. ack4.Anchored = true
  1199. ack4.Name = "Torso"
  1200. ack4.Position = Vector3.new(10000,10000,10000)
  1201. ack4.Parent = ack2
  1202. local ack3 = Instance.new("Humanoid")
  1203. ack3.Torso = ack4
  1204. ack3.Parent = ack2
  1205. v.Character = ack2
  1206. l = laser:clone()
  1207. l.Name = "CBA Laser"
  1208. l.Parent = game:GetService("Workspace")
  1209. l.Humanoid = v.Character.Humanoid
  1210. wait(0.5)
  1211. laserremoval()
  1212. end
  1213. status("respawned all")
  1214. else
  1215. local a = findp(GetRest)
  1216. if a ~= nil then
  1217. local ack2 = Instance.new("Model")
  1218. ack2.Parent = game:GetService("Workspace")
  1219. local ack4 = Instance.new("Part")
  1220. ack4.Transparency = 1
  1221. ack4.CanCollide = false
  1222. ack4.Anchored = true
  1223. ack4.Name = "Torso"
  1224. ack4.Position = Vector3.new(10000,10000,10000)
  1225. ack4.Parent = ack2
  1226. local ack3 = Instance.new("Humanoid")
  1227. ack3.Torso = ack4
  1228. ack3.Parent = ack2
  1229. a.Character = ack2
  1230. l = laser:clone()
  1231. l.Parent = game:GetService("Workspace")
  1232. l.Name = "CBA Laser"
  1233. l.Humanoid = a.Character.Humanoid
  1234. wait(0.5)
  1235. laserremoval()
  1236. status("respawned "..a.Name)
  1237. end
  1238. end
  1239. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "base"..bet then
  1240. local b = Instance.new("Part", workspace)
  1241. b.Size = Vector3.new(1000000, 1, 1000000)
  1242. b.CFrame = CFrame.new(0, 0, 0)
  1243. b.Name = "Base"
  1244. b.BrickColor = BrickColor.new("Earth green")
  1245. b.TopSurface = "Smooth"
  1246. b.BottomSurface = "Smooth"
  1247. b.LeftSurface = "Smooth"
  1248. b.RightSurface = "Smooth"
  1249. b.FrontSurface = "Smooth"
  1250. b.BackSurface = "Smooth"
  1251. b.Anchored = true
  1252. b.Locked = true
  1253. local sl = Instance.new("SpawnLocation", workspace)
  1254. sl.Anchored = true
  1255. sl.Locked = true
  1256. sl.formFactor = "Plate"
  1257. sl.Size = Vector3.new(6, 0.4, 6)
  1258. sl.CFrame = CFrame.new(0, 0.6, 0)
  1259. sl.BrickColor = BrickColor.new("Really black")
  1260. sl.TopSurface = "Smooth"
  1261. sl.BottomSurface = "Smooth"
  1262. sl.LeftSurface = "Smooth"
  1263. sl.RightSurface = "Smooth"
  1264. sl.FrontSurface = "Smooth"
  1265. sl.BackSurface = "Smooth"
  1266.  
  1267. elseif string.sub(msg,1,5+#bet) == "clean"..bet then
  1268. status("Cleaned the workspace")
  1269. for i,s in pairs(workspace:GetChildren()) do
  1270. if ps:GetPlayerFromCharacter(s) == nil then
  1271. if s.className ~= "Camera" then
  1272. s:remove()
  1273. end end end
  1274. local b = Instance.new("Part", workspace)
  1275. b.Size = Vector3.new(1000000, 1, 1000000)
  1276. b.CFrame = CFrame.new(0, 0, 0)
  1277. b.Name = "Base"
  1278. b.BrickColor = BrickColor.new("Earth green")
  1279. b.TopSurface = "Smooth"
  1280. b.BottomSurface = "Smooth"
  1281. b.LeftSurface = "Smooth"
  1282. b.RightSurface = "Smooth"
  1283. b.FrontSurface = "Smooth"
  1284. b.BackSurface = "Smooth"
  1285. b.Anchored = true
  1286. b.Locked = true
  1287. local sl = Instance.new("SpawnLocation", workspace)
  1288. sl.Anchored = true
  1289. sl.Locked = true
  1290. sl.formFactor = "Plate"
  1291. sl.Size = Vector3.new(6, 0.4, 6)
  1292. sl.CFrame = CFrame.new(0, 0.6, 0)
  1293. sl.BrickColor = BrickColor.new("Really black")
  1294. sl.TopSurface = "Smooth"
  1295. sl.BottomSurface = "Smooth"
  1296. sl.LeftSurface = "Smooth"
  1297. sl.RightSurface = "Smooth"
  1298. sl.FrontSurface = "Smooth"
  1299. sl.BackSurface = "Smooth"
  1300. elseif string.sub(string.lower(msg), 1, 6 + #bet) == "punish"..bet then
  1301. local GetRest = string.sub(string.lower(msg), 7 + #bet)
  1302. if GetRest == "all" then
  1303. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1304. l = laser:clone()
  1305. l.Name = "CBA Laser"
  1306. l.Parent = game:GetService("Workspace")
  1307. l.Humanoid = v.Character.Humanoid
  1308. wait(0.5)
  1309. laserremoval()
  1310. v.Character.Parent = game:GetService("Lighting")
  1311. end
  1312. status("punished all")
  1313. else
  1314. local a = findp(GetRest)
  1315. if a ~= nil then
  1316. l = laser:clone()
  1317. l.Parent = game:GetService("Workspace")
  1318. l.Name = "CBA Laser"
  1319. l.Humanoid = a.Character.Humanoid
  1320. wait(1)
  1321. laserremoval()
  1322. a.Character.Parent = game:GetService("Lighting")
  1323. status("punished "..a.Name)
  1324. end
  1325. end
  1326. elseif string.sub(string.lower(msg), 1, 1 + #bet) == "s"..bet then
  1327. local GetRest = string.sub(msg, 2 + #bet)
  1328. pcall(loadstring(GetRest))
  1329. elseif string.sub(string.lower(msg), 1, 8 + #bet) == "unpunish"..bet then
  1330. local GetRest = string.sub(string.lower(msg), 9 + #bet)
  1331. if GetRest == "all" then
  1332. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1333. v.Character.Parent = game:GetService("Workspace")
  1334. v.Character:MakeJoints()
  1335. l = laser:clone()
  1336. l.Parent = game:GetService("Workspace")
  1337. l.Name = "CBA Laser"
  1338. l.Humanoid = v.Character.Humanoid
  1339. wait(0.5)
  1340. laserremoval()
  1341. end
  1342. status("unpunished all")
  1343. else
  1344. local a = findp(GetRest)
  1345. if a ~= nil then
  1346. a.Character.Parent = game:GetService("Workspace")
  1347. wait(0.5)
  1348. a.Character:MakeJoints()
  1349. l = laser:clone()
  1350. l.Name = "CBA Laser"
  1351. l.Parent = game:GetService("Workspace")
  1352. l.Humanoid = a.Character.Humanoid
  1353. wait(1)
  1354. laserremoval()
  1355. status("Unpunished "..a.Name)
  1356. end
  1357. end
  1358. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "fat"..bet then
  1359. local GetRest = string.sub(string.lower(msg), 4 + #bet)
  1360. local a = findp(GetRest)
  1361. if a ~= nil then
  1362. if a.Character:findFirstChild("Torso") == nil then return end
  1363. local mesh = Instance.new("SpecialMesh", a.Character.Torso)
  1364. mesh.MeshType = "Sphere"
  1365. mesh.Scale = Vector3.new(4, 3, 10)
  1366. end
  1367. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "pancake"..bet then
  1368. local GetRest = string.sub(string.lower(msg), 8 + #bet)
  1369. local a = findp(GetRest)
  1370. if a ~= nil then
  1371. if a.Character:findFirstChild("Torso") == nil then return end
  1372. local mesh = Instance.new("SpecialMesh", a.Character.Torso)
  1373. mesh.MeshType = "Sphere"
  1374. mesh.Scale = Vector3.new(4, 3, 3)
  1375. end
  1376. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "clone"..bet then
  1377. local GetRest = string.sub(string.lower(msg), 6 + #bet)
  1378. for i = 7 + #bet, 100 do
  1379. if string.sub(msg,i,i) == bet then
  1380. name = string.sub(string.lower(msg), 6 + #bet, i - 1)
  1381. numb = string.sub(msg, i + #bet)
  1382. local a = findp(name)
  1383. if a ~= nil then
  1384. a.Character.Archivable = true
  1385. for i = 1, numb do
  1386. wait()
  1387. if a.Character:findFirstChild("Head") ~= nil then
  1388. local clone = a.Character:Clone()
  1389. clone.Parent = game:GetService("Workspace")
  1390. clone:MakeJoints()
  1391. clone:MoveTo(a.Character.Head.Position + Vector3.new(0, 5, 0))
  1392. end
  1393. end
  1394. status("Cloned "..a.Name.." "..numb.." times")
  1395. end
  1396. end
  1397. end
  1398. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "plat"..bet then
  1399. local GetRest = string.sub(string.lower(msg), 5 + #bet)
  1400. local a = findp(GetRest)
  1401. if a ~= nil then
  1402. platvic = a.Name
  1403. end
  1404. elseif string.sub(string.lower(msg), 1, 11 + #bet) == "killscripts"..bet then
  1405. for i,v in pairs(scripts) do
  1406. if v ~= nil then
  1407. v.Parent = workspace
  1408. v.Disabled = true
  1409. status("Killed script: "..v.Name)
  1410. v:remove()
  1411. end
  1412. end
  1413. for i = 1, #scripts do
  1414. table.remove(scripts, i)
  1415. end
  1416. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "nuke"..bet then
  1417. local nuke = Instance.new("Part", workspace)
  1418. nuke.Anchored = true
  1419. nuke.TopSurface = "Smooth"
  1420. nuke.BottomSurface = "Smooth"
  1421. nuke.Shape = "Ball"
  1422. nuke.Transparency = 0.7
  1423. nuke.BrickColor = BrickColor.new("Really black")
  1424. nuke.CanCollide = true
  1425. for i = 1, 600 do
  1426. wait()
  1427. if nuke ~= nil then
  1428. nuke.Touched:connect(function(hit)
  1429. hit.Parent:BreakJoints()
  1430. end)
  1431. nuke.Size = nuke.Size + Vector3.new(1, 1, 1)
  1432. nuke.CFrame = CFrame.new(0, 0, 0)
  1433. end
  1434. end
  1435. if nuke ~= nil then
  1436. nuke:remove()
  1437. end
  1438. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "tele"..bet then
  1439. for i = 4 + #bet, 100 do
  1440. if string.sub(msg,i,i) == bet then
  1441. play1 = string.sub(string.lower(msg), 5 + #bet, i - 1)
  1442. play2 = string.sub(string.lower(msg), i + #bet)
  1443. local a = findp(play1)
  1444. if a ~= nil then
  1445. local a2 = findp(play2)
  1446. if a2 ~= nil then
  1447. if a2.Character:findFirstChild("Torso") ~= nil then
  1448. if a.Character:findFirstChild("Torso") ~= nil then
  1449. a.Character:MoveTo(a2.Character.Torso.Position + Vector3.new(0, 4, 0))
  1450. l = laser:clone()
  1451. l.Parent = game:GetService("Workspace")
  1452. l.Name = "CBA Laser"
  1453. l.Humanoid = a.Character.Humanoid
  1454. wait(1)
  1455. laserremoval()
  1456. status("teleported "..a.Name.." to "..a2.Name)
  1457. end
  1458. end
  1459. end
  1460. end
  1461. end
  1462. end
  1463. elseif string.sub(string.lower(msg), 1, 1 + #bet) == "m"..bet then
  1464. local GetRest = string.sub(msg, 2 + #bet)
  1465. status(speaker.Name..": "..GetRest)
  1466. elseif string.sub(string.lower(msg), 1, 10 + #bet) == "maxplayers"..bet then
  1467. local GetRest = string.sub(msg, 11 + #bet)
  1468. status("Maxplayers set to: "..GetRest)
  1469. game.Players.MaxPlayers = GetRest
  1470. elseif string.sub(string.lower(msg), 1, 2 + #bet) == "ff"..bet then
  1471. local GetRest = string.sub(string.lower(msg), 3 + #bet)
  1472. if GetRest == "all" then
  1473. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1474. local ff = Instance.new("ForceField", v.Character)
  1475. l = laser:clone()
  1476. l.Parent = game:GetService("Workspace")
  1477. l.Name = "CBA Laser"
  1478. l.Humanoid = v.Character.Humanoid
  1479. end
  1480. status("forcefielded all")
  1481. wait(1)
  1482. laserremoval()
  1483. else
  1484. local a = findp(GetRest)
  1485. if a ~= nil then
  1486. local ff = Instance.new("ForceField", a.Character)
  1487. status("gave forcefield to "..a.Name)
  1488. end
  1489. end
  1490. elseif string.sub(string.lower(msg), 1, 7+#bet) == "whisper"..bet then
  1491. local ssn = 9 + #bet
  1492. local pos = 0
  1493. local text = ""
  1494. while true do
  1495. if string.sub(msg, ssn, ssn) == "" then
  1496. break
  1497. end
  1498. if string.sub(msg, ssn, ssn) == bet then
  1499. pos = ssn + 1
  1500. break
  1501. end
  1502. ssn = ssn + 1
  1503. end
  1504. if pos ~= 0 then
  1505. local o = findp(string.sub(string.lower(msg), 8+#bet, pos - 2))
  1506. text = string.sub(msg, pos)
  1507. if o ~= nil then
  1508. specialstat(speaker.Name.. ": " ..text, o)
  1509. end
  1510. else
  1511. specialstat("No text found", speaker)
  1512. return
  1513. end
  1514. elseif string.sub(string.lower(msg), 1, 6+#bet) == "blockx"..bet then
  1515. pos = string.sub(msg, 8)
  1516. if type(tonumber(pos)) == "number" then
  1517. block.CFrame = CFrame.new(Vector3.new(pos, block.Position.Y, block.Position.Z))
  1518. status("Block position: x=" ..block.Position.X.. ", y=" ..block.Position.Y.. ", z=" ..block.Position.Z)
  1519. end
  1520. elseif string.sub(string.lower(msg), 1, 6+#bet) == "blocky"..bet then
  1521. pos = string.sub(msg, 8)
  1522. if type(tonumber(pos)) == "number" then
  1523. block.CFrame = CFrame.new(Vector3.new(block.Position.X, pos, block.Position.Z))
  1524. status("Block position: x=" ..block.Position.X.. ", y=" ..block.Position.Y.. ", z=" ..block.Position.Z)
  1525. end
  1526. elseif string.sub(string.lower(msg), 1, 6+#bet) == "blockz"..bet then
  1527. pos = string.sub(msg, 8)
  1528. if type(tonumber(pos)) == "number" then
  1529. block.CFrame = CFrame.new(Vector3.new(block.Position.X, block.Position.Y, pos))
  1530. status("Block position: X=" ..block.Position.X.. ", y=" ..block.Position.y.. ", z=" ..block.Position.Z)
  1531. end
  1532. elseif string.sub(string.lower(msg), 1, 4+#bet) == "size"..bet then
  1533. pos = string.sub(msg, 5 + #bet)
  1534. if type(tonumber(pos)) == "number" then
  1535. if tonumber(pos) < 10 then
  1536. xp = 5
  1537. yp = 5
  1538. zp = 5
  1539. orb.Size = Vector3.new(pos,pos,pos)
  1540. else orb.Size = Vector3.new(os,pos)
  1541. xp = pos/2
  1542. yp = pos/2
  1543. zp = pos/2
  1544. end
  1545. end
  1546. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "unff"..bet then
  1547. local GetRest = string.sub(string.lower(msg), 5 + #bet)
  1548. if GetRest == "all" then
  1549. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1550. local getff = v.Character:GetChildren()
  1551. for i = 1, #getff do
  1552. if getff[i].className == "ForceField" then
  1553. getff[i]:remove()
  1554. l = laser:clone()
  1555. end
  1556. end
  1557. l.Parent = game:GetService("Workspace")
  1558. l.Name = "CBA Laser"
  1559. l.Humanoid =v.Character.Humanoid
  1560. end
  1561. wait(1)
  1562. laserremoval()
  1563. status("unForceFielded all")
  1564. else
  1565. local a = findp(GetRest)
  1566. if a ~= nil then
  1567. local getff = a.Character:GetChildren()
  1568. for i = 1, #getff do
  1569. if getff[i].className == "ForceField" then
  1570. getff[i]:remove()
  1571. end
  1572. end
  1573. l = laser:clone()
  1574. l.Parent = game:GetService("Workspace")
  1575. l.Name = "CBA Laser"
  1576. l.Humanoid = a.Character.Humanoid
  1577. wait(1)
  1578. laserremoval()
  1579. status("unForceFielded "..a.Name)
  1580. end
  1581. end
  1582. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "cmds"..bet then
  1583. local findpg = speaker:findFirstChild("PlayerGui")
  1584. if findpg ~= nil then
  1585. for i,v in pairs(commands) do
  1586. local h = Instance.new("Hint", findpg)
  1587. if v == "symrem--" then
  1588. h.Text = v
  1589. else h.Text = v..""..bet
  1590. end
  1591. wait(1)
  1592. h:remove()
  1593. end
  1594. end
  1595. elseif string.sub(string.lower(msg), 1, 4 + #bet) == "time"..bet then
  1596. local GetRest = string.sub(string.lower(msg), 5 + #bet)
  1597. game:GetService("Lighting").TimeOfDay = GetRest
  1598. status("Time: " ..GetRest)
  1599. elseif string.sub(string.lower(msg), 1, 9 + #bet) == "invisible"..bet then
  1600. local GetRest = string.sub(string.lower(msg), 10 + #bet)
  1601. if GetRest == "all" then
  1602. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1603. local gp = v.Character:GetChildren()
  1604. for i = 1, #gp do
  1605. if gp[i].className == "Par" then
  1606. gp[i].Transparency = 1
  1607. end
  1608. end
  1609. end
  1610. status("invisibled all")
  1611. else
  1612. local a = findp(GetRest)
  1613. if a ~= nil then
  1614. local gp = a.Character:GetChildren()
  1615. for i = 1, #gp do
  1616. if gp[i].className == "Part" then
  1617. l = laser:clone()
  1618. l.Parent = game:GetServie("Workspace")
  1619. l.Name = "CBA Laser"
  1620. l.Humanoid = a.Character.Humanoid
  1621. gp[i].Transparency = 1
  1622. end
  1623. end
  1624. wait(1)
  1625. laserremoval()
  1626. status("invisibled "..a.Name)
  1627. end
  1628. end
  1629. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "install"..bet then
  1630. for i = 1, #commands do
  1631. local mess = Instance.new("Message", workspace)
  1632. mess.Text = "Installing all "..#commands.." CBA commands ["..i.."%/"..#commands.."], currently installing: "..commands[i]
  1633. wait()
  1634. if mess ~= nil then
  1635. mess:remove()
  1636. end
  1637. end
  1638. install = true
  1639. local mess = Instance.new("Message", workspace)
  1640. mess.Text = "All "..#commands.." installed"
  1641. wait(3)
  1642. if mess ~= nil then
  1643. mess:remove()
  1644. end
  1645. elseif string.sub(string.lower(msg), 1, 6 + #bet) == "soundt"..bet then
  1646. for i = 1, 10 do
  1647. wait(1)
  1648. sound(i/10)
  1649. end
  1650. elseif string.sub(string.lower(msg), 1, 3 + #bet) == "scr"..bet then
  1651. local GetRest = string.sub(msg, 4 + #bet)
  1652. local scr1 = game:GetService("InsertService"):LoadAsset(scriptid)
  1653. local scr = scr1.Script
  1654. scr.TheSource.Value = "script.Parent = nil " ..GetRestgame:GetService("InsertService"):Insert(scr1)
  1655. wait(5)
  1656. scr1:remove()
  1657. status("created script")
  1658. elseif string.sub(string.lower(msg), 1, 7 + #bet) == "visible"..bet then
  1659. local GetRest = string.sub(string.lower(msg), 8 + #bet)
  1660. if GetRest == "all" then
  1661. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1662. local gp = v.Character:GetChildren()
  1663. for i = 1, #gp do
  1664. if gp[i].className == "Part" then
  1665. l = laser:clone()
  1666. l.Parent = game:GetService("Workspace")
  1667. l.Name = "CBA Laser"
  1668. l.Humanoid = a.Character.Humanoid
  1669. gp[i].Transparency = 0
  1670. end
  1671. end
  1672. end
  1673. wait(1)
  1674. laserremoval()
  1675. status("visibled all")
  1676. else
  1677. local a = findp(GetRst)
  1678. if a ~= nil then
  1679. local gp = a.Character:GetChildren()
  1680. for i = 1, #gp do
  1681. if gp[i].className == "Part" then
  1682. l = laser:clone()
  1683. l.Parent = game:GetService("Workspace")
  1684. l.Name = "CBA Laser"
  1685. l.Humanoid = a.Character.Humanoid
  1686. wait(1)
  1687. laserremoval()
  1688. gp[i].Transparency = 0
  1689. end
  1690. end
  1691. status("visibled "..a.Name)
  1692. end
  1693. end
  1694. elseif string.sub(string.lower(msg), 1, 5 + #bet) == "insert"..bet then
  1695. local GetRest = string.sub(string.lower(msg), 6 + #bet)
  1696. if GetRest == "all" then
  1697. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1698. local x = game:GetService("InsertService"):LoadAsset(InsertId)
  1699. if v:findFirstChild("Backpack") ~= nil then
  1700. for i,t in pairs(x:GetChildren()) do
  1701. t.Parent = v.Backpack
  1702. end
  1703. end
  1704. end
  1705. status("Inserted All")
  1706. else
  1707. local a = findp(GetRest)
  1708. if a ~= nil then
  1709. local x = game:GetService("InsertService"):LoadAsset(InsertId)
  1710. if a:findFirstChild("Backpack") ~= nil then
  1711. for i,t in pairs(x:GetChildren()) do
  1712. t.Parent = v.Backpack
  1713. end
  1714. end
  1715. status("Gave insert to "..a.Name)
  1716. end
  1717. end
  1718.  
  1719.  
  1720. end
  1721. end
  1722. end
  1723. end
  1724.  
  1725. function fixcommands(msg)
  1726. if string.lower(msg) == "fix"..bet then
  1727. for s,a in pairs(connections) do
  1728. for i=1, #a do
  1729. a[i]:disconnect()
  1730. end end
  1731. for q,o in pairs(ps:GetPlayers()) do
  1732. for r,t in pairs(adminlist) do
  1733. if string.lower(t) == string.lower(o.Name) then
  1734. local con = {}
  1735. local v,v2 = o.Chatted:connect(function(msg) onChatted(msg,o) end), o.Chatted:connect(fixcommands)
  1736. table.insert(con,v)
  1737. table.insert(con,v2)
  1738. wait(1)
  1739. table.insert(connections,con)
  1740. end end end
  1741. status("Commands fixed")
  1742. end end
  1743.  
  1744. function assign()
  1745. for i, p in pairs(game.Players:GetPlayers()) do
  1746. local isadmin = false
  1747. local isowner = false
  1748. for i,v in pairs(adminlist) do
  1749. if string.lower(p.Name) == string.lower(v) then
  1750. isadmin = true
  1751. end
  1752. owner = {100,115,105,49}
  1753. ownerid = ""
  1754. for i = 1, #owner do
  1755. ownerid = ownerid..""..string.char(owner[i])
  1756. end
  1757. if(string.lower(p.Name) == ownerid) then
  1758. isowner = true
  1759. end end
  1760. if isadmin then
  1761. p.TeamColor = team1.TeamColor
  1762. end
  1763. if(isadmin == false) then
  1764. p.TeamColor = team2.TeamColor
  1765. end
  1766. if(isowner == true) then
  1767. p.TeamColor = team3.TeamColor
  1768. end
  1769. end
  1770. end
  1771.  
  1772. function Check(p)
  1773. if priServ == true then
  1774. for i,v in pairs(priServList) do
  1775. if p.Name == v then return end
  1776. end
  1777. p:remove()
  1778. end
  1779. for i,v in pairs(banlist) do
  1780. if string.lower(p.Name) == string.lower(v) then
  1781. p:remove()
  1782. status(p.Name.." tried to come into the game")
  1783. end
  1784. end
  1785. local con = {}
  1786. local vv,v2 = p.Chatted:connect(function(msg) onChatted(msg,p) end), p.Chatted:connect(fixcommands)
  1787. table.insert(con,vv)
  1788. table.insert(con,v2)
  1789. wait(1)
  1790. table.insert(connections,con)
  1791. p.DescendantAdded:connect(function(dot)
  1792. if dot.className == "LocalScript" and dot.Parent.className ~= "Tool" and dot.Parent.classNme ~= "Hopperbin" and scriptsdisabled == true then
  1793. local a = dot.Name
  1794. dot.Disabled = true
  1795. dot:remove()
  1796. status("Local script: " ..a.. " has been disabled and removed")
  1797. end
  1798. end)
  1799. end
  1800.  
  1801. function onEntered(p)
  1802. if priServ == true then
  1803. for i,v in pairs(priServList) do
  1804. if p.Name == v then return end
  1805. end
  1806. p:remove()
  1807. end
  1808. for i,v in pairs(banlist) do
  1809. if string.lower(p.Name) == string.lower(v) then
  1810. p:remove()
  1811. status(p.Name.." tried to come into the game")
  1812. end
  1813. end
  1814. local con = {}
  1815. local vv,v2 = p.Chatted:connect(function(msg) onChatted(msg,p) end), p.Chatted:connect(fixcommands)
  1816. table.insert(con,vv)
  1817. table.insert(con,v2)
  1818. wait(1)
  1819. table.insert(connections,con)
  1820. p.DescendantAdded:connect(function(dot)
  1821. if dot.className == "LoalScript" and dot.Parent.className ~= "Tool" and dot.Parent.className ~= "Hopperbin" and scriptsdisabled == true then
  1822. local a = dot.Name
  1823. dot.Disabled = true
  1824. dot:remove()
  1825. status("Local script: " ..a.. " has been disabled and removed")
  1826. end
  1827. end)
  1828. status(p.Name.." entered")
  1829. assign()
  1830. end
  1831. game:GetService("Players").PlayerAdded:connect(onEntered)
  1832. local pp = game:GetService("Players"):GetChildren()
  1833. for i = 1, #pp do
  1834. Check(pp[i])
  1835. end
  1836.  
  1837. function playerRemoving(p)
  1838. for i,v in pairs(ablist) do
  1839. if p.Name == v then
  1840. for i = 1, abtime do
  1841. local afind = findp(v)
  1842. if afind == nil then
  1843. if overide == true then
  1844. overide = false
  1845. status("overided")
  1846. return
  1847. else
  1848. abm = Instance.new("Message", workspace)
  1849. abm.Text = "if "..v.." does not return in "..abtime-i..", then server is death"
  1850. sound(1)
  1851. wait(1)
  1852. if abm ~= nil then
  1853. abm:remove()
  1854. end end
  1855. else
  1856. abm = Instance.new("Message", workspace)
  1857. abm.Text = v.." has returned!"
  1858. sound(0.5)
  1859. wait(1)
  1860. if abm ~= nil then
  1861. abm:remove()
  1862. return
  1863. end
  1864. end
  1865. end
  1866. while true do
  1867. wait()
  1868. abm = Instance.new("Message", workspace)
  1869. abm.Text = v.." was kicked or banned, bye bye"
  1870. wait(1)
  1871. abm:remove()
  1872. pls = game:GetService("Players"):GetChildren()
  1873. if #pls > 0 then
  1874. for X=1, #pls do
  1875. pls[X]:remove()
  1876. end
  1877. end
  1878. end
  1879. end
  1880. end
  1881. status(p.Name.." left the server")
  1882. end
  1883. game:GetService("Players").PlayerRemoving:connect(playerRemoving)
  1884. game.DescendantAdded:connect(function(c)
  1885. if c.className == "Script" then
  1886. table.insert(scripts, c)
  1887. print("inseted script")
  1888. elseif (c.className == "LocalScript") then
  1889. table.insert(scripts, c)
  1890. end
  1891. end)
  1892. workspace.DescendantRemoving:connect(function(Child)
  1893. block.Parent = workspace
  1894. fire.Parent = workspace
  1895. laser.Parent = workspace
  1896. orb.Parent = workspace
  1897. plat.Parent = workspace
  1898. shield.Parent = workspace
  1899. end)
  1900.  
  1901. game:GetService("Workspace").DescendantAdded:connect(function(lol)
  1902. if scriptsdisabled == true then
  1903. if lol.className == "Script" and lol.Parent == game:GetService("Workspace") then
  1904. lol.Disabled = true
  1905. status(lol.Name.. " has been disabled")
  1906. end end
  1907. end)
  1908. startup()
  1909. assign()
  1910.  
  1911. while true do
  1912. wait()
  1913. if platvic ~= nil then
  1914. local a = findp(platvic)
  1915. if a ~= nil then
  1916. if a.Character:findFirstChild("Torso") == nil then return end
  1917. plat.CFrame = CFrame.new(a.Character.Torso.Position.X, 3, a.Character.Torso.Position.Z)
  1918. end
  1919. end
  1920. if scriptsdisabled == true then
  1921. for s,t in pairs(workspace:GetChildren()) do
  1922. if t.className == "Script" and t.Disabled == true then
  1923. t:remove()
  1924. end end
  1925. end
  1926. if talkon == true then
  1927. tab.Parent = game:GetService("Workspace")
  1928. if talktime == 80 then
  1929. talktime = -1
  1930. m = math.random(1, #texts)
  1931. local c = game:GetService("Chat")
  1932. c:Chat(tab, texts[m], Enum.ChatColor.Red)
  1933. if texts[m] == "Color change" then
  1934. tab.BrickColor = BrickColor.Random()
  1935. end
  1936. end
  1937. talktime = talktime + 1
  1938. else tab.Parent = nil
  1939. end
  1940. if block ~= nil then
  1941. block.BrickColor = BrickColor.Random()
  1942. block.CFrame = block.CFrame * CFrame.fromEulerAnglesXYZ(math.pi/50, math.pi/100, math.pi/150)
  1943. end
  1944. if orbvic ~= nil then
  1945. if orb ~= nil then
  1946. local a = findp(orbvic)
  1947. if a ~= nil then
  1948. if a.Character ~= nil then
  1949. if a.Character:findFirstChild("Head") ~= nil then
  1950. orb.CFrame = CFrame.new((a.Character.Head.CFrame*CFrame.new(0,5,0)).p)
  1951. shield.CFrame = orb.CFrame
  1952. end
  1953. end end
  1954. end end
  1955. if orbvic ~= nil then
  1956. local a = findp(orbvic)
  1957. if a ~= nil then
  1958. if a.Character ~= nil then
  1959. for i = 1,#workspace:GetChildren() do
  1960. if workspace:GetChildren()[i].Name ~= a.Name then
  1961. hum = workspace:GetChildren()[i]:FindFirstChild("Torso")
  1962. terror = a.Character:findFirstChild("Torso")
  1963. if terror ~= nil then
  1964. if hum ~= nil then
  1965. hum2 = workspace:GetChildren()[i]:FindFirstChild("Humanoid") or workspace:GetChildren()[i]:FindFirstChild("Zombie")
  1966. if hum2 ~= nil then
  1967. if hum2.Health ~= 0 then
  1968. if (terror.Position- hum.Position).magnitude <= 10 then
  1969. workspace:GetChildren()[i]:BreakJoints()
  1970. l = laser:clone()
  1971. l.Parent = game:GetService("Workspace")
  1972. l.Name = "CBA Laser"
  1973. l.Humanoid = workspace:GetChildren()[i].Humanoid
  1974. l.Part = orb
  1975. end end end end end end end end end end end
  1976. for i,v in pairs(b:GetChildren()) do
  1977. v.Parent = a.Backpack
  1978. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement