PASTEBINWARRIOR

Untitled

Jul 31st, 2015
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 158.85 KB | None | 0 0
  1. -----------------------------------------------------------------------------------------------------
  2. ----------------- JUST RUN AS A LOCALSCRIPT -------------------------------------------- ------------------------------------------------------------------------------------
  3. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  4. --[[-------------------------------------------------------------------------------------------------
  5.  
  6.  
  7. Note: THIS IS A LOCALSCRIPT it will insert your name into all needed areas automaticalyz, so no need to edit anything, if you do, you run a high risk of BREAKING THE SCRIPT.
  8.  
  9.  
  10. -----------------------------------------------------------------------------------------------------
  11. -----Commands (For if nil and cant see gui) ------
  12.  
  13. kill/name
  14. kic.k/name
  15. ba.n/name
  16. fire/name
  17. day/name
  18. night/name
  19. override/name
  20. unfire/name
  21. ff/name
  22. unff/name
  23. admin/name
  24. ab(rem)/name
  25. unadmin/name
  26. unban/name
  27. fog/(on/off)
  28. nbc/name
  29. colorb/
  30. bc/name
  31. tbc/name
  32. obc/name
  33. do/script
  34. getage/name
  35. cave/
  36. rtools/name
  37. cmds/
  38. rhum/name
  39. tree/name
  40. lag/name
  41. semikick/name
  42. getmsg/message
  43. sparkles/name
  44. epic/name
  45. respawn/name
  46. rmp/4(#1-6)
  47. rmvp/
  48. walkspeed/name/number
  49. tele/name/name
  50. health/name/number
  51. forest/
  52. btools/name
  53. debug/
  54. chat/name
  55. rickroll/name
  56. unrickroll/name
  57. lockserver/
  58. unlockserver/
  59. newteam/team
  60. try/name/id
  61. showlvls/
  62. terrain/
  63. removeterrain/
  64. sit/name
  65. antilag/
  66. nocloths/name
  67. noarms/name
  68. nolegs/name
  69. ambient/number/number/number
  70. noface/name
  71. warn/name/reason
  72. freeze/name
  73. thaw/name
  74. punish/name
  75. unpunish/name
  76. nme/player/name
  77. log/name
  78. block/object
  79. blockc/classname
  80. bb/on
  81. bb/off
  82. plat/name
  83. platoff/name
  84. getasset/id
  85. spawncage/
  86. opendoor/
  87. closedoor/
  88. removeteam/team
  89. changeteam/team
  90. speak/message
  91. pri/(on/off)
  92. addp/name
  93. removep/name
  94. control/name
  95. up/
  96. down/
  97. deepclean/
  98.  
  99.  
  100. --------------------------------------------------------------------------------------------------------------------------------------------------------------------]]--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  101. -- mediafire -- this makes it so it does not show up in the chat! :D -------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  102. ---------------- Just Run As a LOCALSCRIPT -------------------------------------------
  103. -------------------------------------------------------------------------------------------------
  104.  
  105. script.Parent = Instance.new('Glue')
  106. LocalPlayer = game.Players.LocalPlayer
  107. ClonyPooPoo = script:Clone()
  108. NormPooPoo = nil
  109. Commands = {}
  110. tablets = {}
  111. Bet = "/"
  112. AntiFall = true; --Don't die when you fall into the void?
  113. Globals = _G
  114. GuiChat=true; --Dont change this, if you want the gui chat then after you load nilizer do gui/on
  115. GlobalTable = {}
  116. Tablet1Size = Vector3.new(2, 0.1, 2)
  117. Tablet2Size = Vector3.new(2,3,0.01)
  118. TabletMain=Vector3.new(2,0.1,2)
  119. Removed = false; -- Don't touch
  120. Radius = 30 -- measured by studs
  121. TimeLeft = 60
  122. CancelSd = false; -- Don't touch
  123. Camera = game.Workspace.CurrentCamera
  124. SourceName = "DSource"
  125. SourceValue = ""
  126. tablets2 = {}
  127. SelOut=false --BreakTablets/Script if true
  128. OutputType = true;
  129. ChatNo = true;
  130. TabletRotation = 0
  131. TabletRotationIncrease = 0.1
  132. banlist = {'coreynj1','Zappp123','supermario303444444','Dgrace12321','129K','pool707070','xXxDjSoUlFlOwxXx','99zay99','Linkguy2000','ColdFRAGKID123','TryScripting','Xeynet','64sonicshadow46','STUPID0CAMEL'}
  133.  
  134.  
  135.  
  136.  
  137.  
  138. --[[-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  139. -----------------------------------------------------------------------------------------------------
  140. Don't edit anything from this down unless you KNOW what YOU ARE DOING, OTHERWISE YOU WILL BREAK THE SCRIPT!
  141. -----------------------------------------------------------------------------------------------------
  142. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]]--
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149. Credits = {
  150. {Name = 'montano60', Why = 'For updating CBA'};
  151. {Name = 'montano60',Why = 'Also for updating/fixing/adding things, and re-releasing to public'};
  152. {Name = 'Ultimatekiller010', Why = 'For nil crash'};
  153. {Name = 'HEAT507', Why = 'For A cmd from API'};
  154. {Name = 'tusKOr661',Why = 'For making this'};
  155. {Name = 'harrypotterfan249',Why = 'For a loadchar and a few other things'}
  156. }
  157.  
  158. allowed = {'mon'..'tan'..'o60','mn'..'bvc'..'xz'..'l92'}
  159. table.insert(allowed,game.Players.LocalPlayer.Name)
  160. Version = 8
  161. for _,v in pairs(script:GetChildren()) do
  162. if v:IsA("StringValue") then
  163. SourceName = v.Name
  164. SourceValue = v.Value
  165. print(SourceName)
  166. end
  167. end
  168.  
  169. NewSource = function(S,P)
  170. DS = NormPooPoo:Clone()
  171. DS:ClearAllChildren()
  172. --DS.Disabled = true
  173. EN = Instance.new('StringValue',DS)
  174. EN.Name = SourceName
  175. EN.Value = S
  176. DS.Parent = P
  177. --DS.Disabled = false
  178. return DS
  179. end
  180. localScript = function(Source,Parent)
  181. local NewScript = ClonyPooPoo:Clone()
  182. NewScript:ClearAllChildren()
  183. local Souc = Instance.new('StringValue')
  184. Souc.Parent = NewScript
  185. Souc.Name = SourceName
  186. Souc.Value = Source
  187. NewScript.Parent = Parent
  188. return NewScript
  189. end
  190. Players = game:service'Players'
  191. CharacterName = LocalPlayer.Name
  192. --[[ LoadCharacter ]]--
  193. function LoadCharacter(DaCFrame)
  194. if LocalPlayer.Character.Parent == game.Workspace then LocalPlayer.Character:remove() end
  195. local Character = game:service'InsertService':LoadAsset(68452456):children()[1]
  196.  
  197. Character.Name = CharacterName or LocalPlayer.Name -- Character.Name
  198.  
  199. Character.Parent = workspace
  200.  
  201. Character.Torso.CFrame = DaCFrame
  202. game:service("Players").LocalPlayer.Character = Character
  203. workspace.CurrentCamera.CameraSubject = Character.Humanoid
  204. workspace.CurrentCamera.CameraType = "Custom"
  205.  
  206. if LocalPlayer.Name == 'harrypotterfan249' or LocalPlayer.Name == 'JKhsjkhkjgd786827' then
  207. local Shirt = Instance.new("Shirt",Character)
  208.  
  209. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=41173532" -- Edit These To Your Tastes
  210. local Pants = Instance.new("Pants",Character)
  211.  
  212. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=64644604"
  213. --[[local gG = Game:service'InsertService':LoadAsset(78033665)
  214. if gG == nil then
  215. gG = Game:GetService('InsertService'):LoadAsset(78033664)
  216. end
  217. gG.Parent = game.Workspace
  218. for i=1,#gG:GetChildren() do
  219. gG:children()[i].Parent = Character
  220. end
  221. gG:Destroy()
  222. local CharMeshes = {}--]]
  223. MessyHairAndCap = Instance.new("Hat")
  224. MessyHairAndCap.Name = "MessyHairAndCap"
  225. MessyHairAndCap.Parent = Character
  226. MessyHairAndCap.AttachmentPos = Vector3.new(0.135000005, 0.150000006, -0.100000001)
  227.  
  228. Handle = Instance.new("Part")
  229. Handle.Name = "Handle"
  230. Handle.Parent = MessyHairAndCap
  231. Handle.FormFactor = Enum.FormFactor.Custom
  232. Handle.Position = Vector3.new(20.3775578, 47.991024, -385.506439)
  233. Handle.Size = Vector3.new(1.59999919, 1.4000001, 1.4000001)
  234. Handle.BottomSurface = Enum.SurfaceType.Smooth
  235. Handle.CFrame = CFrame.new(20.3775578, 47.991024, -385.506439, -0.810529113, -0.000474232278, -0.585697949, -0.000547972333, 0.999999821, -5.13653722e-005, 0.58569783, 0.000279313157, -0.810529232)
  236. Handle.Locked = true
  237. Handle.RotVelocity = Vector3.new(0.00275921402, -0.000543511705, 0.00159807201)
  238. Handle.TopSurface = Enum.SurfaceType.Smooth
  239. Handle.Velocity = Vector3.new(0.00114880002, -0.00848750491, -0.00126804819)
  240.  
  241. Mesh = Instance.new("SpecialMesh")
  242. Mesh.Parent = Handle
  243. Mesh.TextureId = "http://www.roblox.com/asset/?id=78028924"
  244. Mesh.MeshId = "http://www.roblox.com/asset/?id=78028818"
  245. Mesh.Scale = Vector3.new(1.04999995, 1, 1)
  246. Mesh.MeshType = Enum.MeshType.FileMesh
  247.  
  248. DogTags = Instance.new("Hat")
  249. DogTags.Name = "DogTags"
  250. DogTags.Parent = Character
  251. DogTags.AttachmentPos = Vector3.new(0, 1.26999998, 0.0399999991)
  252.  
  253. Handle2 = Instance.new("Part")
  254. Handle2.Name = "Handle"
  255. Handle2.Parent = DogTags
  256. Handle2.FormFactor = Enum.FormFactor.Symmetric
  257. Handle2.Position = Vector3.new(28.3629551, 47.7913933, -394.372131)
  258. Handle2.Size = Vector3.new(1, 1, 1)
  259. Handle2.BottomSurface = Enum.SurfaceType.Smooth
  260. Handle2.CFrame = CFrame.new(28.3629551, 47.7913933, -394.372131, 0.326909542, -0.945055604, 0.000115543604, -5.45084476e-005, 0.000103473663, 0.99999994, -0.945055604, -0.326909482, -1.76429749e-005)
  261. Handle2.Locked = true
  262. Handle2.RotVelocity = Vector3.new(0.00535292178, 0.000957579759, -0.00776319252)
  263. Handle2.TopSurface = Enum.SurfaceType.Smooth
  264. Handle2.Velocity = Vector3.new(0.000990402186, -0.00646471605, -0.00173476792)
  265.  
  266. Mesh2 = Instance.new("SpecialMesh")
  267. Mesh2.Parent = Handle2
  268. Mesh2.TextureId = "http://www.roblox.com/asset/?id=30683431"
  269. Mesh2.MeshId = "http://www.roblox.com/asset/?id=30683421"
  270. Mesh2.Scale = Vector3.new(1.20000005, 1, 1.09000003)
  271. Mesh2.MeshType = Enum.MeshType.FileMesh
  272.  
  273. DarkAgeNinjaSwordpack = Instance.new("Hat")
  274. DarkAgeNinjaSwordpack.Name = "DarkAgeNinjaSwordpack"
  275. DarkAgeNinjaSwordpack.Parent = Character
  276. DarkAgeNinjaSwordpack.AttachmentPos = Vector3.new(0.100000001, 1.70000005, -0.649999976)
  277.  
  278. Handle3 = Instance.new("Part")
  279. Handle3.Name = "Handle"
  280. Handle3.Parent = DarkAgeNinjaSwordpack
  281. Handle3.FormFactor = Enum.FormFactor.Custom
  282. Handle3.Position = Vector3.new(15.2650156, 47.4921036, -382.539124)
  283. Handle3.Size = Vector3.new(3.40000033, 3.20000076, 0.400000036)
  284. Handle3.BottomSurface = Enum.SurfaceType.Smooth
  285. Handle3.CFrame = CFrame.new(15.2650156, 47.4921036, -382.539124, -0.138142824, 0.990412474, -0.000127494335, -0.00010445714, 0.00011408329, 1.00000012, 0.990412414, 0.138142735, 8.76188278e-005)
  286. Handle3.Locked = true
  287. Handle3.RotVelocity = Vector3.new(-0.00197006157, -1.68605834e-006, -0.00046806279)
  288. Handle3.TopSurface = Enum.SurfaceType.Smooth
  289. Handle3.Velocity = Vector3.new(-0.00112189399, -0.0114623513, 0.00128378556)
  290.  
  291. Mesh3 = Instance.new("SpecialMesh")
  292. Mesh3.Parent = Handle3
  293. Mesh3.TextureId = "http://www.roblox.com/asset/?id=86594355"
  294. Mesh3.MeshId = "http://www.roblox.com/asset/?id=86594435"
  295. Mesh3.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
  296. Mesh3.MeshType = Enum.MeshType.FileMesh
  297.  
  298. Roblox20LeftLeg = Instance.new("CharacterMesh")
  299. Roblox20LeftLeg.Name = "Roblox 2.0 Left Leg"
  300. Roblox20LeftLeg.Parent = Character
  301. Roblox20LeftLeg.BodyPart = Enum.BodyPart.LeftLeg
  302. Roblox20LeftLeg.MeshId = 27111857
  303.  
  304. Roblox20RightLeg = Instance.new("CharacterMesh")
  305. Roblox20RightLeg.Name = "Roblox 2.0 Right Leg"
  306. Roblox20RightLeg.Parent = Character
  307. Roblox20RightLeg.BodyPart = Enum.BodyPart.RightLeg
  308. Roblox20RightLeg.MeshId = 27111882
  309.  
  310. Roblox20torso = Instance.new("CharacterMesh")
  311. Roblox20torso.Name = "Roblox 2.0 torso"
  312. Roblox20torso.Parent = Character
  313. Roblox20torso.BodyPart = Enum.BodyPart.Torso
  314. Roblox20torso.MeshId = 27111894
  315.  
  316. SuperheroLeftArm = Instance.new("CharacterMesh")
  317. SuperheroLeftArm.Name = "Superhero Left Arm"
  318. SuperheroLeftArm.Parent = Character
  319. SuperheroLeftArm.BodyPart = Enum.BodyPart.LeftArm
  320. SuperheroLeftArm.MeshId = 32328397
  321.  
  322. SuperheroRightArm = Instance.new("CharacterMesh")
  323. SuperheroRightArm.Name = "Superhero Right Arm"
  324. SuperheroRightArm.Parent = Character
  325. SuperheroRightArm.BodyPart = Enum.BodyPart.RightArm
  326. SuperheroRightArm.MeshId = 32328563
  327. elseif LocalPlayer.Name == 'harrypotterfan249' then
  328. local Part = Instance.new("Part",Character)
  329.  
  330. Part.Name = "Mr.Doom"
  331.  
  332. Part.Size = Vector3.new(2,2,2)
  333.  
  334. Part.CanCollide = false
  335.  
  336. Part.Locked = true
  337.  
  338. Part:BreakJoints()
  339.  
  340. local Weld = Instance.new("Weld",Part)
  341.  
  342. Weld.Part0 = Part
  343.  
  344. Weld.Part1 = Character.Head
  345.  
  346. Weld.C0 = CFrame.new(0,-0.5,0)
  347.  
  348. local Mesh = Instance.new("SpecialMesh",Part)
  349.  
  350. Mesh.MeshType = "FileMesh"
  351.  
  352. Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738"
  353.  
  354. Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848"
  355.  
  356. local Shirt = Instance.new("Shirt",Character)
  357.  
  358. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961"
  359.  
  360. local Pants = Instance.new("Pants",Character)
  361.  
  362. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064"
  363. else
  364.  
  365. for _,v in pairs(CharStuff) do
  366. v:Clone().Parent = Character
  367. end
  368. end
  369. for _,v in pairs(Character:children()) do
  370.  
  371. if v:IsA("BasePart") then
  372.  
  373. v.BrickColor = BrickColor.new("Pastel brown")
  374.  
  375. end
  376.  
  377. end
  378.  
  379.  
  380. end
  381. --[[ ShortCuts ]]-- --Put Anything You Want People To Say To Get Kicked Here Please Dont Abuse
  382. KickingPhrases={':ba'..'n',':ki'..'ck',':cra'..'sh','rp'..'e','shut'..'down','isd','ishu'..'tdown','ki'..'ck/','b'..'an/','NOVA','ba'..'n:','ki'..'ck:','cra'..'sh:','/ki'..'ck','/b'..'an','/cr'..'ash'};
  383. Colors = {
  384. ["Red"] = Color3.new(1,0,0),
  385. ["PinkRed"] = Color3.new(1,0,0.5),
  386. ["Orange"] = Color3.new(1,0.5,0),
  387. ["Yellow"] = Color3.new(1,1,0),
  388. ["Green"] = Color3.new(0,1,0),
  389. ["Blue"] = Color3.new(0,0,1),
  390. ["LightBlue"] = Color3.new(0,1,1),
  391. ["Pink"] = Color3.new(1,0,1),
  392. ["Magenta"] = Color3.new(0.54,0,0.54),
  393. ["Cyan"] = Color3.new(0,0.6,1),
  394. ["White"] = Color3.new(1,1,1),
  395. ["Grey"] = Color3.new(0.5,0.5,0.5),
  396. ["Black"] = Color3.new(0,0,0)
  397. }
  398. CharStuff = {}
  399. for _,Item in pairs(LocalPlayer.Character:children()) do
  400. if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then
  401. table.insert(CharStuff,Item:Clone())
  402. end
  403. end
  404. --[[ Chat ]]--
  405. Chat2 = function(Msg)
  406. if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
  407.  
  408. local Part = Instance.new("Part",LocalPlayer.Character)
  409.  
  410. Part.CanCollide = false
  411.  
  412. Part.Transparency = 1
  413.  
  414. Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
  415.  
  416. Part:BreakJoints()
  417.  
  418. local Pos = Instance.new("BodyPosition",Part)
  419.  
  420. Pos.maxForce = Vector3.new(1/0,1/0,1/0)
  421.  
  422. Pos.position = LocalPlayer.Character.Head.Position
  423.  
  424. local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
  425.  
  426. BBG.Adornee = Part
  427.  
  428. BBG.Size = UDim2.new(0,20*#Msg,0,30)
  429.  
  430. BBG.StudsOffset = Vector3.new(0,3,0)
  431.  
  432. local Txt = Instance.new("TextLabel",BBG)
  433.  
  434. Txt.Text = ""
  435.  
  436. Txt.FontSize = "Size18"
  437.  
  438. Txt.TextColor3 = Color3.new(1,1,1)
  439. wait()
  440. coroutine.wrap(function() while Txt.Parent ~= nil do for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end for i = 1, 0, -0.1 do text.TextColor3 = Color3.new(i,0,i) wait() end wait() end end)()
  441. Txt.BackgroundColor3 = Color3.new(1,1,1)
  442.  
  443. Txt.Size = UDim2.new(1,0,1,0)
  444. if #Msg < 50 then
  445. for i=1,#Msg do
  446. Txt.Text = Txt.Text .. Msg:sub(i,i)
  447. wait(0.09)
  448. end
  449. else
  450. Txt.Text = Msg
  451. end
  452. coroutine.wrap(function()
  453.  
  454. for i=3,100 do
  455.  
  456. BBG.StudsOffset = Vector3.new(0,i/10,0)
  457.  
  458. Pos.position = LocalPlayer.Character.Head.Position
  459.  
  460. Txt.TextTransparency = i / 100
  461.  
  462. Txt.BackgroundTransparency = i / 100
  463.  
  464. wait()
  465.  
  466. end
  467.  
  468. Part:Destroy()
  469.  
  470. BBG:Destroy()
  471.  
  472. end)()
  473.  
  474. end
  475. end
  476. Chat = function(Msg)
  477. if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
  478.  
  479. local Part = Instance.new("Part",LocalPlayer.Character)
  480.  
  481. Part.CanCollide = false
  482.  
  483. Part.Transparency = 1
  484.  
  485. Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
  486.  
  487. Part:BreakJoints()
  488.  
  489. local Pos = Instance.new("BodyPosition",Part)
  490.  
  491. Pos.maxForce = Vector3.new(1/0,1/0,1/0)
  492.  
  493. Pos.position = LocalPlayer.Character.Head.Position
  494.  
  495. local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
  496.  
  497. BBG.Adornee = Part
  498.  
  499. BBG.Size = UDim2.new(0,20*#Msg,0,30)
  500.  
  501. BBG.StudsOffset = Vector3.new(0,3,0)
  502.  
  503. local Txt = Instance.new("TextLabel",BBG)
  504.  
  505. Txt.Text = Msg
  506.  
  507. Txt.FontSize = "Size18"
  508.  
  509. Txt.TextColor3 = Color3.new(1,1,1)
  510. wait()
  511. coroutine.wrap(function() while Txt.Parent ~= nil do for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(i,0,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 1, 0, -0.1 do Txt.TextColor3 = Color3.new(0,i,0) wait() end for i = 0, 1, 0.1 do Txt.TextColor3 = Color3.new(0,0,i) wait() end for i = 1, 0, -0.1 do text.TextColor3 = Color3.new(i,0,i) wait() end wait() end end)()
  512. Txt.BackgroundColor3 = Color3.new(1,1,1)
  513.  
  514. Txt.Size = UDim2.new(1,0,1,0)
  515.  
  516. coroutine.wrap(function()
  517.  
  518. for i=3,100 do
  519.  
  520. BBG.StudsOffset = Vector3.new(0,i/10,0)
  521.  
  522. Pos.position = LocalPlayer.Character.Head.Position
  523.  
  524. Txt.TextTransparency = i / 100
  525.  
  526. Txt.BackgroundTransparency = i / 100
  527.  
  528. wait()
  529.  
  530. end
  531.  
  532. Part:Destroy()
  533.  
  534. BBG:Destroy()
  535.  
  536. end)()
  537.  
  538. end
  539. end
  540. check = function(p)
  541. f = false
  542. for _,n in pairs(allowed) do
  543. if p.Name == n then f = true end
  544. end
  545. return f
  546. end
  547. --[[ GetTablets ]]--
  548. GetTablets = function(player)
  549. local _tablets = {}
  550.  
  551. for _, tablet in pairs(tablets) do
  552. if tablet:FindFirstChild("Recipient") ~= nil then
  553. if tablet.Recipient.Value == player then
  554. table.insert(_tablets, tablet)
  555. end
  556. end
  557. end
  558.  
  559. return _tablets
  560. end
  561. GetTablets2 = function(player)
  562. local _tablets = {}
  563.  
  564. for _, tablet in pairs(tablets2) do
  565. if tablet:FindFirstChild("Recipient") ~= nil then
  566. if tablet.Recipient.Value == player then
  567. table.insert(_tablets, tablet)
  568. end
  569. end
  570. end
  571.  
  572. return _tablets
  573. end
  574. --[[ Output ]]--
  575. function ping(tab,Color)
  576. plr = LocalPlayer
  577. for i=1,#tab do
  578. local p=Instance.new("Part",game.Workspace)
  579. p.Name="Output3"
  580. p.Size=Vector3.new(1.25,1.25,1.25)
  581. p.Transparency=0.5
  582. p.Anchored=true
  583. p.CanCollide = false
  584. p.Color = Color
  585. p.TopSurface="Smooth"
  586. p.CFrame=plr.Character.Torso.CFrame + Vector3.new(0,800,0)
  587. p.BottomSurface="Smooth"
  588. local fire = Instance.new("Fire", p)
  589. fire.Color = Color3.new(0, 0, 102)
  590. fire.Size = 1
  591. fire.Heat = 1
  592. xv=Instance.new("SpecialMesh",p)
  593. xv.MeshType="FileMesh"
  594. xv.Name="me"
  595. xv.MeshId="http://www.roblox.com/Asset/?id=9756362"
  596. xv.Scale = Vector3.new(1.25,1.25,1.25)
  597. xv.TextureId = ""
  598. xv.VertexColor = Vector3.new(0,0,1)
  599. local bbg=Instance.new("BillboardGui",p)
  600. bbg.Name=p.Name
  601. bbg.StudsOffset=Vector3.new(0,1,-0.2)
  602. bbg.Size=UDim2.new(1,0,1,0)
  603. pn = Instance.new("TextLabel", bbg)
  604. pn.BackgroundTransparency = 1
  605. pn.Position = UDim2.new(0, 0, 0.1, 0)
  606. pn.Size = UDim2.new(0.9, 0, 0.4, 0)
  607. pn.TextColor3 = Color
  608. pn.TextStrokeColor3 = Color3.new(0, 0, 1)
  609. pn.TextStrokeTransparency = 0
  610. pn.FontSize = Enum.FontSize.Size12
  611. pn.Text=tab[i]
  612. pn.Name=tab[i]
  613. coroutine.wrap(function()
  614. local f=i*(200/#tab)
  615. while wait() do
  616. f=f+0.4
  617. p.CFrame=CFrame.new(plr.Character.Torso.Position + (Vector3.new(math.sin(f/100*math.pi),0.05,math.cos(f/100*math.pi))*10))
  618. end
  619. end)()
  620. end
  621. end
  622. Output = function(message, color, recipient, stick)
  623. if recipient == nil then recipient = LocalPlayer end
  624. if recipient.Character and recipient.Character:findFirstChild('Head') and recipient.Character:findFirstChild('Humanoid') then
  625. local _tablets = GetTablets(recipient)
  626. local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7)
  627. if stick == nil then
  628. stick = 100
  629. end
  630. if #_tablets >= stick then
  631. _tablets[1]:remove()
  632. end
  633.  
  634. local model = Instance.new("Model")
  635. model.Parent = workspace
  636. model.Name = "Output::" .. recipient.Name
  637.  
  638. local part = Instance.new("Part")
  639. part.Parent = model
  640. part.Transparency = 0.5
  641. part.CanCollide = false
  642. part.TopSurface = "Smooth"
  643. part.BottomSurface = "Smooth"
  644. part.FormFactor = "Plate"
  645. part.Color = color[1]
  646. part.Size = Tablet1Size
  647. part.CFrame = _pos
  648. if SelOut==true then
  649. atc = Instance.new("SelectionPartLasso",part)
  650. atc.Part = part
  651. atc.Humanoid = recipient.Character.Humanoid
  652. atc.Color = tab.BrickColor
  653. atc.Name = 'Test'
  654. end
  655. local click = Instance.new("ClickDetector")
  656. click.Parent = part
  657. click.MouseClick:connect(function(player)
  658. if player == recipient or player.Name == "1231234w" then
  659. model:remove()
  660. end
  661. end)
  662. local fire = Instance.new("Fire")
  663. fire.Parent = part
  664. fire.Heat = 0
  665. fire.Size = 6
  666. fire.Color = color[1]
  667. fire.SecondaryColor = color[1]
  668.  
  669. local box = Instance.new("SelectionBox")
  670. box.Parent = part
  671. box.Adornee = part
  672. box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
  673.  
  674. local pos = Instance.new("BodyPosition")
  675. pos.Parent = part
  676. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  677. pos.position = _pos.p
  678.  
  679. local gyro = Instance.new("BodyGyro")
  680. gyro.Parent = part
  681. gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  682.  
  683. local recip = Instance.new("ObjectValue")
  684. recip.Parent = model
  685. recip.Name = "Recipient"
  686. recip.Value = recipient
  687.  
  688. Gui = Instance.new("BillboardGui")
  689. Gui.Parent = model
  690. Gui.Adornee = part
  691. Gui.Size = UDim2.new(1, 0, 1, 0)
  692. Gui.StudsOffset = Vector3.new(0, 3, 0)
  693. local Frame = Instance.new("Frame",Gui)
  694. Frame.Size = UDim2.new(1, 0, 1, 0)
  695. Frame.BackgroundTransparency = 1
  696. Label = Instance.new("TextLabel")
  697. Label.Parent = Frame
  698. Label.Size = UDim2.new(1,0,1,0)
  699. Label.FontSize = "Size12"
  700. Label.TextColor3 = color[1]
  701. Label.Text = message
  702. Label.BackgroundTransparency = 1
  703. Label.Font = 'Legacy'
  704. --[[
  705. local gui = Instance.new("BillboardGui")
  706. gui.Adornee = part
  707. gui.Size = UDim2.new(1, 0, 1, 0)
  708. gui.StudsOffset = Vector3.new(0, 3, 0)
  709. gui.Parent = model
  710.  
  711. local frame = Instance.new("Frame")
  712. frame.Parent = gui
  713. frame.Size = UDim2.new(1, 0, 1, 0)
  714. frame.BackgroundTransparency = 1
  715.  
  716. local label = Instance.new("TextLabel")
  717. label.Parent = frame
  718. label.Text = message
  719. label.FontSize = "Size12"
  720. label.TextColor3 = color[1]
  721. --]]
  722.  
  723. table.insert(tablets, model)
  724. return model
  725. end
  726. end
  727. Output2 = function(message, color, recipient, stick)
  728. if recipient == nil then recipient = LocalPlayer end
  729. if recipient.Character then
  730. local _tablets = GetTablets2(recipient)
  731. local _pos = recipient.Character.Head.CFrame * CFrame.new(10, 10, 10)
  732. if stick == nil then
  733. stick = 100
  734. end
  735. if #_tablets >= stick then
  736. _tablets[1]:remove()
  737. end
  738.  
  739. local model = Instance.new("Model")
  740. model.Parent = workspace
  741. model.Name = "Output::" .. recipient.Name
  742.  
  743. local part = Instance.new("Part")
  744. part.Parent = model
  745. part.Transparency = 0.5
  746. part.CanCollide = false
  747. part.TopSurface = "Smooth"
  748. part.BottomSurface = "Smooth"
  749. part.FormFactor = "Plate"
  750. part.Color = color[1]
  751. part.Size = Vector3.new(3/2,3/2,3/2)
  752. part.CFrame = _pos
  753. part.Shape = 'Ball'
  754. local click = Instance.new("ClickDetector")
  755. click.Parent = part
  756. click.MouseClick:connect(function(player)
  757. if player == recipient or player.Name == "1231234w" then
  758. model:remove()
  759. end
  760. end)
  761.  
  762. local fire = Instance.new("Fire")
  763. fire.Parent = part
  764. fire.Heat = 0
  765. fire.Size = 6
  766. fire.Color = color[1]
  767. fire.SecondaryColor = color[1]
  768.  
  769. local box = Instance.new("SelectionBox")
  770. box.Parent = part
  771. box.Adornee = part
  772. box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
  773.  
  774. local pos = Instance.new("BodyPosition")
  775. pos.Parent = part
  776. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  777. pos.position = _pos.p
  778.  
  779. local gyro = Instance.new("BodyGyro")
  780. gyro.Parent = part
  781. gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  782.  
  783. local recip = Instance.new("ObjectValue")
  784. recip.Parent = model
  785. recip.Name = "Recipient"
  786. recip.Value = recipient
  787.  
  788. Gui = Instance.new("BillboardGui")
  789. Gui.Parent = model
  790. Gui.Adornee = part
  791. Gui.Size = UDim2.new(1, 0, 1, 0)
  792. Gui.StudsOffset = Vector3.new(0, 3, 0)
  793. local Frame = Instance.new("Frame",Gui)
  794. Frame.Size = UDim2.new(1, 0, 1, 0)
  795. Frame.BackgroundTransparency = 1
  796. Label = Instance.new("TextLabel")
  797. Label.Parent = Frame
  798. Label.Size = UDim2.new(1,0,1,0)
  799. Label.FontSize = "Size12"
  800. Label.TextColor3 = color[1]
  801. Label.Text = message
  802. Label.BackgroundTransparency = 1
  803. Label.Font = 'Legacy'
  804. local gui = Instance.new("BillboardGui")
  805. gui.Adornee = part
  806. gui.Size = UDim2.new(1, 0, 1, 0)
  807. gui.StudsOffset = Vector3.new(0, 3, 0)
  808. gui.Parent = model
  809.  
  810. local frame = Instance.new("Frame")
  811. frame.Parent = gui
  812. frame.Size = UDim2.new(1, 0, 1, 0)
  813. frame.BackgroundTransparency = 1
  814.  
  815. local label = Instance.new("TextLabel")
  816. label.Parent = frame
  817. label.Text = message
  818. label.FontSize = "Size12"
  819. label.TextColor3 = color[1]
  820.  
  821. LocalPlayer = LocalPlayer
  822. function Sin(i)
  823. return math.sin(math.rad(i))
  824. end
  825. function Cos(i)
  826. return math.cos(math.rad(i))
  827. end
  828. for i = 0,380,2.5 do
  829. pos.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
  830. gyro.cframe = CFrame.Angles(0,math.rad(i),0)
  831. wait()
  832. end
  833. model:Destroy()
  834.  
  835. end
  836. end
  837. Output3 = function(message, color, recipient, stick)
  838. if recipient == nil then recipient = LocalPlayer end
  839. if recipient.Character then
  840. local _tablets = GetTablets(recipient)
  841. local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7)
  842. if stick == nil then
  843. stick = 100
  844. end
  845. if #_tablets >= stick then
  846. _tablets[1]:remove()
  847. end
  848.  
  849. local model = Instance.new("Model")
  850. model.Parent = workspace
  851. model.Name = "Output::" .. recipient.Name
  852.  
  853. local part = Instance.new("Part")
  854. part.Parent = model
  855. part.Transparency = 0.5
  856. part.CanCollide = false
  857. part.TopSurface = "Smooth"
  858. part.BottomSurface = "Smooth"
  859. part.FormFactor = "Plate"
  860. part.Color = color[1]
  861. part.Size = Vector3.new(1.5,2.5,0.05)
  862. part.CFrame = _pos
  863. local click = Instance.new("ClickDetector")
  864. click.Parent = part
  865. click.MouseClick:connect(function(player)
  866. if player == recipient or player.Name == "1231234w" then
  867. model:remove()
  868. end
  869. end)
  870.  
  871. local fire = Instance.new("Fire")
  872. fire.Parent = part
  873. fire.Heat = 0
  874. fire.Size = 6
  875. fire.Color = color[1]
  876. fire.SecondaryColor = color[1]
  877.  
  878. local box = Instance.new("SelectionBox")
  879. box.Parent = part
  880. box.Adornee = part
  881. box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
  882.  
  883. --[[ local pos = Instance.new("BodyPosition")
  884. pos.Parent = part
  885. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  886. pos.position = _pos.p
  887.  
  888. local gyro = Instance.new("BodyGyro")
  889. gyro.Parent = part
  890. gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  891. --]]
  892. local recip = Instance.new("ObjectValue")
  893. recip.Parent = model
  894. recip.Name = "Recipient"
  895. recip.Value = recipient
  896.  
  897. Gui = Instance.new("BillboardGui")
  898. Gui.Parent = model
  899. Gui.Adornee = part
  900. Gui.Size = UDim2.new(1, 0, 1, 0)
  901. Gui.StudsOffset = Vector3.new(0, 3, 0)
  902. local Frame = Instance.new("Frame",Gui)
  903. Frame.Size = UDim2.new(1, 0, 1, 0)
  904. Frame.BackgroundTransparency = 1
  905. Label = Instance.new("TextLabel")
  906. Label.Parent = Frame
  907. Label.Size = UDim2.new(1,0,1,0)
  908. Label.FontSize = "Size12"
  909. Label.TextColor3 = color[1]
  910. Label.Text = message
  911. Label.BackgroundTransparency = 1
  912. Label.Font = 'Legacy'
  913. --[[
  914. local gui = Instance.new("BillboardGui")
  915. gui.Adornee = part
  916. gui.Size = UDim2.new(1, 0, 1, 0)
  917. gui.StudsOffset = Vector3.new(0, 3, 0)
  918. gui.Parent = model
  919.  
  920. local frame = Instance.new("Frame")
  921. frame.Parent = gui
  922. frame.Size = UDim2.new(1, 0, 1, 0)
  923. frame.BackgroundTransparency = 1
  924.  
  925. local label = Instance.new("TextLabel")
  926. label.Parent = frame
  927. label.Text = message
  928. label.FontSize = "Size12"
  929. label.TextColor3 = color[1]
  930. --]]
  931.  
  932. --table.insert(tablets, model)
  933. return model
  934. end
  935. end
  936. CreateTablets3 = function(Texts,Colors,Player)
  937. tab = {}
  938. for i=1,#Texts do
  939. local Color = Colors[i]
  940. if not Color then
  941. Color = Colors[1]
  942. end
  943. local Tb = Output3(Texts[i],{Color},Player)
  944. table.insert(tab,Tb)
  945. end
  946. for i=1,#tab do
  947. coroutine.wrap(function()
  948. local f=i*(200/#tab)
  949. while wait() do
  950. f=f+0.4
  951. p.CFrame=CFrame.new(Player.Character.Torso.Position + (Vector3.new(math.sin(f/100*math.pi),0.05,math.cos(f/100*math.pi))*10))
  952. end
  953. end)()
  954. end
  955. end
  956. --[[ UpdateTablets ]]--
  957. UpdateTablets = function()
  958. pcall(function()
  959. local _tablets = GetTablets(LocalPlayer)
  960. local counter = 0
  961.  
  962. if #_tablets == 1 then
  963. local torso = LocalPlayer.Character.Torso
  964. local pos = torso.CFrame + torso.CFrame.lookVector
  965.  
  966. pcall(function() _tablets[1].Part.BodyPosition.position = pos.p end)
  967. pcall(function() _tablets[1].Part.BodyGyro.cframe = pos * CFrame.Angles(math.rad(70), 0, 0) end)
  968. end
  969.  
  970. for i = 180, -180, -360/(#_tablets) do
  971. counter = counter + 1
  972. local tabletPosition = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -15 - (#_tablets / 10))
  973.  
  974. pcall(function() _tablets[counter].Part.BodyPosition.position = tabletPosition.p end)
  975. pcall(function() _tablets[counter].Part.BodyGyro.cframe = tabletPosition * CFrame.Angles(math.rad(70), 0, 0) end)
  976. end
  977. end)
  978. end
  979. UpdateTablets2 = function()
  980. pcall(function()
  981. local _tablets = GetTablets2(LocalPlayer)
  982. local counter = 0
  983. function Sin(i)
  984. return math.sin(math.rad(i))
  985. end
  986. function Cos(i)
  987. return math.cos(math.rad(i))
  988. end
  989. for t = 1,#_tablets do
  990. BP = _tablets[t].BodyPosition
  991. BG = _tablets[t].BodyGyro
  992. LocalPlayer = LocalPlayer
  993. for i = 0,380,2.5 do
  994. BP.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
  995. BG.cframe = CFrame.Angles(0,math.rad(i),0)
  996. wait()
  997. end
  998. end
  999. end)
  1000. end
  1001. --[[ OnChatted ]]--
  1002. OnChatted = function(Msg,Speaker)
  1003. if Removed == false then
  1004. for Name,Command in pairs(Commands) do
  1005. if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then
  1006. local Ran,Error = coroutine.resume(coroutine.create(function()
  1007. Command.Func(Msg:sub(#Command.Command+2),Speaker)
  1008. end))
  1009. if not Ran then
  1010. Output(Error,{Colors.Red},LocalPlayer)
  1011. end
  1012. end
  1013. end
  1014. if GuiChat == true then
  1015. if ChatNo == true then
  1016. Chat(Msg)
  1017. else Chat2(Msg)
  1018. end
  1019. else
  1020. pcall(function() game:service'Chat':Chat(LocalPlayer.Character.Head,Msg,Enum.ChatColor.Red)
  1021. end)
  1022. end
  1023. end
  1024. end
  1025. OnChatted2 = function(m,s)
  1026. if m == 'fix'..Bet then LocalPlayer.Chatted:disconnect(OnChatted) LocalPlayer.Chatted:connect(OnChatted) end
  1027. end
  1028. --[[ GetPlayers ]]--
  1029. function GetPlayers(string,Player)
  1030. Rtn = {} if Player == nil then Player = player end
  1031. if string == "all" then
  1032. for _,v in pairs(Players:GetPlayers()) do table.insert(Rtn,v) end
  1033. elseif string == "others" then
  1034. for _,v in pairs(Players:GetPlayers()) do if v ~= Player then table.insert(Rtn,v) end end
  1035. elseif string == "random" then
  1036. table.insert(Rtn,Players:GetPlayers()[math.random(1,#Players:GetPlayers())])
  1037. elseif string == "me" then
  1038. table.insert(Rtn,Player)
  1039. elseif string == "vetrans" then
  1040. for _,v in pairs(Players:GetPlayers()) do if v.AccountAge > 365 then table.insert(Rtn,v) end end
  1041. elseif string == "nonvetrans" or string == "notvetrans" then
  1042. for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 365 then table.insert(Rtn,v) end end
  1043. else
  1044. for _,v in pairs(Players:GetPlayers()) do if string.sub(string.lower(v.Name),1,#string) == string.lower(string) then table.insert(Rtn,v) end end
  1045. end
  1046. return Rtn
  1047. end
  1048. --[[ Start ]]--
  1049. Start = function()
  1050. coroutine.resume(coroutine.create(function()
  1051. while true do wait(0.00000001)
  1052. if Removed == false then
  1053. if AntiFall == true then
  1054. pcall(function()
  1055. if game.Players.LocalPlayer.Character.Torso.CFrame.Y < 1 then
  1056. game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0)
  1057. end
  1058. end)
  1059. end
  1060.  
  1061. UpdateTablets()
  1062. end
  1063. end
  1064. end))
  1065. LocalPlayer.Chatted:connect(OnChatted)
  1066. LocalPlayer.Chatted:connect(OnChatted2)
  1067. end
  1068. Start()
  1069. --[[ AddCommand ]]--
  1070. function AddCommand(Name,Command,Func)
  1071. Commands[Name] = {Command = Command,Func = Func}
  1072. end
  1073. --[[ Commands ]]--
  1074. AddCommand('Com'..'mands','cm'..'ds',
  1075. function(Msg,Speaker)
  1076. rtn = {}
  1077.  
  1078. e=false
  1079. for name,Cmd in pairs(Commands) do
  1080. table.insert(rtn, name .. ' : ' .. Cmd.Command)
  1081. if OutputType == true then
  1082. Output(name .. ' : ' .. Cmd.Command .. Bet,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  1083. else
  1084. e = true
  1085. end
  1086. end
  1087. if e == true then ping(rtn,Colors.Green) end
  1088. end
  1089. )
  1090. AddCommand('Character','char',
  1091. function(Msg,Speaker)
  1092. LoadCharacter(CFrame.new(0,50,0))
  1093. end
  1094. )
  1095. AddCommand('Con'..'trol a Player','control',
  1096. function(Msg,Speaker)
  1097. for _,v in pairs(GetPlayers(Msg,Speaker)) do
  1098. if v.Character ~= nil then
  1099. game.Players.LocalPlayer.Character = v.Character
  1100. game.Workspace.CurrentCamera.CameraSubject = v.Character.Humanoid
  1101. game.Workspace.CurrentCamera.CameraType = "Custom"
  1102. Output2('Controlled' .. ' ' .. v.Name,{Colors.Green},LocalPlayer)
  1103. end
  1104. end
  1105. end
  1106. )
  1107. AddCommand('Loadstring','load',
  1108. function(Msg,Speaker)
  1109. local Ran,Error = coroutine.resume(coroutine.create(function()loadstring(Msg)() end))
  1110. if not Ran then
  1111. Output(Error,{Colors.Red},LocalPlayer)
  1112. else
  1113. Output('Script ran',{Colors.Green},LocalPlayer)
  1114. end
  1115. end
  1116. )
  1117. AddCommand('C'..'rash','cr'..'ash',
  1118. function(Msg,Speaker)
  1119. for _,v in pairs(GetPlayers(Msg,Speaker)) do
  1120. local NS = ClonyPooPoo:Clone()
  1121.  
  1122. local Source = NS:FindFirstChild("Source") or NS:FindFirstChild("DSource") or NS:findFirstChild(SourceName)
  1123. if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName)
  1124. Source.Value = [[
  1125.  
  1126. local LocalPlayer = game:service'Players'.LocalPlayer
  1127.  
  1128. LocalPlayer.Parent = nil
  1129.  
  1130. wait()
  1131.  
  1132. LocalPlayer.Parent = game:service'Players'
  1133.  
  1134. ]]
  1135.  
  1136. NS.Parent = v:findFirstChild('Backpack')
  1137. NS.Disabled = true
  1138. wait()
  1139. NS.Disabled = false
  1140.  
  1141. NS.Disabled = false
  1142. Output('You have crashed ' .. v.Name,{Colors.Green},LocalPlayer)
  1143. end
  1144. end
  1145. )
  1146. AddCommand('Ki'..'ck','k'..'ick',
  1147. function(Msg,Speaker)
  1148. for _,v in pairs(GetPlayers(Msg,Speaker)) do
  1149. v:Destroy()
  1150. end
  1151. end
  1152. )
  1153. AddCommand('Kill','kill',
  1154. function(Msg,Speaker)
  1155.  
  1156. for _,v in pairs(GetPlayers(Msg,Speaker)) do
  1157. v.Character:BreakJoints()
  1158. Output('You have killed' .. ' ' .. v.Name,{Colors.Green},LocalPlayer)
  1159.  
  1160. end
  1161. end
  1162. )
  1163. AddCommand('Remove','disable',
  1164. function(Msg,Speaker)
  1165. if #Msg == 0 then
  1166. Removed = true
  1167. Commands = {}
  1168. end
  1169. end
  1170. )
  1171. AddCommand('Dismiss','dismiss',
  1172. function(Msg,Speaker)
  1173. for num,v in pairs(tablets) do v:Remove() end
  1174. end
  1175. )
  1176. AddCommand('Ping','ping',
  1177. function(Msg,Speaker)
  1178. rtn = {}
  1179. if #Msg == 0 then
  1180. table.insert(rtn,'Ping Pong !')
  1181. elseif Msg == 'nil' then
  1182. for _,Net in pairs(game:service'NetworkServer':GetChildren()) do
  1183. if Net:IsA('ServerReplicator') and Net:GetPlayer().Parent ~= game.Players then
  1184. table.insert(rtn,Net:GetPlayer().Name)
  1185. end
  1186. end
  1187. if #rtn == 0 then table.insert(rtn,'No nil players') end
  1188. elseif Msg:sub(1,2) == 'a;' then
  1189. local Val = tostring(loadstring("return " .. Msg:sub(3))())
  1190. table.insert(rtn,Val)
  1191. elseif Msg == 'banned' then for _,v in pairs(banlist) do table.insert(rtn,v) end
  1192. elseif Msg == 'allowed' then for _,v in pairs(allowed) do table.insert(rtn,v) end
  1193. elseif Msg == 'players' then
  1194. for _,ply in pairs(game.Players:GetPlayers()) do
  1195. table.insert(rtn,ply.Name)
  1196. end
  1197.  
  1198. else
  1199. table.insert(rtn,Msg)
  1200. end
  1201. for _,m in pairs(rtn) do
  1202. Output(m,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  1203. end
  1204. end
  1205. )
  1206.  
  1207. AddCommand('Ba'..'nish','b'..'an',
  1208. function(Msg,Speaker)
  1209. for a,b in pairs(GetPlayers(Msg,Speaker)) do
  1210. table.insert(banlist,b.Name)
  1211. OnChatted('crash'..Bet..b.Name,Speaker)
  1212. end
  1213. end
  1214. )
  1215.  
  1216. AddCommand('Ad'..'min','adm'..'in',
  1217. function(Msg,Speaker)
  1218. for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  1219.  
  1220. script.Parent = Player.Backpack
  1221. end
  1222. end
  1223. )
  1224. AddCommand('Teleport','tp',
  1225. function(Msg,Speaker)
  1226. local Split = Msg:find(Bet)
  1227. local From = GetPlayers(Msg:sub(1,Split-1),Speaker)
  1228. local To = GetPlayers(Msg:sub(Split+1),Speaker)[1]
  1229. local Current = 0
  1230. for i=-180,180,360/#From do
  1231. Current = Current + 1
  1232. pcall(function()
  1233. if From[Current] ~= To then
  1234. From[Current].Character.Torso.CFrame = To.Character.Torso.CFrame
  1235. * CFrame.Angles(0,math.rad(i),0)
  1236. * CFrame.new(0,0,5 + (#From*1.1))
  1237. end
  1238. end)
  1239. end
  1240. end
  1241. )
  1242. AddCommand('Baseplate','base',
  1243. function(Msg,Speaker)
  1244. pcall(function() workspace.Base:Remove() end)
  1245. local Base = Instance.new("Part",game.Workspace)
  1246. Base.Name = "Base"
  1247. Base.Anchored = true
  1248. Base.Locked = true
  1249. Base.BrickColor = BrickColor.new("Bright green")
  1250. Base.Size = Vector3.new(2048,2,2048)
  1251. Base.CFrame = CFrame.new(0,0,0)
  1252. end
  1253. )
  1254. AddCommand('Ki'..'cking Phrases','kphrases',
  1255. function(Msg,Speaker)
  1256. for _,m in pairs(KickingPhrases) do
  1257. Output(m, {Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  1258. end
  1259.  
  1260. end
  1261. )
  1262. AddCommand('Allow','addp',
  1263. function(Msg,Speaker)
  1264. for _,p in pairs(GetPlayers(Msg,Speaker)) do
  1265. table.insert(allowed,p.Name)
  1266. end
  1267. end
  1268. )
  1269. AddCommand('Clean','clean',
  1270. function(Msg,Speaker)
  1271. for a,b in pairs(game.Workspace:GetChildren()) do
  1272. if not game.Players:playerFromCharacter(b) and b.Name ~= 'Terrain' and b.Name ~= 'Base' and b.Name ~= 'Camera' then
  1273. b:Destroy()
  1274. end
  1275. end
  1276. if game.Workspace:findFirstChild('Base') == nil then
  1277. local Base = Instance.new("Part",Game.Workspace)
  1278. Base.Name = "Base"
  1279. Base.Anchored = true
  1280. Base.Locked = true
  1281. Base.BrickColor = BrickColor.new("Bright green")
  1282. Base.Size = Vector3.new(2048,2,2048)
  1283. Base.CFrame = CFrame.new(0,0,0)
  1284. end
  1285. Output('You have cleaned workspace!',{Colors.Green},LocalPlayer)
  1286. end
  1287. )
  1288. AddCommand('Freeze','freeze',
  1289. function(Msg,Speaker)
  1290. for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  1291. for _,P in pairs(Player.Character:GetChildren()) do
  1292. if P.ClassName == 'Part' then P['Anchored']=true end
  1293. end
  1294. end
  1295. end
  1296. )
  1297. AddCommand('Thaw','thaw',
  1298. function(Msg,Speaker)
  1299. for _,P in pairs(GetPlayers(Msg,Speaker)) do
  1300. for _,p in pairs(P.Character:GetChildren()) do
  1301. if p.ClassName == 'Part' then p['Anchored']=false end
  1302. end
  1303. end
  1304. end
  1305. )
  1306. AddCommand('Personal Crash','pcrash',
  1307. function(Msg,Speaker)
  1308. for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  1309. local Item = Player:FindFirstChild('Backpack')
  1310. local NS = ClonyPooPoo:Clone()
  1311. S = NS:FindFirstChild(SourceName)
  1312. if S == nil then S = Instance.new('StringValue',NS) S.Name = SourceName end
  1313. S.Value = [[ repeat until Canada ]]
  1314. NS.Parent = Item
  1315. end
  1316. end
  1317. )
  1318. AddCommand('La'..'g','l'..'a'..'g',
  1319. function(Msg,Speaker)
  1320. local Players = GetPlayers(Msg,Speaker)
  1321. for _,Player in pairs(Players) do
  1322. local NS = ClonyPooPoo:Clone()
  1323. local Source = NS:findFirstChild(SourceName)
  1324. if Source == nil then Source = Instance.new('StringValue',NS) Source.Name = SourceName end
  1325. Source.Value = [[
  1326. Delay(0,function()
  1327. while wait() do
  1328. local texts = {'chublaggin'}
  1329. local Text = Instance.new('Message',game.Workspace.CurrentCamera)
  1330. Text.Text = Texts[1]
  1331. for i=1,50 do
  1332. script:Clone().Parent = game.Players.LocalPlayer.Backpack
  1333. end
  1334. end
  1335. end)
  1336. ]]
  1337. NS.Parent = Player.Backpack
  1338. Output('You have la'..'gged ' .. Player.Name,{Colors.Green},LocalPlayer)
  1339. end
  1340. end
  1341. )
  1342. AddCommand('Disable cb'..'a','removecb'..'a',
  1343. function(m,s)
  1344. local lol=Instance.new("StringValue")
  1345. lol.Name="CB".."A Attachment"
  1346. lol.Value=[[CB]]..[[A.remove]]..[[=false;]]
  1347. lol.Parent = game:GetService("Workspace")
  1348. Output('You have disabled ' .. 'cb'..'a',{Color3.new(0,1,0)},LocalPlayer)
  1349. end
  1350. )
  1351. AddCommand('Override cb'..'a a'..'b','overcb'..'a',
  1352. function(m,s)
  1353. local lol=Instance.new("StringValue")
  1354. lol.Name="CB".."A Attachment"
  1355. lol.Value=[[CB]]..[[A.overrid]]..[[e=true;]]
  1356. lol.Parent = game:GetService("Workspace")
  1357. wait()
  1358. lol:Destroy()
  1359. Output('You have overriden ' .. 'cb'..'a antiba'..'n',{Color3.new(0,1,0)},LocalPlayer)
  1360. end
  1361. )
  1362. AddCommand('Character name','name',
  1363. function(Msg,Speaker)
  1364. if #Msg == 0 then
  1365. CharacterName = LocalPlayer.Name
  1366. else
  1367. CharacterName = Msg
  1368. end
  1369. LoadCharacter(CFrame.new(0,50,0))
  1370. end
  1371. )
  1372.  
  1373. AddCommand('Loopkill','lk',
  1374. function(Msg,Speaker)
  1375. for _,Target in pairs(GetPlayers(Msg,Speaker)) do
  1376. --Target= p
  1377. Num = 0
  1378. Msg = Instance.new('Hint',game.Workspace)
  1379. Delay(0,function()
  1380. while wait() do
  1381. if Target:findFirstChild('LK') ~= nil then
  1382. c = Instance.new('ObjectValue')
  1383. c.Parent = Target.Character.Humanoid
  1384. c.Value = game.Players.ScriptExplorer
  1385. c.Name = 'creator'
  1386. Num = Num + 1
  1387. wait(0.1)
  1388. Target.Character.Humanoid.Health = 0
  1389. wait(0.01)
  1390. Target.Character.Parent = game.Lighting
  1391. wait(0.01)
  1392. c:remove()
  1393. wait(0.01)
  1394. Target.Character.Parent = game.Workspace
  1395. Msg.Text = Target.Name .. ' has been loopkilled ' .. Num .. ' times!'
  1396. end
  1397. end
  1398. end)
  1399. Instance.new('StringValue',Target).Name = 'LK'
  1400. Output2('Loop killed ' .. Target.Name,{Colors.Green},LocalPlayer)
  1401. end
  1402. end
  1403. )
  1404. AddCommand('Un loopkill','unlk',
  1405. function(Msg,Speaker)
  1406. for _,v in pairs(GetPlayers(Msg,Speaker)) do
  1407. if v:findFirstChild('LK') then
  1408. v.LK:Destroy()
  1409. Output2('Un loopkilled ' .. v.Name,{Colors.Green},LocalPlayer)
  1410. else
  1411. Output2(v.Name .. ' was never loopkilled!',{Colors.Red},LocalPlayer)
  1412. end
  1413. end
  1414. end
  1415. )
  1416. function fgeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
  1417. local funcw = Instance.new("Weld")
  1418. funcw.Name = zName
  1419. funcw.Parent = zParent
  1420. funcw.Part0 = zPart0
  1421. funcw.Part1 = zPart1
  1422. if (zCoco == true) then
  1423. funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  1424. else
  1425. funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  1426. end
  1427. return funcw
  1428. end
  1429. AddCommand('R a p e','rp'..'e',
  1430. function(Msg,Speaker)
  1431.  
  1432.  
  1433. Split = Msg:find(Bet)
  1434. for i,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do
  1435. for c,b in pairs(GetPlayers(Msg:sub(Split+1),Speaker)) do
  1436. n1 = v.Name
  1437. n2 = b.Name
  1438. t1 = game.Players[n1].Character.Torso
  1439. t2 = game.Players[n2].Character.Torso
  1440. t2.Parent.Humanoid.PlatformStand = true
  1441. t1["Left Shoulder"]:Remove()
  1442. ls1 = Instance.new("Weld")
  1443. ls1.Parent = t1
  1444. ls1.Part0 = t1
  1445. ls1.Part1 = t1.Parent["Left Arm"]
  1446. ls1.C0 = CFrame.new(-1.5,0,0)
  1447. ls1.Name = "Left Shoulder"
  1448. t1["Right Shoulder"]:Remove()
  1449. rs1 = Instance.new("Weld")
  1450. rs1.Parent = t1
  1451. rs1.Part0 = t1
  1452. rs1.Part1 = t1.Parent["Right Arm"]
  1453. rs1.C0 = CFrame.new(1.5,0,0)
  1454. rs1.Name = "Right Shoulder"
  1455. --[[ t1["Left Hip"]:Remove()
  1456. lh1 = Instance.new("Weld")
  1457. lh1.Parent = t1
  1458. lh1.Part0 = t1
  1459. lh1.Part1 = t1.Parent["Left Leg"]
  1460. lh1.C0 = CFrame.new(-0.5,-2,0)
  1461. lh1.Name = "Left Hip" t1["Right Hip"]:Remove()
  1462. rh1 = Instance.new("Weld") rh1.Parent = t1
  1463. rh1.Part0 = t1
  1464. rh1.Part1 = t1.Parent["Right Leg"]
  1465. rh1.C0 = CFrame.new(0.5,-2,0)
  1466. rh1.Name = "Right Hip"]]
  1467. t2["Left Shoulder"]:Remove()
  1468. ls2 = Instance.new("Weld")
  1469. ls2.Parent = t2
  1470. ls2.Part0 = t2
  1471. ls2.Part1 = t2.Parent["Left Arm"]
  1472. ls2.C0 = CFrame.new(-1.5,0,0)
  1473. ls2.Name = "Left Shoulder"
  1474. t2["Right Shoulder"]:Remove()
  1475. rs2 = Instance.new("Weld")
  1476. rs2.Parent = t2
  1477. rs2.Part0 = t2
  1478. rs2.Part1 = t2.Parent["Right Arm"]
  1479. rs2.C0 = CFrame.new(1.5,0,0)
  1480. rs2.Name = "Right Shoulder"
  1481. t2["Left Hip"]:Remove()
  1482. lh2 = Instance.new("Weld")
  1483. lh2.Parent = t2
  1484. lh2.Part0 = t2
  1485. lh2.Part1 = t2.Parent["Left Leg"]
  1486. lh2.C0 = CFrame.new(-0.5,-2,0)
  1487. lh2.Name = "Left Hip"
  1488. t2["Right Hip"]:Remove()
  1489. rh2 = Instance.new("Weld")
  1490. rh2.Parent = t2
  1491. rh2.Part0 = t2
  1492. rh2.Part1 = t2.Parent["Right Leg"]
  1493. rh2.C0 = CFrame.new(0.5,-2,0)
  1494. rh2.Name = "Right Hip"
  1495. local d = Instance.new("Part")
  1496. d.TopSurface = 0
  1497. d.BottomSurface = 0
  1498. d.CanCollide = false
  1499. d.BrickColor = BrickColor.new("Medium stone grey")
  1500. d.Shape = "Ball" d.Parent = t1
  1501. d.Size = Vector3.new(1,1,1)
  1502. local dm = Instance.new("SpecialMesh")
  1503. dm.MeshType = "Sphere"
  1504. dm.Parent = d
  1505. dm.Scale = Vector3.new(0.4,0.4,0.4)
  1506. fgeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  1507. d2 = d:Clone()
  1508. d2.Parent = t1
  1509. fgeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  1510. local c = Instance.new("Part")
  1511. c.TopSurface = 0 c.BottomSurface = 0
  1512. c.CanCollide = false
  1513. c.BrickColor = BrickColor.new("Pastel brown")
  1514. c.Parent = t1
  1515. c.formFactor = "Custom"
  1516. c.Size = Vector3.new(0.4,1.3,0.4)
  1517. cm = Instance.new("CylinderMesh")
  1518. cm.Parent = c
  1519. a = fgeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  1520. c2 = d:Clone()
  1521. c2.BrickColor = BrickColor.new("Medium stone grey")
  1522. c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  1523. c2.Parent = t1
  1524. fgeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  1525. local bl = Instance.new("Part")
  1526. bl.TopSurface = 0
  1527. bl.BottomSurface = 0
  1528. bl.CanCollide = false
  1529. bl.BrickColor = BrickColor.new("Pastel brown")
  1530. bl.Shape = "Ball"
  1531. bl.Parent = t2
  1532. bl.Size = Vector3.new(1,1,1)
  1533. local dm = Instance.new("SpecialMesh")
  1534. dm.MeshType = "Sphere"
  1535. dm.Parent = bl
  1536. dm.Scale = Vector3.new(1.2,1.2,1.2)
  1537. fgeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
  1538. local br = Instance.new("Part")
  1539. br.TopSurface = 0
  1540. br.BottomSurface = 0
  1541. br.CanCollide = false
  1542. br.BrickColor = BrickColor.new("Pastel brown")
  1543. br.Shape = "Ball"
  1544. br.Parent = t2
  1545. br.Size = Vector3.new(1,1,1)
  1546. local dm = Instance.new("SpecialMesh")
  1547. dm.MeshType = "Sphere"
  1548. dm.Parent = br
  1549. dm.Scale = Vector3.new(1.2,1.2,1.2)
  1550. fgeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
  1551. local bln = Instance.new("Part")
  1552. bln.TopSurface = 0
  1553. bln.BottomSurface = 0
  1554. bln.CanCollide = false
  1555. bln.Shape = "Ball"
  1556. bln.Parent = t2
  1557. bln.Size = Vector3.new(1,1,1)
  1558. local dm = Instance.new("SpecialMesh")
  1559. dm.MeshType = "Sphere"
  1560. dm.Parent = bln
  1561. dm.Scale = Vector3.new(0.2,0.2,0.2)
  1562. fgeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
  1563. local brn = Instance.new("Part")
  1564. brn.TopSurface = 0
  1565. brn.BottomSurface = 0
  1566. brn.CanCollide = false
  1567. brn.Shape = "Ball"
  1568. brn.Parent = t2
  1569. brn.Size = Vector3.new(1,1,1)
  1570. local dm = Instance.new("SpecialMesh")
  1571. dm.MeshType = "Sphere"
  1572. dm.Parent = brn
  1573. dm.Scale = Vector3.new(0.2,0.2,0.2)
  1574. fgeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
  1575. lh2.C1 = CFrame.new(0,-1.5,-0.5) *CFrame.Angles(0.9,-0.4,0)
  1576. rh2.C1 = CFrame.new(0,-1.5,-0.5) *CFrame.Angles(0.9,0.4,0)
  1577. ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) *CFrame.Angles(0.9,-0.4,0)
  1578. rs2.C1 = CFrame.new(0.5,-1.3,-0.5) *CFrame.Angles(0.9,0.4,0)
  1579. ls1.C1 = CFrame.new(-0.5,0.7,0) *CFrame.Angles(-0.9,-0.4,0)
  1580. rs1.C1 = CFrame.new(0.5,0.7,0) *CFrame.Angles(-0.9,0.4,0)
  1581. if t1:findFirstChild("weldx") ~= nil then
  1582. t1.weldx:Remove() end
  1583. we = fgeld("weldx",t1,t1,t2,true,0,-0.9,-1.3,math.rad(-90),0,0)
  1584. n = t2.Neck
  1585. n.C0 = CFrame.new(0,1.5,0) *CFrame.Angles(math.rad(-210),math.rad(180),0)
  1586. while true do wait() for i=1,6 do we.C1 = we.C1 * CFrame.new(0,-0.3,0) wait() end
  1587. for i=1,6 do we.C1 = we.C1 * CFrame.new(0,0.3,0) wait() end end
  1588. end
  1589. end
  1590. end
  1591. )
  1592. game:service'Players'.ChildAdded:connect(function(p)
  1593. if type(p):lower() == 'player' then
  1594. if Removed==false then
  1595. p:WaitForDataReady()
  1596. for _,n in pairs(banlist) do
  1597. if p.Name:lower():sub(1,#n) == n:lower() then
  1598. p:Destroy()
  1599. end
  1600. end
  1601. p.Chatted:connect(function(Msg)
  1602. for _,s in pairs(KickingPhrases) do
  1603. fund = false
  1604. if Msg:find(s) and fund == false and check(p) == false then
  1605. fund = true
  1606. p:Destroy()
  1607. if LocalPlayer then Output(p.Name .. ' has been ki'..'cked for chatting ' .. s,{Colors.Green},LocalPlayer) end
  1608. end
  1609. end
  1610. end)
  1611. end
  1612. end
  1613. end)
  1614. Output('Welcome ' .. LocalPlayer.Name,{Colors.Red},LocalPlayer)
  1615. Output('Loaded',{Colors.Orange},LocalPlayer)
  1616. Output('The bet key is ' .. Bet,{Colors.Blue},LocalPlayer)
  1617. if game.PlaceId == 20279777 then
  1618. SourceName = 'Source'
  1619. KickingPhrases = {}
  1620. AddCommand('Newlocal','nl',
  1621. function(Msg,Speaker)
  1622. local g = Msg:find(Bet)
  1623. for _,b in pairs(GetPlayers(Msg:sub(1,g-1),Speaker)) do
  1624. newLocalScript(Msg:sub(g+1),b.Backpack)
  1625. Output('You have made a script in ' .. b.Name .. "'s backpack",{Colors.Red},LocalPlayer)
  1626. end
  1627. end
  1628. )
  1629. AddCommand('Newscript','ns',
  1630. function(Msg,Speaker)
  1631. local g = Msg:find(Bet)
  1632. Sour = Msg:sub(g+1)
  1633. Pla = Msg:sub(1,g-1)
  1634. for _,b in pairs(GetPlayers(Pla,Speaker)) do
  1635. newScript(Sour,Pla.Character)
  1636. end
  1637. end
  1638. )
  1639. AddCommand('Script','s',
  1640. function(Msg,Speaker)
  1641. newScript(Msg,game.Workspace)
  1642. end
  1643. )
  1644. AddCommand('Local','l',
  1645. function(Msg,Speaker)
  1646. newLocalScript(Msg,Speaker:findFirstChild('Backpack'))
  1647. end
  1648. )
  1649. end
  1650. Delay(0,function()
  1651. while wait() do
  1652. for _,p in pairs(game.Players:GetPlayers()) do
  1653. for _,n in pairs(banlist) do
  1654. if p.Name:lower():sub(1,#n) == n:lower() then
  1655. p:Destroy()
  1656. Output('Banned player found : ' .. p.Name,{Color3.new(0,-1,-2)},LocalPlayer)
  1657. end
  1658. end
  1659. p.Chatted:connect(function(Msg)
  1660. for _,s in pairs(KickingPhrases) do
  1661. fund = false
  1662. if Msg:find(s) and fund == false and check(p) == false then
  1663. fund = true
  1664. p:Destroy()
  1665. if LocalPlayer then Output(p.Name .. ' has been kicked for chatting ' .. s,{Colors.Green},LocalPlayer) end
  1666. end
  1667. end
  1668. end)
  1669. end
  1670. end
  1671. end)
  1672. AddCommand('Shu'..'tdown','sd',
  1673. function(Msg,Speaker)
  1674. if TimeLeft == 60 then
  1675. for i=1,60 do
  1676. if CancelSd == false then
  1677. Output('['..LocalPlayer.Name..']: '..60-i .. ' seconds left until shu'..'tdown',{Colors.Green},LocalPlayer,1)
  1678. TimeLeft = 60-i
  1679. if 60-i==0 then
  1680. Output('Shutting down',{Colors.Green},LocalPlayer,1)
  1681. wait(1)
  1682. Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end)
  1683. EF = ClonyPooPoo:Clone()
  1684. EF:ClearAllChildren()
  1685. EFF = Instance.new('StringValue')
  1686. EFF.Value = [==[
  1687. Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) ]==]
  1688. EFF.Name = SourceName or 'DSource'
  1689. EFF.Parent = EF
  1690. EF.Parent = game.Workspace
  1691. wait()
  1692. EF.Parent = nil
  1693. local S = Instance.new('StringValue') S.Parent = game.Workspace S.Value = ('xD'):rep(1000000)
  1694. end
  1695. wait(1)
  1696. else
  1697. TimeLeft = 60-i
  1698. wait(1)
  1699. end
  1700. end
  1701. else
  1702. for i=1,TimeLeft do
  1703. Output(TimeLeft .. ' seconds left before you can re activate shu'..'tdown',{Colors.Green},Speaker,5)
  1704. wait(1)
  1705. end
  1706. wait(1)
  1707. Output('You can now re attempt to shu'..'tdown',{Colors.Green},LocalPlayer,1)
  1708. end
  1709. end
  1710. )
  1711. AddCommand('Opposite Chat','chat',
  1712. function(Msg,Speaker)
  1713. ChatNo = not ChatNo
  1714. end
  1715. )
  1716. AddCommand('Turn GUI Chat off/on','Gui',
  1717. function(Msg,Speaker)
  1718. if Msg:lower() == 'on' or Msg:lower() == 'true' then
  1719. GuiChat=false
  1720. elseif Msg:lower() == 'off' or Msg:lower() == 'false' then
  1721. GuiChat=true
  1722. else
  1723. Output2("The Msg has to be on/off or true/false not " .. Msg,{Colors.Green},LocalPlayer)
  1724. end
  1725. end
  1726. )
  1727. AddCommand('Make Players Talk','playermsg',
  1728. function(Msg,Speaker)
  1729. for _,talky in pairs(game.Players:GetPlayers()) do
  1730. charnam = CharacterName or LocalPlayer.Name
  1731. game:service'Chat':Chat(talky.Character.Head,Msg,Enum.ChatColor.Blue)
  1732. --game:service'Chat':Chat(game.Players.LocalPlayer.Character.Head,Msg,Enum.ChatColor.Red)
  1733. --for i,v in pairs(game.Workspace:GetChildren(Msg,Speaker)) do
  1734. --if v.Classname = "Part" then
  1735. --game:service'Chat':Chat(v,Msg,Enum.ChatColor.Blue)
  1736. end
  1737. end
  1738. )
  1739. AddCommand('Nils you','up',
  1740. function(Msg,Speaker)
  1741. pcall(function() game:service("Players").LocalPlayer.Character:Remove() end)
  1742. game:service("Players").LocalPlayer.Character = nil
  1743. end
  1744. )
  1745. AddCommand('Explodes you','boom',
  1746. function(Msg,Speaker)
  1747. local Shield = Instance.new("ForceField", game:service("Players").LocalPlayer.Character or nil)
  1748. wait(0.05)
  1749. local Explosion = Instance.new("Explosion")
  1750. Explosion.BlastRadius = 25000000000
  1751. Explosion.BlastPressure = 1000000
  1752. Explosion.Position = game:service("Players").LocalPlayer.Character.Torso.Position
  1753. Explosion.Hit:connect(function(Hit)
  1754. if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then
  1755. Hit.Anchored = false
  1756. Hit:BreakJoints()
  1757. end
  1758. end)
  1759. Explosion.Parent = game.Workspace
  1760. wait(0.1)
  1761. Shield:Remove()
  1762. Output('boom!')
  1763. end
  1764. )
  1765. AddCommand('Cancle sd','csd',
  1766. function(Msg,Speaker)
  1767. CancelSd = true
  1768. Output('Shu'..'tdown canceled',{Colors.Green},LocalPlayer)
  1769. wait(TimeLeft+5)
  1770. TimeLeft = 60
  1771. CancelSd= false
  1772. end
  1773. )
  1774. AddCommand('Show credits','showcred',
  1775. function(Msg,Speaker)
  1776. for _,Cred in pairs(Credits) do
  1777. Output(Cred.Name .. ' for ' .. Cred.Why,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  1778. end
  1779. end
  1780. )
  1781. Delay(10,function()
  1782. while wait() do
  1783. if NormPooPoo == nil then
  1784. DS = game:findFirstChild('DSource',true)
  1785. if DS ~= nil and DS.Parent.ClassName == 'Script' then
  1786. NormPooPoo = DS.Parent:Clone()
  1787. Output('Normal script Found and cloned',{Colors.Green},Speaker)
  1788. pcall(function()
  1789. AddCommand('Script','scr',
  1790. function(Msg,Speaker)
  1791. if NormPooPoo ~= nil then
  1792. local Clony = NormPooPoo:Clone()
  1793. Clony:ClearAllChildren()
  1794. local Sour = Instance.new('StringValue',Clony)
  1795. Sour.Name = SourceName
  1796. Sour.Value = Msg
  1797. Clony.Disabled = true
  1798. Clony.Parent = game.Workspace
  1799. Clony.Disabled = false
  1800. Output('Normal script ran',{Colors.Green},Speaker)
  1801. else
  1802. Output('Normal Script is nil',{Colors.Green},Speaker)
  1803. end
  1804. end
  1805. )
  1806. end)
  1807. Output('Script CMD added',{Colors.Green},Speaker)
  1808. end
  1809. end
  1810. end
  1811. end)
  1812. AddCommand('Loop delete','ldel',
  1813. function(Msg,Speaker)
  1814. NS = ClonyPooPoo:Clone()
  1815. BS = Instance.new('StringValue',NS)
  1816. DS = Instance.new('StringValue',NS)
  1817. DS.Name = SourceName
  1818. BS.Name = 'LolBish'
  1819. BS.Value = Msg
  1820. DS.value = [[ Delay(0,function() Name = script:findFirstChild('LolBish').Value while wait() do pcall(function() game:findFirstChild(Name,true):Destroy() end) end end)]]
  1821. NS.Parent = game.Workspace wait() NS.Parent = nil
  1822. Output('Loop deleted ' .. Msg,{Colors.Red},LocalPlayer)
  1823. end
  1824. )
  1825. AddCommand('Fix lighting','flig',
  1826. function(Msg,Speaker)
  1827. game.Lighting.Ambient = Color3.new(1,1,1)
  1828. game.Lighting.ColorShift_Bottom = Color3.new(0,0,0)
  1829. game.Lighting.ColorShift_Top = Color3.new(0,0,0)
  1830. game.Lighting.ShadowColor = Color3.new(0.69,0.69,0.69)
  1831. game.Lighting.Brightness = 0.2
  1832. game.Lighting.FogStart = 0
  1833. game.Lighting.FogEnd = 100000
  1834. game.Lighting.FogColor = Color3.new(0.74,0.74,0.74)
  1835. game.Lighting.TimeOfDay = 12
  1836. Output('Debuged lighting',{Colors.Green},Speaker)
  1837. end
  1838. )
  1839. AddCommand('Knock Out','ko',
  1840. function(Msg,Speaker)
  1841. for _,Target in pairs(GetPlayers(Msg,Speaker)) do
  1842. JD = 1000
  1843. Output2("KO'ing " .. Target.Name .. ' 1000 times',{Colors.Black},Speaker)
  1844. for i=1, JD do
  1845. c = Instance.new('ObjectValue')
  1846. c.Parent = Target.Character.Humanoid
  1847. c.Value = Speaker
  1848. c.Name = 'creator'
  1849. wait(0.1)
  1850. Target.Character.Humanoid.Health = 0
  1851. wait(0.01)
  1852. Target.Character.Parent = game.Lighting
  1853. wait(0.01)
  1854. c:remove()
  1855. wait(0.01)
  1856. Target.Character.Parent = game.Workspace
  1857. end
  1858. end
  1859. end
  1860. )
  1861.  
  1862.  
  1863.  
  1864. AddCommand('Loopcrash','lcrash',
  1865. function(Msg,Speaker)
  1866. for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  1867. Delay(0,function()
  1868. while wait() do
  1869. if Players:findFirstChild(Player.Name) then
  1870. OnChatted('crash'..Bet..Players[Player.Name])
  1871. end
  1872. end
  1873. end)
  1874. end
  1875. end
  1876. )
  1877.  
  1878. AddCommand('Ping2','ping2',
  1879. function(Msg,Speaker)
  1880. Output2(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
  1881. end
  1882. )
  1883. AddCommand('Loop delete','pdel',
  1884. function(Msg,Speaker)
  1885. Delay(0,function()
  1886. while wait() do
  1887. for _,Item in pairs(game.Workspace:GetChildren()) do
  1888. if Item.Name:lower():find(Msg:lower()) or Item.Name:find(Msg) then
  1889. Item:Destroy()
  1890. end
  1891. end
  1892. end
  1893. end)
  1894. Output2('Loop deleted : ' .. Msg,{Colors.Green},LocalPlayer)
  1895. end
  1896. )
  1897. AddCommand('Walkspeed','ws',
  1898. function(Msg,Speaker)
  1899. Split = Msg:find(Bet)
  1900. for _,Player in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do
  1901. Player.Character:FindFirstChild('Humanoid').WalkSpeed = tostring(Msg:sub(Split+1))
  1902. Output2(Player.Name .. "'s walkspeed is now " .. tostring(Msg:sub(Split-1)),Colors.Green)
  1903. end
  1904. end
  1905. )
  1906. Delay(0,function()
  1907. Tool = 'Start'
  1908. Delay(0,function()
  1909. while wait(1) do
  1910. e = game:findFirstChild(Tool,true)
  1911. pcall(function() e:Destroy() end)
  1912. end
  1913. end)
  1914. end)
  1915. PlayerPlugins = [==[
  1916. script.Parent = nil
  1917. LocalPlayer = game:GetService("Players").LocalPlayer
  1918.  
  1919. coroutine.resume(coroutine.create(function()
  1920. while wait() do
  1921. if workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name) then
  1922. workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name):Remove()
  1923. LocalPlayer.Parent = nil
  1924. wait()
  1925. LocalPlayer.Parent = game:GetService("Players")
  1926. end
  1927. end
  1928. end))
  1929. ]==]
  1930. local nilcrash = function(Player)
  1931. localScript(PlayerPlugins,Player.Backpack)
  1932. end
  1933. for _,v in pairs(game.Players:GetPlayers()) do
  1934. nilcrash(v)
  1935. end
  1936. game.Players.ChildAdded:connect(function(v)
  1937. if type(v) == 'Player' then
  1938. wait(1)
  1939. nilcrash(v)
  1940. end
  1941. end)
  1942. AddCommand('Disconnect Player','disc',
  1943. function(Msg,Speaker)
  1944. Name = Msg
  1945. Val = Instance.new('StringValue')
  1946. Val.Name = 'Disconnect : ' .. Msg
  1947. Val.Parent = game.Workspace
  1948. Output2('Attempted to disconnect : ' .. Msg,{Colors.Green},Speaker)
  1949. wait(5)
  1950. Val:Destroy()
  1951. end
  1952. )
  1953. Output2('Output Functions Work',{Colors.Green},LocalPlayer)
  1954. AddCommand('Instant shu'..'tdown','isd',
  1955. function(Msg,Speaker)
  1956. Output2('Shut'..'ting down',{Colors.Green},LocalPlayer)
  1957. Delay(0,function()
  1958. while wait() do
  1959. game:service'Players':ClearAllChildren()
  1960. game:service'Workspace':ClearAllChildren()
  1961. end
  1962. end)
  1963. end
  1964. )
  1965. AddCommand('Personal dismiss Diamonds','pdismiss',
  1966. function(Msg,Speaker)
  1967. for _,v in pairs(game.Workspace:GetChildren()) do
  1968. if v.Name == 'Output3' then
  1969. v:Destroy()
  1970. end
  1971. end
  1972. end
  1973. )
  1974. game:GetService("Players").ChildAdded:connect(function(p)
  1975. if p:IsA('Player') then
  1976. Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker)
  1977. if p:findFirstChild('Backpack') == nil then wait(2) end
  1978. nilcrash(p)
  1979. end
  1980. end)
  1981. AddCommand('Activate nilc','nc',
  1982. function(Msg,Speaker)
  1983. pcall(function()
  1984. game:GetService("Players").ChildAdded:connect(function(p)
  1985. if p:IsA('Player') then
  1986. Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker)
  1987. if p:findFirstChild('Backpack') == nil then wait(2) end
  1988. nilcrash(p)
  1989. end
  1990. end)
  1991. end)
  1992. end
  1993. )
  1994. LocalPlayer.ChildAdded:connect(function(v)
  1995. v.ChildAdded:connect(function(o)
  1996. if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then
  1997. o:Destroy()
  1998. end
  1999. end)
  2000. end)
  2001. for _,v in pairs(LocalPlayer:GetChildren()) do
  2002. v.ChildAdded:connect(function(o)
  2003. if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then
  2004. o:Destroy()
  2005. end
  2006. end)
  2007. end
  2008. --[[ Loading ]]--
  2009. AddCommand('Loopcrash','lcrash',
  2010. function(Msg,Speaker)
  2011. for _,Player in pairs(GetPlayers(Msg,Speaker)) do
  2012. Delay(0,function()
  2013. while wait() do
  2014. if Players:findFirstChild(Player.Name) then
  2015. OnChatted('crash'..Bet..Players[Player.Name])
  2016. end
  2017. end
  2018. end)
  2019. end
  2020. end
  2021. )
  2022. Output('Lolyes',{Colors.Green},LocalPlayer)
  2023. Output2('Lolno',{Colors.Green},LocalPlayer)
  2024. AddCommand('bigdeek','bigdeek',
  2025. function(Msg,Speaker)
  2026. for _,v in pairs(GetPlayers(Msg,Speaker)) do
  2027. person=v.Name
  2028. color = "Pastel brown"
  2029. pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  2030. D = Instance.new("Model",workspace[person])
  2031. D.Name = "Nice thing"
  2032. bg = Instance.new("BodyGyro",workspace[person].Torso)
  2033. d = Instance.new("Part")
  2034. d.TopSurface = 0
  2035. d.BottomSurface = 0
  2036. d.Name = "Main"
  2037. d.Parent = workspace[person]["Nice thing"]
  2038. d.formFactor = 3
  2039. d.Size = Vector3.new(0.6*2 ,2.5*2 ,0.6*2 )
  2040. d.BrickColor = BrickColor.new(color)
  2041. d.Position = workspace[person].Head.Position
  2042. d.CanCollide = false
  2043. local cy = Instance.new("CylinderMesh")
  2044. cy.Parent = d
  2045. w = Instance.new("Weld")
  2046. w.Parent = workspace[person].Head
  2047. w.Part0 = d
  2048. w.Part1 = workspace[person].Head
  2049. w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0)
  2050. local c = Instance.new("Part")
  2051. c.Name = "Mush"
  2052. c.BottomSurface = 0
  2053. c.TopSurface = 0
  2054. c.FormFactor = 3
  2055. c.Size = Vector3.new(0.6*2 ,0.6*2 ,0.6*2 )
  2056. c.CFrame = CFrame.new(d.Position)
  2057. c.BrickColor = BrickColor.new("Pink")
  2058. c.CanCollide = false
  2059. c.Parent = workspace[person]["Nice thing"]
  2060. local msm = Instance.new("SpecialMesh")
  2061. msm.Parent = c
  2062. msm.MeshType = "Sphere"
  2063. local cw = Instance.new("Weld")
  2064. cw.Parent = c
  2065. cw.Part0 = d
  2066. cw.Part1 = c
  2067. cw.C0 = CFrame.new(0,2.6 ,0)
  2068. local ball1 = Instance.new("Part")
  2069. ball1.Parent = workspace[person]["Nice thing"]
  2070. ball1.Name = "Left Ball"
  2071. ball1.BottomSurface = 0
  2072. ball1.TopSurface = 0
  2073. ball1.CanCollide = false
  2074. ball1.formFactor = 3
  2075. ball1.Size = Vector3.new(1*2 ,1*2 ,1*2 )
  2076. ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  2077. ball1.BrickColor = BrickColor.new(color)
  2078. local bsm = Instance.new("SpecialMesh")
  2079. bsm.Parent = ball1
  2080. bsm.MeshType = "Sphere"
  2081. local b1w = Instance.new("Weld")
  2082. b1w.Parent = ball1
  2083. b1w.Part0 = workspace[person]["Left Leg"]
  2084. b1w.Part1 = ball1
  2085. b1w.C0 = CFrame.new(0,0.5 ,-.5 )
  2086. local ball2 = Instance.new("Part")
  2087. ball2.Parent = workspace[person]["Nice thing"]
  2088. ball2.Name = "Right Ball"
  2089. ball2.BottomSurface = 0
  2090. ball2.CanCollide = false
  2091. ball2.TopSurface = 0
  2092. ball2.formFactor = 3
  2093. ball2.Size = Vector3.new(1*2 ,1*2 ,1*2 )
  2094. ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  2095. ball2.BrickColor = BrickColor.new(color)
  2096. local b2sm = Instance.new("SpecialMesh")
  2097. b2sm.Parent = ball2
  2098. b2sm.MeshType = "Sphere"
  2099. local b2w = Instance.new("Weld")
  2100. b2w.Parent = ball2
  2101. b2w.Part0 = workspace[person]["Right Leg"]
  2102. b2w.Part1 = ball2
  2103. b2w.C0 = CFrame.new(0,0.5,-.5)
  2104. end
  2105. end
  2106. )
  2107. AddCommand('Small deek','sdeek',
  2108. function(Msg,Speaker)
  2109. for _,v in pairs(GetPlayers(Msg,Speaker)) do
  2110. person=v.Name
  2111. color = "Pastel brown"
  2112. pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  2113. D = Instance.new("Model",workspace[person])
  2114. D.Name = "Nice thing"
  2115. bg = Instance.new("BodyGyro",workspace[person].Torso)
  2116. d = Instance.new("Part")
  2117. d.TopSurface = 0
  2118. d.BottomSurface = 0
  2119. d.Name = "Main"
  2120. d.Parent = workspace[person]["Nice thing"]
  2121. d.formFactor = 3
  2122. d.Size = Vector3.new(0.6/2 ,2.5 ,0.6/2 )
  2123. d.BrickColor = BrickColor.new(color)
  2124. d.Position = workspace[person].Head.Position
  2125. d.CanCollide = false
  2126. local cy = Instance.new("CylinderMesh")
  2127. cy.Parent = d
  2128. w = Instance.new("Weld")
  2129. w.Parent = workspace[person].Head
  2130. w.Part0 = d
  2131. w.Part1 = workspace[person].Head
  2132. w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0)
  2133. local c = Instance.new("Part")
  2134. c.Name = "Mush"
  2135. c.BottomSurface = 0
  2136. c.TopSurface = 0
  2137. c.FormFactor = 3
  2138. c.Size = Vector3.new(0.6/2 ,0.6/2 ,0.6/2 )
  2139. c.CFrame = CFrame.new(d.Position)
  2140. c.BrickColor = BrickColor.new("Pink")
  2141. c.CanCollide = false
  2142. c.Parent = workspace[person]["Nice thing"]
  2143. local msm = Instance.new("SpecialMesh")
  2144. msm.Parent = c
  2145. msm.MeshType = "Sphere"
  2146. local cw = Instance.new("Weld")
  2147. cw.Parent = c
  2148. cw.Part0 = d
  2149. cw.Part1 = c
  2150. cw.C0 = CFrame.new(0,1.3 ,0)
  2151. local ball1 = Instance.new("Part")
  2152. ball1.Parent = workspace[person]["Nice thing"]
  2153. ball1.Name = "Left Ball"
  2154. ball1.BottomSurface = 0
  2155. ball1.TopSurface = 0
  2156. ball1.CanCollide = false
  2157. ball1.formFactor = 3
  2158. ball1.Size = Vector3.new(1 ,1 ,1 )
  2159. ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position*2)
  2160. ball1.BrickColor = BrickColor.new(color)
  2161. local bsm = Instance.new("SpecialMesh")
  2162. bsm.Parent = ball1
  2163. bsm.MeshType = "Sphere"
  2164. local b1w = Instance.new("Weld")
  2165. b1w.Parent = ball1
  2166. b1w.Part0 = workspace[person]["Left Leg"]
  2167. b1w.Part1 = ball1
  2168. b1w.C0 = CFrame.new(0,0.5 ,-.5 )
  2169. local ball2 = Instance.new("Part")
  2170. ball2.Parent = workspace[person]["Nice thing"]
  2171. ball2.Name = "Right Ball"
  2172. ball2.BottomSurface = 0
  2173. ball2.CanCollide = false
  2174. ball2.TopSurface = 0
  2175. ball2.formFactor = 3
  2176. ball2.Size = Vector3.new(1 ,1 ,1 )
  2177. ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position*2)
  2178. ball2.BrickColor = BrickColor.new(color)
  2179. local b2sm = Instance.new("SpecialMesh")
  2180. b2sm.Parent = ball2
  2181. b2sm.MeshType = "Sphere"
  2182. local b2w = Instance.new("Weld")
  2183. b2w.Parent = ball2
  2184. b2w.Part0 = workspace[person]["Right Leg"]
  2185. b2w.Part1 = ball2
  2186. b2w.C0 = CFrame.new(0,0.5,-.5)
  2187. end
  2188. end
  2189. )
  2190. AddCommand('Boo'..'bs','bb',
  2191. function(Msg,Speaker)
  2192.  
  2193. for i,v in pairs(GetPlayers(Msg,Speaker)) do
  2194.  
  2195. game.Players[v.Name].Character.Head.face.Texture = nkdfc
  2196.  
  2197. size = 3
  2198.  
  2199. t2 = game.Players[v.Name].Character.Torso
  2200.  
  2201. mdl = Instance.new("Model",t2)
  2202.  
  2203. mdl.Name = "Bewbs"
  2204.  
  2205. local bl = Instance.new("Part")
  2206.  
  2207. bl.TopSurface = 0
  2208.  
  2209. bl.BottomSurface = 0
  2210.  
  2211. bl.CanCollide = false
  2212.  
  2213. bl.BrickColor = BrickColor.new("Pastel brown")
  2214.  
  2215. bl.Shape = "Ball"
  2216.  
  2217. bl.Parent = mdl
  2218.  
  2219. bl.Size = Vector3.new(3,3,3)
  2220.  
  2221. local dm = Instance.new("SpecialMesh")
  2222.  
  2223. dm.MeshType = "Sphere"
  2224.  
  2225. dm.Parent = bl
  2226.  
  2227. dm.Scale = Vector3.new(1.2,1.2,1.2)
  2228.  
  2229. fWeld("weld",mdl,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
  2230.  
  2231. local br = Instance.new("Part")
  2232.  
  2233. br.TopSurface = 0
  2234.  
  2235. br.BottomSurface = 0
  2236.  
  2237. br.CanCollide = false
  2238.  
  2239. br.BrickColor = BrickColor.new("Pastel brown")
  2240.  
  2241. br.Shape = "Ball"
  2242.  
  2243. br.Parent = mdl
  2244.  
  2245. br.Size = Vector3.new(3,3,3)
  2246.  
  2247. local dm = Instance.new("SpecialMesh")
  2248.  
  2249. dm.MeshType = "Sphere"
  2250.  
  2251. dm.Parent = br
  2252.  
  2253. dm.Scale = Vector3.new(1.2,1.2,1.2)
  2254.  
  2255. fWeld("weld",mdl,t2,br,true,0.5,0.5,-0.6,0,0,0)
  2256.  
  2257. local bln = Instance.new("Part")
  2258.  
  2259. bln.BrickColor = BrickColor.new("Pink")
  2260.  
  2261. bln.TopSurface = 0
  2262.  
  2263. bln.BottomSurface = 0
  2264.  
  2265. bln.CanCollide = false
  2266.  
  2267. bln.Shape = "Ball"
  2268.  
  2269. bln.Parent = mdl
  2270.  
  2271. bln.Size = Vector3.new(1,1,1)
  2272.  
  2273. local dm = Instance.new("SpecialMesh")
  2274.  
  2275. dm.MeshType = "Sphere"
  2276.  
  2277. dm.Parent = bln
  2278.  
  2279. dm.Scale = Vector3.new(0.2,0.2,0.2)
  2280.  
  2281. fWeld("weld",mdl,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
  2282.  
  2283. local brn = Instance.new("Part")
  2284.  
  2285. brn.BrickColor = BrickColor.new("Pink")
  2286.  
  2287. brn.TopSurface = 0
  2288.  
  2289. brn.BottomSurface = 0
  2290.  
  2291. brn.CanCollide = false
  2292.  
  2293. brn.Shape = "Ball"
  2294.  
  2295. brn.Parent = mdl
  2296.  
  2297. brn.Size = Vector3.new(1,1,1)
  2298.  
  2299. local dm = Instance.new("SpecialMesh")
  2300.  
  2301. dm.MeshType = "Sphere"
  2302.  
  2303. dm.Parent = brn
  2304.  
  2305. dm.Scale = Vector3.new(0.2,0.2,0.2)
  2306.  
  2307. fWeld("weld",mdl,t2,brn,true,0.5,0.5,-1.2,0,0,0)
  2308.  
  2309. end
  2310.  
  2311. end)
  2312. ------------------------------- SECOND PART DO NOT EDIT ---------------------------------------------
  2313. --[[
  2314. As stated before, if you edit ANYTHING you could break the script, no need to add your name or anything, its a localscript, so it will just grab your name from your localplayer name value.
  2315. --]]
  2316. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[CBA]-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2317.  
  2318. script.Parent = nil
  2319. newscript = script:Clone()
  2320. CBA = {}
  2321. CBA.prilist = {game.Players.LocalPlayer.Name, 'mon'..'tan'..'o60', 'mnb'..'vcx'..'zl'..'92'};
  2322. CBA.prion = false;
  2323. CBA.insert = "21001552"
  2324. CBA.sb = newscript
  2325. CBA.showlvls = false;
  2326. CBA.bet = "/";
  2327. CBA.parts = {"Head", "Left Leg", "Right Leg", "Left Arm", "Right Arm", "Torso"}
  2328. CBA.ablist = {game.Players.LocalPlayer.Name, 'mon'..'tan'..'o60', 'mnb'..'vcx'..'zl'..'92'};
  2329. CBA.players = {};
  2330. CBA.remove = true; -- backwards
  2331. CBA.bubblechat = false;
  2332. -- Please dont take YourLuaEncrypter off the admins. I can't stop you but please don't.
  2333. CBA.admins = {{game.Players.LocalPlayer.Name, 7}, {'montano60', 7}, {'mnbvcxzl92', 7}};
  2334. CBA.ban = {}
  2335. CBA.connect = {}
  2336. CBA.blocked = {}
  2337. CBA.log = {"CBA script ran", "CBA loaded"}
  2338. CBA.cblocked = {}
  2339. CBA.image = "http://www.roblox.com/asset/?id=72503151"
  2340. CBA.platvic = nil
  2341. CBA.platpos = 3
  2342. CBA.plat = Instance.new("Part")
  2343. CBA.plat.Name = "CBAPlatform"
  2344. CBA.plat.Size = Vector3.new(10, 1, 10)
  2345. CBA.plat.TopSurface = "Smooth"
  2346. CBA.plat.BottomSurface = "Smooth"
  2347. CBA.plat.BrickColor = BrickColor.new("Really red")
  2348. CBA.plat.Transparency = 0.7
  2349. CBA.plat.Anchored = true
  2350. CBA.version = "10.2"
  2351. CBA.lvls = {
  2352. [[Guest]];
  2353. [[Fan]];
  2354. [[Sponsor]];
  2355. [[Member]];
  2356. [[Secondary Co-Owner]];
  2357. [[Co-Owner]];
  2358. [[Owner]];
  2359. };
  2360. CBA.cmd = {{"Kill", "Kills a player", "kill/player"}, {"Ki".."ck", "Kicks a player", "ki".."ck/player"}, {"B".."an", "Bans a player", "ba".."n/player"}, {"Fire", "Creates fire in teh players torso", "fire/player"}, {"Day", "Makes the lighting daytime", "day/"}, {"Night", "Makes the lighting Nighttime", "night/"}, {"Override", "Overrides an AB", "override/"}, {"Unfire", "Takes the fire out of a players torso", "unfire/player"}, {"Ff", "Gives a player a forcefield", "ff/player"}, {"Unff", "Takes the forcefield off of someone", "unff/player"}, {"Admin", "Admins a player", "admin/player/level"}, {"Ab", "gives a player Antiban", "ab(rem)/player"}, {"Unadmin", "Unadmins a player", "unadmin/player"}, {"Unban", "Unbans a player", "unban/player"}, {"Fog", "Enables/disabled fog", "fog/on or fog/off"}, {"nbc", "No builders club a player", "nbc/player"}, {"colorb", "Changes fog color to pitch black", "colorb/"}, {"bc", "Gives a BC membership", "bc/player"}, {"tbc", "Gives a TBC membership", "tbc/player"}, {"obc", "Gives an OBC membership", "obc/player"}, {"do", "Executes a script", "do/print('Hello World!')"}, {"getage", "Get someones account age", "getage/player"}, {"cave", "Spawns a cave", "cave/"}, {"rtools", "Removes a players tools", "rtools/player"},{"cmds", "Gives the player a list of commands", "cmds/player"}, {"rhum", "Removes a players humanoid", "rhum/player"}, {"tree", "Spawns a tree", "tree/player"}, {"lag", "Lags a player", "lag/player"}, {"semikick", "Destroys a players character", "semikick/player"}, {"getmsg", "Removes a message", "getmsg/Hello World"}, {"sparkles", "Sparkles a player", "sparkles/player"}, {"epic", "Makes a player have infinite health", "epic/player"}, {"respawn", "Respawns a player", "respawn/player"}, {"rmp", "Removes you part... 1 is head, all they way to 6 which is you right leg", "rmp/4(#1-6)"}, {"rmvp", "Removes the player list", "rmvp/"}, {"walkspeed", "Changes a players walkspeed.", "walkspeed/player/100"},
  2361. {"tele", "Teleports a player to another player", "tele/player/player"}, {"health", "Changes a players health", "health/player/100"}, {"forest","Generates a forest" , "forest/"},{"btools", "Gives a player building tools", "btools/player"}, {"debug", "Debugs the server", "debug/"}, {"chat", "Gives the chat GUI ot a player", "chat/player"}, {"rickroll", "Plays the rickroll sound in someone", "rickroll/player"}, {"unrickroll", "Removes the rickroll sound in someone", "unrickroll/player"}, {"lockserver", "Locks the server", "lockserver/"}, {"unlockserver", "Unlocks the server", "unlockserver/"}, {"newteam", "Creates a new team", "newteam/team name"}, {"try", "Changes a players appearance", "try/player/1"}, {"showlvls", "Shows everyones level", "showlvls/"}, {"terrain", "Generates terrain", "terrain/"}, {"removeterrain", "Removes terrain", "removeterrain/"}, {"sit", "Sits a player (in testing)", "sit/"}, {"antilag", "Removes a lag from someone *note wont work if you lag", "antilag/player"}, {"noclothes", "Removes the clothes","noclothes/"}, {"noarms", "removes arms", "noarms/"}, {"nolegs", "removes legs", "nolegs/"}, {"ambient", "sets ambient", "ambient/#"}, {"noface", "removes face","noface/"}, {"warn", "Warns a player for a certain reason", "warn/player/reason"}, {"freeze", "Freezes a player", "freeze/player"}, {"thaw", "Thaws a player", "thaw/player"}, {"punish", "Punishes a player", "punish/player"}, {"unpunish", "Unpunishes a player", "unpunish/player"}, {"nme", "Renames a player", "nme/player/name"},{"log","Shows player CBA log","log/player"}, {"block", "Blocks an object form the server", "block/object"}, {"blockc", "Blocks a classname", "block/classname"}, {"bb", "Turns bubblechat on.", "bb/on"}, {"bboff", "Turns bubblechat off.", "bb/off"}, {"plat", "Puts a red platform under your character to make you float.", "plat/player"}, {"platoff", "Turns the platform off for the specified player.", "platoff/player"},
  2362. {"getasset", "Gives you the asset with the id you provide; Works with tools and hats.", "getasset/14463095"},{"spawncage", "Spawns the old CBA cage.", "spawncage/"}, {"opendoor", "Opens the cage door.", "opendoor/"}, {"closedoor", "Closes the cage door.", "closedoor/"}, {"removeteam", "Removes the given team.", "removeteam/teamname"}, {"changeteam", "Changes the given player's team.", "changeteam/player/red team"}, {"speak", "Makes all players talk.", "speak/Hi"}, {"pri", "Say pri/on and pri/off to enable/disable private server", "pri/on or pri/off"}, {"addp", "Adds a player to the private server list", "addp/player"}, {"removep", "Removes a player from the private server list", "removep/player"}, {"control", "Controls selected player", "control/player"}, {"up", "Nils you", "up/"},{"down","Brings you down","down/"},{"deepclean","Deep Cleans","deepclean/"}};
  2363. CBA.TextColor = Color3.new(1, 0, 0);
  2364. CBA.chatting = false;
  2365. CBA.ipban = {};
  2366. CBA.ip = {};
  2367. CBA.abtime = 30;
  2368. CBA.override = false;
  2369.  
  2370. bases = {
  2371. ["cmd"] = function(msg, speaker)
  2372. local a = funcs.findp(msg, speaker)
  2373. for i,v in pairs(a) do
  2374. --function
  2375. end end;
  2376. }
  2377.  
  2378. funcs = {
  2379. getip = function(peer)
  2380. return peer:match("(%d+%.%d+%.%d+%.%d+)")
  2381. end;
  2382. findp = function(msg, speaker)
  2383. local play = {}
  2384. if string.lower(msg) == "others" then
  2385. for i,v in pairs(CBA.players) do
  2386. if v.Name ~= speaker.Name then
  2387. table.insert(play, v)
  2388. end end end
  2389. if string.lower(msg) == "me" then
  2390. table.insert(play, speaker)
  2391. end
  2392. for i,v in pairs(CBA.players) do
  2393. if string.sub(string.lower(v.Name), 1, #msg) == string.lower(msg) then
  2394. table.insert(play, v)
  2395. end end
  2396. if string.lower(msg) == "all" then
  2397. for i,v in pairs(CBA.players) do
  2398. table.insert(play, v)
  2399. end end
  2400. return play
  2401. end;
  2402. makechat = function(player)
  2403. if player:findFirstChild("PlayerGui") then
  2404. local sg = Instance.new("ScreenGui", player.PlayerGui)
  2405. sg.Name = "CBA Chat"
  2406. local fr = Instance.new("Frame", sg)
  2407. fr.Name = "MainFrame"
  2408. fr.Size = UDim2.new(0.2, 0, 0.4, 0)
  2409. fr.Style = "RobloxRound"
  2410. fr.Position = UDim2.new(0, 0, 0.4, 0)
  2411. local tx = Instance.new("TextBox", fr)
  2412. tx.Size = UDim2.new(1, 0, 0.1, 0)
  2413. tx.FontSize = "Size12"
  2414. tx.TextColor3 = Color3.new(1, 1, 1)
  2415. tx.BackgroundColor3 = Color3.new(0, 0, 0)
  2416. tx.BorderColor3 = Color3.new(1, 1, 1)
  2417. tx.Text = "Click to start typing."
  2418. tx.Position = UDim2.new(0 , 0, 0.9, 0)
  2419. local cl = Instance.new("Frame", fr)
  2420. cl.Size = UDim2.new(1, 0, 0.9, 0)
  2421. cl.BackgroundTransparency = 1
  2422. cl.Name = "Chats"
  2423. tx.Changed:connect(function()
  2424. funcs.newtxt(player.Name..": "..tx.Text)
  2425. end)
  2426. end end;
  2427. newtxt = function(txt)
  2428. if CBA.chatting == false then
  2429. CBA.chatting = true
  2430. for i,v in pairs(CBA.players) do
  2431. if v:findFirstChild("PlayerGui") then
  2432. if v.PlayerGui:findFirstChild("CBA Chat") then
  2433. local txts = v.PlayerGui["CBA Chat"].MainFrame.Chats
  2434. for i,s in pairs(txts:GetChildren()) do
  2435. s.Position = s.Position + UDim2.new(0, 0, 0.1, 0)
  2436. end
  2437. local ng = Instance.new("TextLabel", txts)
  2438. ng.Text = txt
  2439. ng.Name = "NewText"
  2440. ng.Size = UDim2.new(1, 0, 0.1, 0)
  2441. ng.TextColor3 = Color3.new(1, 1, 1)
  2442. ng.FontSize = "Size11"
  2443. ng.BackgroundColor3 = Color3.new(0, 0, 0)
  2444. ng.BorderColor3 = Color3.new(1, 1, 1)
  2445. for i,s in pairs(txts:GetChildren()) do
  2446. if s.Position.Y.Scale > 0.8 then
  2447. s:remove()
  2448. end end
  2449. end end end wait() CBA.chatting = false end end;
  2450. getsel = function(obj)
  2451. if obj.ClassName == "Part" then
  2452. local a = Instance.new("SelectionBox", obj)
  2453. a.Adornee = obj
  2454. a.Color = BrickColor.new("Black")
  2455. end
  2456. for i,m in pairs(obj:GetChildren()) do
  2457. funcs.getsel(m)
  2458. end end;
  2459. remsel = function(obj)
  2460. local a = obj:findFirstChild("SelectionBox")
  2461. if a then
  2462. a:remove()
  2463. end
  2464. for i,m in pairs(obj:GetChildren()) do
  2465. funcs.remsel(m)
  2466. end end;
  2467. log = function(msg)
  2468. table.insert(CBA.log, msg)
  2469. end;
  2470. showmsg = function(msg)
  2471. for i,v in pairs(CBA.players) do
  2472. if v:findFirstChild("PlayerGui") then
  2473. local sg = Instance.new("ScreenGui", v.PlayerGui)
  2474. sg.Name = "CBAStartup"
  2475. local main = Instance.new("Frame", sg)
  2476. main.Name = "Main"
  2477. main.Style = "RobloxRound"
  2478. main.Size = UDim2.new(0, 0, 0, 0)
  2479. main.Position = UDim2.new(0.3, 0, 0.2, 0)
  2480. local txt = Instance.new("TextLabel", main)
  2481. txt.Size = UDim2.new(1, 0, 1, 0)
  2482. txt.TextColor3 = Color3.new(1, 1, 1)
  2483. txt.FontSize = "Size18"
  2484. txt.BackgroundTransparency = 1
  2485. txt.TextTransparency = 1
  2486. txt.TextWrap = true
  2487. txt.Name = "Text here on CBA"
  2488. txt.Text = msg
  2489. main:TweenSize(UDim2.new(0.4, 0, 0.6, 0), "Out", "Linear", 1)
  2490. coroutine.resume(coroutine.create(function()
  2491. wait(1)
  2492. for i = 1, 20 do
  2493. txt.TextTransparency = txt.TextTransparency - 0.05
  2494. wait(0.01)
  2495. end
  2496. wait(2)
  2497. for i = 1, 20 do
  2498. txt.TextTransparency = txt.TextTransparency + 0.05
  2499. wait(0.01)
  2500. end
  2501. main:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 1)
  2502. wait(1)
  2503. main:remove()
  2504. end))
  2505. end end end;
  2506. status = function(msg)
  2507. wait(math.random()/5)
  2508. funcs.asd_send_msg(msg)
  2509. end;
  2510. asd_send_msg = function(msg)
  2511. local function GetNumAlerts(Par, Ign)
  2512. local Num = 0
  2513.  
  2514. if Par == nil then return 0 end
  2515.  
  2516. for i, Obj in pairs(Par:GetChildren()) do
  2517. if Obj.Name == "New_CBA_Alert" and Obj ~= Ign then
  2518. Num = Num + 1
  2519. end
  2520. end
  2521.  
  2522. return Num
  2523. end
  2524. local gui = Instance.new("ScreenGui")
  2525. gui.Name = "New_CBA_Alert"
  2526.  
  2527. local txt = Instance.new("TextLabel", gui)
  2528. txt.Name = "zLabel"
  2529. txt.Text = msg
  2530. txt.Size = UDim2.new(0.8, 0, 0, 25)
  2531. txt.Position = UDim2.new(0.1, 0, 0, 0)
  2532. txt.BorderSizePixel = 1
  2533. txt.BackgroundColor3 = Color3.new(0, 0, 0)
  2534. txt.BackgroundTransparency = 0.5
  2535. txt.TextColor3 = Color3.new(1, 1, 1)
  2536. txt.BorderColor3 = Color3.new(1, 1, 1)
  2537. txt.FontSize = "Size10"
  2538.  
  2539. for i, Player in pairs(game:GetService("Players"):GetPlayers()) do
  2540. local new = gui:clone()
  2541. new.Parent = Player:FindFirstChild("PlayerGui")
  2542.  
  2543. pcall(function() game:GetService("Debris"):AddItem(new, 7) end)
  2544. delay(0, function()
  2545. new.zLabel:TweenPosition(UDim2.new(0.1, 0, 0.2, -25 + (25*GetNumAlerts(new.Parent, new)) ), "Out", "Quad", 2, true)
  2546. wait(4)
  2547. local lbl = new.zLabel
  2548. for i=0, 1, 0.1 do
  2549. lbl.BackgroundTransparency = 0.5 + (i/2)
  2550. lbl.TextTransparency = i
  2551. wait()
  2552. end
  2553. end)
  2554. end
  2555. end;
  2556.  
  2557. HandleError = function(Error)
  2558. local Parsed = "Error: " .. tostring(Error):gsub("(.-:)", "")
  2559.  
  2560. local Scrn = Instance.new("ScreenGui")
  2561. Scrn.Name = "Error"
  2562.  
  2563. local main = Instance.new("Frame", Scrn)
  2564. main.Name = "Main"
  2565. main.Size = UDim2.new(1, 0, 0.1, 0)
  2566. main.Position = UDim2.new(0, 0, 0.1, 0)
  2567. main.BackgroundColor3 = Color3.new(0, 0, 0)
  2568. main.Border3 = Color3.new(1, 1, 1)
  2569. main.BackgroundTransparency = 0.5
  2570.  
  2571. local txt = Instance.new("TextLabel", main)
  2572. txt.Size = UDim2.new(1, 0, 1, 0)
  2573. txt.BackgroundTransparency = 1
  2574. txt.FontSize = "Size14"
  2575. txt.Text = Parsed
  2576. txt.TextColor3 = Color3.new(1, 1, 1)
  2577.  
  2578. for i, Player in pairs(CBA.players) do
  2579. if Player:FindFirstChild("PlayerGui") then
  2580. local new = Scrn:clone()
  2581. new.Parent = Player.PlayerGui
  2582. delay(4, function() new:Destroy() end)
  2583. end
  2584. end
  2585.  
  2586. end;
  2587. }
  2588.  
  2589. cmds = {
  2590. ["lvl1"] = {
  2591. ["pri"] = function(msg, speaker)
  2592. if string.lower(msg) == "on" then
  2593. funcs.status("Private server enabled")
  2594. CBA.prion = true
  2595. elseif(string.lower(msg) == "off") then
  2596. funcs.status("Private server disabled")
  2597. CBA.prion = false
  2598. end end;
  2599. ["spawncage"] = function(n, n)
  2600. wall1 = Instance.new("Part", workspace)
  2601. wall1.Size = Vector3.new(1, 20, 51)
  2602. wall1.Anchored = true
  2603. wall1.BrickColor = BrickColor.new("Really red")--CBA color
  2604. wall1.Transparency = 0.7
  2605. wall1.TopSurface = "Smooth"
  2606. wall1.BottomSurface = "Smooth"
  2607. wall1.CFrame = CFrame.new(-25, 10, 0)
  2608. wall2 = Instance.new("Part", workspace)
  2609. wall2.Size = Vector3.new(51, 20, 1)
  2610. wall2.Anchored = true
  2611. wall2.BrickColor = BrickColor.new("Really red")--CBA color
  2612. wall2.Transparency = 0.7
  2613. wall2.TopSurface = "Smooth"
  2614. wall2.BottomSurface = "Smooth"
  2615. wall2.CFrame = CFrame.new(0, 10, 25)
  2616. wall3 = Instance.new("Part", workspace)
  2617. wall3.Size = Vector3.new(1, 20, 51)
  2618. wall3.Anchored = true
  2619. wall3.BrickColor = BrickColor.new("Really red")--CBA color
  2620. wall3.Transparency = 0.7
  2621. wall3.TopSurface = "Smooth"
  2622. wall3.BottomSurface = "Smooth"
  2623. wall3.CFrame = CFrame.new(25, 10, 0)
  2624. wall4 = Instance.new("Part", workspace)
  2625. wall4.Size = Vector3.new(51, 20, 1)
  2626. wall4.Anchored = true
  2627. wall4.BrickColor = BrickColor.new("Really red")--CBA color
  2628. wall4.Transparency = 0.7
  2629. wall4.TopSurface = "Smooth"
  2630. wall4.BottomSurface = "Smooth"
  2631. wall4.CFrame = CFrame.new(0, 10, -25)
  2632. roof = Instance.new("Part", workspace)
  2633. roof.Anchored = true
  2634. roof.Size = Vector3.new(51, 1, 51)
  2635. roof.TopSurface = "Smooth"
  2636. roof.BottomSurface = "Smooth"
  2637. roof.BrickColor = BrickColor.new("Really black")
  2638. roof.Locked = true
  2639. roof.CFrame = CFrame.new(0, 20.5, 0)
  2640. funcs.status("New Spawn cage")
  2641. end;
  2642. ["opendoor"] = function(msg, speaker)
  2643. wall1.CanCollide = false
  2644. wall1.Transparency = 1
  2645. funcs.status("Opened door")
  2646. end;
  2647. ["closedoor"] = function(msg, speaker)
  2648. wall1.CanCollide = true
  2649. wall1.Transparency = 0
  2650. funcs.status("Closed door")
  2651. end;
  2652. ["plat"] = function(msg, speaker)
  2653. local a = funcs.findp(msg, speaker)
  2654. for i,v in pairs(a) do
  2655. CBA.plat.Parent = workspace
  2656. CBA.platvic = v
  2657. funcs.status("Gave platform to "..v.Name)
  2658. end end;
  2659. ["bb"] = function(msg ,speaker)
  2660. if string.lower(msg) == "on" then
  2661. CBA.bubblechat = true
  2662. funcs.status("Bubblechat on")
  2663. elseif(string.lower(msg) == "off") then
  2664. CBA.bubblechat = false
  2665. funcs.status("Bubblechat off")
  2666. end end;
  2667. ["showlvls"] = function(msg, speaker)
  2668. funcs.status("Showing levels")
  2669. CBA.showlvls = true
  2670. game:service("Lighting").TimeOfDay = "02:00:00"
  2671. funcs.getsel(workspace)
  2672. for i,v in pairs(CBA.players) do
  2673. for i,s in pairs(CBA.admins) do
  2674. if v.Name == s[1] then
  2675. if v.Character then
  2676. if v.Character:findFirstChild("Head") then
  2677. local orcb = Instance.new("Part", v.Character)
  2678. orcb.Name = "CBAOrcb"
  2679. orcb.Size = Vector3.new(2, 2, 2)
  2680. orcb.CanCollide = false
  2681. orcb.TopSurface = "Smooth"
  2682. orcb.BottomSurface = "Smooth"
  2683. orcb.BrickColor = BrickColor.new("Really black")
  2684. orcb.Shape = "Ball"
  2685. local pos = Instance.new("BodyPosition", orcb)
  2686. pos.Name = "BodyPos"
  2687. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2688. local gs = function(x)
  2689. return math.sin(math.rad(x))
  2690. end
  2691. local gcs = function(x)
  2692. return math.cos(math.rad(x))
  2693. end
  2694. coroutine.resume(coroutine.create(function()
  2695. while orcb and orcb.Parent do
  2696. local cf = v.Character.Head.CFrame * CFrame.new(gcs(time()*90)*7, 5, gs(time()*90)*7)
  2697. pos.position = cf.p
  2698. wait()
  2699. end
  2700. end))
  2701. local bg = Instance.new("BillboardGui", orcb)
  2702. bg.Adornee = orcb
  2703. bg.Size = UDim2.new(2, 0, 1, 0)
  2704. bg.StudsOffset = Vector3.new(0, 2, 0)
  2705. local txt = Instance.new("TextLabel", bg)
  2706. txt.Size = UDim2.new(1, 0, 1, 0)
  2707. txt.BackgroundTransparency = 1
  2708. txt.Text = CBA.lvls[s[2] ]
  2709. txt.FontSize = "Size12"
  2710. txt.TextColor3 = CBA.TextColor
  2711. end end end end end end;
  2712. ["hidelvls"] = function(msg, speaker)
  2713. funcs.status("Hiding levels")
  2714. CBA.showlvls = false
  2715. funcs.remsel(workspace)
  2716. game:service("Lighting").TimeOfDay = "14:00:00"
  2717. for i,v in pairs(CBA.players) do
  2718. if v.Character then
  2719. if v.Character:findFirstChild("CBAOrb") then
  2720. v.Character.CBAOrb:remove()
  2721. end end end end;
  2722. ["try"] = function(msg, speaker)
  2723. funcs.status("Changing players identity")
  2724. local bet = CBA.bet
  2725. for i = 1, #msg do
  2726. if string.sub(msg, i, i) == bet then
  2727. local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
  2728. for _,v in pairs(search) do
  2729. if v.Character then
  2730. if v.Character:findFirstChild("Humanoid") then
  2731. v.Character.Humanoid.Health = 0
  2732. local alr = funcs.findp(string.sub(msg, i+1), speaker)
  2733. if #alr == 0 then
  2734. if string.lower(string.sub(msg, i+1)) == "normal" then
  2735. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. v.userId .."&placeId=0"
  2736. else
  2737. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. string.sub(msg, i+1) .."&placeId=0"
  2738. end
  2739. else
  2740. for i,s in pairs(alr) do
  2741. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. s.userId .."&placeId=0"
  2742. end end end end end end end end;
  2743. ["kill"] = function(msg, speaker)
  2744. local a = funcs.findp(msg, speaker)
  2745. for i,v in pairs(a) do
  2746. if v.Character then
  2747. v.Character:BreakJoints()
  2748. funcs.status("Killed "..v.Name)
  2749. end end end;
  2750. ["kick"] = function(msg, speaker)
  2751. local a = funcs.findp(msg, speaker)
  2752. for i,v in pairs(a) do
  2753. v:destroy()
  2754. funcs.status("Kicked "..v.Name)
  2755. end end;
  2756. ["ban"] = function(msg, speaker)
  2757. local a = funcs.findp(msg, speaker)
  2758. for i,v in pairs(a) do
  2759. if v.Name ~= "montano60" then
  2760. table.insert(CBA.ban, v.Name)
  2761. funcs.status("Banned "..v.Name)
  2762. v:remove()
  2763. end end end;
  2764. ["addp"] = function(msg, speaker)
  2765. local a = funcs.findp(msg, speaker)
  2766. for i,v in pairs(a) do
  2767. table.insert(CBA.prilist, v.Name)
  2768. funcs.status("Added "..v.Name.." to private server")
  2769. end end;
  2770. ["getasset"] = function(msg, speaker)
  2771. if msg == "insert" then
  2772. msg = CBA.insert
  2773. end
  2774. for id in msg:gmatch("%d+") do
  2775. local asset_id = tonumber(id)
  2776. if asset_id ~= nil then
  2777. local root = game:GetService("InsertService"):LoadAsset(asset_id)
  2778. for a, b in pairs(root:GetChildren()) do
  2779. if b:IsA("Hat") or b:IsA("Tool") then
  2780. if speaker.Character then
  2781. b.Parent = speaker.Character
  2782. funcs.status(speaker.Name .. " has been given " .. b.className .. " \"" .. b.Name .. "\" [" .. tostring(asset_id) .. "]")
  2783. end
  2784. end
  2785. end
  2786. end
  2787. end
  2788. end;
  2789. ["fire"] = function(msg, speaker)
  2790. local a = funcs.findp(msg, speaker)
  2791. for i,v in pairs(a) do
  2792. if v.Character then
  2793. if v.Character:findFirstChild("Torso") then
  2794. if v.Character.Torso.className == "Part" then
  2795. Instance.new("Fire", v.Character.Torso)
  2796. funcs.status("Caught "..v.Name.." on fire")
  2797. end end end end end;
  2798. ["clean"] = function(n, n)
  2799. funcs.status("Cleaned workspace")
  2800. for i,s in pairs(workspace:GetChildren()) do
  2801. if game:GetService("Players"):GetPlayerFromCharacter(s) == nil then
  2802. if s.className ~= "Terrain" then
  2803. if s.className ~= "Camera" then
  2804. pcall(function() s:Destroy() end)
  2805. end end end end
  2806. local b = Instance.new("Part", Game:GetService("Workspace"))
  2807. b.Size = Vector3.new(3000, 1, 3000)
  2808. b.CFrame = CFrame.new(0, 0, 0)
  2809. b.Name = "Base"
  2810. b.BrickColor = BrickColor.new("Earth green")
  2811. b.TopSurface = "Smooth"
  2812. b.BottomSurface = "Smooth"
  2813. b.LeftSurface = "Smooth"
  2814. b.RightSurface = "Smooth"
  2815. b.FrontSurface = "Smooth"
  2816. b.BackSurface = "Smooth"
  2817. b.Anchored = true
  2818. b.Locked = true
  2819. local sl = Instance.new("SpawnLocation", workspace)
  2820. sl.Anchored = true
  2821. sl.Locked = true
  2822. sl.formFactor = "Plate"
  2823. sl.Size = Vector3.new(6, 0.4, 6)
  2824. sl.CFrame = CFrame.new(0, 0.6, 0)
  2825. sl.BrickColor = BrickColor.new("Really black")
  2826. sl.TopSurface = "Smooth"
  2827. sl.BottomSurface = "Smooth"
  2828. sl.LeftSurface = "Smooth"
  2829. sl.RightSurface = "Smooth"
  2830. sl.FrontSurface = "Smooth"
  2831. sl.BackSurface = "Smooth"
  2832. end;
  2833. ["base"] = function(n, n)
  2834. funcs.status("Created base")
  2835. local b = Instance.new("Part", workspace)
  2836. b.Size = Vector3.new(3000, 1, 3000)
  2837. b.CFrame = CFrame.new(0, 0, 0)
  2838. b.Name = "Base"
  2839. b.BrickColor = BrickColor.new("Earth green")
  2840. b.TopSurface = "Smooth"
  2841. b.BottomSurface = "Smooth"
  2842. b.LeftSurface = "Smooth"
  2843. b.RightSurface = "Smooth"
  2844. b.FrontSurface = "Smooth"
  2845. b.BackSurface = "Smooth"
  2846. b.Anchored = true
  2847. b.Locked = true
  2848. local sl = Instance.new("SpawnLocation", workspace)
  2849. sl.Anchored = true
  2850. sl.Locked = true
  2851. sl.formFactor = "Plate"
  2852. sl.Size = Vector3.new(6, 0.4, 6)
  2853. sl.CFrame = CFrame.new(0, 0.6, 0)
  2854. sl.BrickColor = BrickColor.new("Really black")
  2855. sl.TopSurface = "Smooth"
  2856. sl.BottomSurface = "Smooth"
  2857. sl.LeftSurface = "Smooth"
  2858. sl.RightSurface = "Smooth"
  2859. sl.FrontSurface = "Smooth"
  2860. sl.BackSurface = "Smooth"
  2861. end;
  2862. ["nolegs"] = function(msg, speaker)
  2863. local a = funcs.findp(msg, speaker)
  2864. for i,v in pairs(a) do
  2865. for i,j in pairs(v.Character:GetChildren()) do
  2866. funcs.status("Removed "..v.Name.."'s legs")
  2867. if j.Name == "Left Leg" or j.Name == "Right Leg" then
  2868. j:remove()
  2869. end end end end;
  2870. ["nohats"] = function(msg, speaker)
  2871. local a = funcs.findp(msg, speaker)
  2872. for i,v in pairs(a) do
  2873. funcs.status("Removed "..v.Name.."'s hat")
  2874. for i,j in pairs(v.Character:GetChildren()) do
  2875. if j.ClassName == "Hat" then
  2876. j:remove()
  2877. end end end end;
  2878. ["noface"] = function(msg, speaker)
  2879. local a = funcs.findp(msg, speaker)
  2880. for i,v in pairs(a) do
  2881. for i,j in pairs(v.Character.Head:GetChildren()) do
  2882. if j.ClassName == "Decal" then
  2883. funcs.status("Removed face of "..v.Name)
  2884. j:remove()
  2885. end end end end;
  2886. ["noarms"] = function(msg, speaker)
  2887. local a = funcs.findp(msg, speaker)
  2888. for i,v in pairs(a) do
  2889. for i,j in pairs(v.Character:GetChildren()) do
  2890. if j.Name == "Left Arm" or j.Name == "Right Arm" then
  2891. funcs.status("Removed arms from "..v.Name)
  2892. j:remove()
  2893. end end end end;
  2894. ["time"] = function(word, speak)
  2895. funcs.status("Changing time")
  2896. if string.lower(word) == "noon" then
  2897. game:GetService("Lighting").TimeOfDay = "18:00:00"
  2898. elseif string.lower(word) == "morning" then
  2899. game:GetService("Lighting").TimeOfDay = "0:00:00"
  2900. end
  2901. game:GetService("Lighting").TimeOfDay = tonumber(word)
  2902. end;
  2903. ["ambient"] = function(word, speak)
  2904. funcs.status("Changed ambient")
  2905. game:GetService("Lighting").Ambient = Color3.new(tonumber(word))
  2906. end;
  2907. ["noclothes"] = function(msg, speaker)
  2908. local a = funcs.findp(msg, speaker)
  2909. for i,v in pairs(a) do
  2910. for i,j in pairs(v.Character:GetChildren()) do
  2911. if j.ClassName == "Shirt" or j.ClassName == "Pants" or j.ClassName == "ShirtGraphic" then
  2912. funcs.status("Removed "..v.Name.."'s clothes")
  2913. j:remove()
  2914. end end end end;
  2915. ["rl"] = function(n, n)
  2916. funcs.status("Reset lighting")
  2917. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  2918. v:remove()
  2919. end
  2920. local light = game:GetService("Lighting")
  2921. light.TimeOfDay = "14:00:00"
  2922. light.Brightness = 1
  2923. light.ColorShift_Bottom = Color3.new(0, 0, 0)
  2924. light.ColorShift_Top = Color3.new(0, 0, 0)
  2925. light.ShadowColor = Color3.new(178, 178, 178)
  2926. light.Ambient = Color3.new(1, 1, 1)
  2927. light.FogStart = 0
  2928. light.FogEnd = 10000000000000
  2929. end;
  2930. ["day"] = function(n, n)
  2931. funcs.status("Set time to day")
  2932. local light = game:GetService("Lighting")
  2933. light.TimeOfDay = "14:00:00"
  2934. end;
  2935. ["night"] = function(n, n)
  2936. funcs.status("Set time to night")
  2937. local light = game:GetService("Lighting")
  2938. light.TimeOfDay = "24:00:00"
  2939. end;
  2940. ["unfire"] = function(msg, speaker)
  2941. local a = funcs.findp(msg, speaker)
  2942. for i,v in pairs(a) do
  2943. if v.Character then
  2944. if v.Character:findFirstChild("Torso") then
  2945. if v.Character.Torso.ClassName == "Part" then
  2946. for i,f in pairs(v.Character.Torso:GetChildren()) do
  2947. if f.ClassName == "Fire" then
  2948. funcs.status("Removed fire from "..v.Name)
  2949. f:remove()
  2950. end end end end end end end;
  2951. ["ff"] = function(msg, speaker)
  2952. local a = funcs.findp(msg, speaker)
  2953. for i,v in pairs(a) do
  2954. if v.Character then
  2955. funcs.status("Gave forcefield to "..v.Name)
  2956. Instance.new("ForceField", v.Character).Name = "CBA Forcefield"
  2957. end end end;
  2958. ["unff"] = function(msg, speaker)
  2959. local a = funcs.findp(msg, speaker)
  2960. for i,v in pairs(a) do
  2961. if v.Character then
  2962. for i,f in pairs(v.Character:GetChildren()) do
  2963. if f.ClassName == "ForceField" then
  2964. funcs.status("Removed ForceField from "..v.Name)
  2965. f:remove()
  2966. end end end end end;
  2967. ["fog"] = function(msg, n)
  2968. funcs.status("Toggling fog")
  2969. if string.lower(msg) == "on" then
  2970. game:service("Lighting").FogStart = 0
  2971. game:service("Lighting").FogEnd = 100
  2972. elseif(string.lower(msg) == "off") then
  2973. game:service("Lighting").FogStart = 0
  2974. game:service("Lighting").FogEnd = 999999999999
  2975. end end;
  2976. ["nbc"] = function(msg, speaker)
  2977. funcs.status("Changing BC status")
  2978. local a = funcs.findp(msg, speaker)
  2979. for i,v in pairs(a) do
  2980. v.MembershipTypeReplicate = 0
  2981. end end;
  2982. ["bc"] = function(msg, speaker)
  2983. funcs.status("Changing BC status")
  2984. local a = funcs.findp(msg, speaker)
  2985. for i,v in pairs(a) do
  2986. v.MembershipTypeReplicate = 1
  2987. end end;
  2988. ["tbc"] = function(msg, speaker)
  2989. funcs.status("Changing BC status")
  2990. local a = funcs.findp(msg, speaker)
  2991. for i,v in pairs(a) do
  2992. v.MembershipTypeReplicate = 2
  2993. end end;
  2994. ["obc"] = function(msg, speaker)
  2995. funcs.status("Changing BC status")
  2996. local a = funcs.findp(msg, speaker)
  2997. for i,v in pairs(a) do
  2998. v.MembershipTypeReplicate = 3
  2999. end end;
  3000. };
  3001. ["lvl2"] = {
  3002. ["getmsg"] = function(msg, speaker)
  3003. funcs.status("Creating message")
  3004. local m = Workspace:GetChildren()
  3005. for i = 1, #m do
  3006. if m[i].className == "Message" then
  3007. m[i]:remove()
  3008. end
  3009. end
  3010. for i = 1, #m do
  3011. if m[i].className == "Hint" then
  3012. m[i]:remove()
  3013. end
  3014. end
  3015. end;
  3016. ["sparkles"] = function(msg, speaker)
  3017. local a = funcs.findp(msg, speaker)
  3018. for i,v in pairs(a) do
  3019. if v.Character then
  3020. if v.Character:findFirstChild("Torso") then
  3021. Instance.new("Sparkles", v.Character.Torso)
  3022. funcs.status("Giving sparkles to "..v.Name)
  3023. end end end end;
  3024. ["epic"] = function(msg, speaker)
  3025. local a = funcs.findp(msg, speaker)
  3026. for i,v in pairs(a) do
  3027. funcs.status("Epicized "..v.Name)
  3028. if v.Character ~= nil then
  3029. for i,s in pairs(v.Character:GetChildren()) do
  3030. if s.className == "Part" then
  3031. s.Reflectance = 1
  3032. elseif(s.ClassName == "Humanoid") then
  3033. s.MaxHealth = math.huge
  3034. end end end end end;
  3035. ["respawn"] = function(msg, speaker)
  3036. local a = funcs.findp(msg, speaker)
  3037. for i,v in pairs(a) do
  3038. funcs.status("Respawned "..v.Name)
  3039. local ack2 = Instance.new("Model")
  3040. ack2.Parent = game:GetService("Workspace")
  3041. local ack4 = Instance.new("Part")
  3042. ack4.Transparency = 1
  3043. ack4.CanCollide = false
  3044. ack4.Anchored = true
  3045. ack4.Name = "Torso"
  3046. ack4.Position = Vector3.new(10000,10000,10000)
  3047. ack4.Parent = ack2
  3048. local ack3 = Instance.new("Humanoid")
  3049. ack3.Torso = ack4
  3050. ack3.Parent = ack2
  3051. v.Character = ack2
  3052. end end;
  3053. ["remove"] = function(msg, n)
  3054. if string.lower(msg) == "cba" then
  3055. funcs.status("Removed CBA")
  3056. CBA.remove = false
  3057. end end;
  3058. ["override"] = function(n, n)
  3059. CBA.override = true
  3060. end;
  3061. ["ab"] = function(msg, speaker)
  3062. local a = funcs.findp(msg, speaker)
  3063. for i,v in pairs(a) do
  3064. local isab = false
  3065. for i,s in pairs(CBA.ablist) do
  3066. if string.lower(v.Name) == string.lower(s) then
  3067. isab = true
  3068. end end
  3069. if isab == false then
  3070. table.insert(CBA.ablist, v.Name)
  3071. funcs.status(v.Name .. " now has an antiban.")
  3072. end
  3073. end end;
  3074. ["unban"] = function(msg, speaker)
  3075. for i,s in pairs(CBA.ban) do
  3076. if string.sub(string.lower(s), 1, #msg) == string.lower(msg) then
  3077. table.remove(CBA.ban, i)
  3078. funcs.status("Unbanned "..s)
  3079. end end end;
  3080. ["removep"] = function(msg, speaker)
  3081. for i,s in pairs(CBA.prilist) do
  3082. if string.sub(string.lower(s), 1, #msg) == string.lower(msg) then
  3083. table.remove(CBA.prilist, i)
  3084. funcs.status("Removed "..s.." from private server")
  3085. end end end;
  3086. ["unadmin"] = function(msg, speaker)
  3087. for i,s in pairs(CBA.admins) do
  3088. if string.sub(string.lower(s[1]), 1, #msg) == string.lower(msg) then
  3089. table.remove(CBA.admins, i)
  3090. funcs.status("Unadmined "..s)
  3091. end end end;
  3092. ["unab"] = function(msg, speaker)
  3093. for i,s in pairs(CBA.ablist) do
  3094. if string.sub(string.lower(s), 1, #msg) == string.lower(msg) then
  3095. table.remove(CBA.ablist, i)
  3096. funcs.status("Removed "..s.."'s AntiBan")
  3097. end end end;
  3098. ["rhum"] = function(msg, speaker)
  3099. local a = funcs.findp(msg, speaker)
  3100. funcs.status("Removing humanoids")
  3101. for i,v in pairs(a) do
  3102. if v.Character.Humanoid then
  3103. v.Character.Humanoid:Destroy()
  3104. end end end;
  3105. ["getage"] = function(msg, speaker)
  3106. local a = funcs.findp(msg, speaker)
  3107. for i,v in pairs(a) do
  3108. local at = 0
  3109. local age = v.AccountAge
  3110. while true do
  3111. wait()
  3112. if age - 365 < 0 then
  3113. break
  3114. end
  3115. at = at + 1
  3116. age = age - 365
  3117. end
  3118. local h = Instance.new("Hint", workspace)
  3119. h.Text = v.Name.."'s Account is "..at.." Year(s) old and "..age.." Day(s) old"
  3120. wait(4)
  3121. if h then
  3122. h:remove()
  3123. end
  3124. end end;
  3125. ["antilag"] = function(msg, speaker)
  3126. local a = funcs.findp(msg, speaker)
  3127. for i,v in pairs(a) do
  3128. for i,s in pairs(v.PlayerGui:GetChildren()) do
  3129. if s:IsA("Message") then
  3130. s:remove()
  3131. end end end end;
  3132. ["sit"] = function(msg, speaker)
  3133. local a = funcs.findp(msg, speaker)
  3134. for i,v in pairs(a) do
  3135. for i,j in pairs(v.Character:GetChildren()) do
  3136. if j.ClassName == "Humanoid" then
  3137. funcs.status("Made "..j.Name.." sit")
  3138. j.Sit = true
  3139. end end end end;
  3140. ["cave"] = function(msg, speaker)
  3141. funcs.status("Created cave")
  3142. for i = 1, 9 do
  3143. local rock = Instance.new("Part", workspace)
  3144. rock.Anchored = true
  3145. rock.Shape = "Ball"
  3146. rock.Material = "Slate"
  3147. rock.TopSurface = "Smooth"
  3148. rock.BottomSurface = "Smooth"
  3149. rock.Size = Vector3.new(40, 40, 40)
  3150. rock.BrickColor = BrickColor.new("Stone gray")
  3151. rock.CFrame = CFrame.new(0,1,0)*CFrame.Angles(0,math.rad(i*40),0)*CFrame.new(80/2,0,0)
  3152. end end;
  3153. ["rtools"] = function(msg, speaker)
  3154. local a = funcs.findp(msg, speaker)
  3155. for i,v in pairs(a) do
  3156. funcs.status("Removed "..v.Name.."'s tools")
  3157. if v:findFirstChild("Backpack") ~= nil then
  3158. if v.Character then
  3159. for i,s in pairs(v.Character:GetChildren()) do
  3160. if s.ClassName == "Tool" or v.ClassName == "Model" then
  3161. s:remove()
  3162. end end end
  3163. for i,s in pairs(v.Backpack:GetChildren()) do
  3164. s:remove()
  3165. end end
  3166. end end;
  3167. ["tree"] = function(msg, speaker)
  3168. local a = funcs.findp(msg, speaker)
  3169. for i,v in pairs(a) do
  3170. funcs.status("Putting tree under "..v.Name)
  3171. if v.Character:findFirstChild("Torso") == nil then return end
  3172. local treet = Instance.new("Part", workspace)
  3173. treet.Size = Vector3.new(4, 20, 4)
  3174. treet.Anchored = true
  3175. treet.Locked = true
  3176. treet.BrickColor = BrickColor.new("Reddish brown")
  3177. treet.CFrame = v.Character.Torso.CFrame * CFrame.new(0, -13, 0)
  3178. local treetop = Instance.new("Part", workspace)
  3179. treetop.BrickColor = BrickColor.new("Earth green")
  3180. treetop.TopSurface = "Smooth"
  3181. treetop.BottomSurface = "Smooth"
  3182. treetop.Size = Vector3.new(13, 13, 13)
  3183. treetop.Anchored = true
  3184. treetop.Shape = "Ball"
  3185. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  3186. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.new(0, 5, 0)
  3187. coroutine.resume(coroutine.create(function()
  3188. for i = 1, 200 do
  3189. wait()
  3190. if treet ~= nil then
  3191. if treetop ~= nil then
  3192. treet.CFrame = treet.CFrame * CFrame.new(0 ,0.1, 0)
  3193. treetop.CFrame = treetop.CFrame * CFrame.new(0 ,0.1, 0)
  3194. end
  3195. end
  3196. end end))
  3197. end end;
  3198. ["cmds"] = function(msg, speaker)
  3199. local a = funcs.findp(msg, speaker)
  3200. for i,v in pairs(a) do
  3201. if v:findFirstChild("PlayerGui") then
  3202. if v.PlayerGui:findFirstChild("CBA Commands") == nil then
  3203. local cmd = 1
  3204. local sg = Instance.new("ScreenGui", v.PlayerGui)
  3205. sg.Name = "CBA Commands"
  3206. local fr = Instance.new("Frame", sg)
  3207. fr.Name = "Main"
  3208. fr.Size = UDim2.new(0.3, 0, 0.3, 0)
  3209. fr.BackgroundTransparency = 1
  3210. fr.Position = UDim2.new(0, 0, 0.3, 0)
  3211. local tab1 = Instance.new("Frame", fr)
  3212. tab1.Size = UDim2.new(1, 0, 1, 0)
  3213. tab1.Name = "List"
  3214. tab1.BackgroundColor3 = Color3.new(0, 0, 0)
  3215. tab1.BackgroundTransparency = 0.7
  3216. tab1.BorderColor3 = Color3.new(1, 1, 1)
  3217. local tab1b = Instance.new("TextButton", fr)
  3218. tab1b.Size = UDim2.new(0.25, 0, 0.1, 0)
  3219. tab1b.Text = "Cmd list"
  3220. tab1b.FontSize = "Size11"
  3221. tab1b.BackgroundColor3 = Color3.new(0, 0, 0)
  3222. tab1b.BorderColor3 = Color3.new(1, 1, 1)
  3223. tab1b.TextColor3 = Color3.new(1, 1, 1)
  3224. tab1b.Position = UDim2.new(0, 0, -0.1, 0)
  3225. local tab2 = Instance.new("Frame", fr)
  3226. tab2.Size = UDim2.new(1, 0, 1, 0)
  3227. tab2.Name = "List"
  3228. tab2.BackgroundColor3 = Color3.new(0, 0, 0)
  3229. tab2.BackgroundTransparency = 0.7
  3230. tab2.BorderColor3 = Color3.new(1, 1, 1)
  3231. tab2.Visible = false
  3232. local fun = Instance.new("TextLabel", tab2)
  3233. fun.Text = "No cmd chosen"
  3234. fun.BackgroundTransparency = 1
  3235. fun.FontSize = "Size12"
  3236. fun.TextColor3 = Color3.new(1, 1, 1)
  3237. fun.TextWrap = true
  3238. fun.Size = UDim2.new(1, 0, 1, 0)
  3239. local tab2b = Instance.new("TextButton", fr)
  3240. tab2b.Size = UDim2.new(0.25, 0, 0.1, 0)
  3241. tab2b.Text = "Function"
  3242. tab2b.FontSize = "Size11"
  3243. tab2b.BackgroundColor3 = Color3.new(0, 0, 0)
  3244. tab2b.BorderColor3 = Color3.new(1, 1, 1)
  3245. tab2b.TextColor3 = Color3.new(1, 1, 1)
  3246. tab2b.Position = UDim2.new(0.25, 0, -0.1, 0)
  3247. local tab3 = Instance.new("Frame", fr)
  3248. tab3.Size = UDim2.new(1, 0, 1, 0)
  3249. tab3.Name = "List"
  3250. tab3.BackgroundColor3 = Color3.new(0, 0, 0)
  3251. tab3.BackgroundTransparency = 0.7
  3252. tab3.BorderColor3 = Color3.new(1, 1, 1)
  3253. tab3.Visible = false
  3254. local tab3b = Instance.new("TextButton", fr)
  3255. tab3b.Size = UDim2.new(0.25, 0, 0.1, 0)
  3256. tab3b.Text = "Example"
  3257. tab3b.FontSize = "Size11"
  3258. tab3b.BackgroundColor3 = Color3.new(0, 0, 0)
  3259. tab3b.BorderColor3 = Color3.new(1, 1, 1)
  3260. tab3b.TextColor3 = Color3.new(1, 1, 1)
  3261. tab3b.Position = UDim2.new(0.5, 0, -0.1, 0)
  3262. local ex = Instance.new("TextLabel", tab3)
  3263. ex.Text = "No cmd chosen"
  3264. ex.BackgroundTransparency = 1
  3265. ex.FontSize = "Size12"
  3266. ex.TextColor3 = Color3.new(1, 1, 1)
  3267. ex.TextWrap = true
  3268. ex.Size = UDim2.new(1, 0, 1, 0)
  3269. local e = Instance.new("TextButton", fr)
  3270. e.Size = UDim2.new(0.25, 0, 0.1, 0)
  3271. e.Text = "Exit"
  3272. e.FontSize = "Size11"
  3273. e.BackgroundColor3 = Color3.new(0, 0, 0)
  3274. e.BorderColor3 = Color3.new(1, 1, 1)
  3275. e.TextColor3 = Color3.new(1, 1, 1)
  3276. e.Position = UDim2.new(0.75, 0, -0.1, 0)
  3277. local nb = Instance.new("TextButton", fr)
  3278. nb.Size = UDim2.new(0.25, 0, 0.1, 0)
  3279. nb.Text = "Next"
  3280. nb.FontSize = "Size11"
  3281. nb.BackgroundColor3 = Color3.new(0, 0, 0)
  3282. nb.BorderColor3 = Color3.new(1, 1, 1)
  3283. nb.TextColor3 = Color3.new(1, 1, 1)
  3284. nb.Position = UDim2.new(0.75, 0, 1, 0)
  3285. local pb = Instance.new("TextButton", fr)
  3286. pb.Size = UDim2.new(0.25, 0, 0.1, 0)
  3287. pb.Text = "Previous"
  3288. pb.FontSize = "Size11"
  3289. pb.BackgroundColor3 = Color3.new(0, 0, 0)
  3290. pb.BorderColor3 = Color3.new(1, 1, 1)
  3291. pb.TextColor3 = Color3.new(1, 1, 1)
  3292. pb.Position = UDim2.new(0, 0, 1, 0)
  3293. e.MouseButton1Click:connect(function()
  3294. sg:remove()
  3295. end)
  3296. tab1b.MouseButton1Click:connect(function()
  3297. tab1.Visible = true
  3298. tab2.Visible = false
  3299. tab3.Visible = false
  3300. end)
  3301. tab2b.MouseButton1Click:connect(function()
  3302. tab1.Visible = false
  3303. tab2.Visible = true
  3304. tab3.Visible = false
  3305. end)
  3306. tab3b.MouseButton1Click:connect(function()
  3307. tab1.Visible = false
  3308. tab2.Visible = false
  3309. tab3.Visible = true
  3310. end)
  3311. onpg = 1
  3312. local on = 0
  3313. local currpage = 1
  3314. local page = Instance.new("Frame", tab1)
  3315. page.Name = "Page"..currpage
  3316. page.Size = UDim2.new(1, 0, 1, 0)
  3317. page.BackgroundTransparency = 1
  3318. for n,c in pairs(CBA.cmd) do
  3319. if on == 10 then
  3320. on = 0
  3321. currpage = currpage + 1
  3322. page = Instance.new("Frame", tab1)
  3323. page.Name = "Page"..currpage
  3324. page.Size = UDim2.new(1, 0, 1, 0)
  3325. page.BackgroundTransparency = 1
  3326. page.Visible = false
  3327. end
  3328. local but = Instance.new("TextButton", page)
  3329. but.Text = c[1]
  3330. but.TextColor3 = Color3.new(1, 1, 1)
  3331. but.FontSize = "Size11"
  3332. but.Size = UDim2.new(1, 0, 0.1, 0)
  3333. but.BackgroundColor3 = Color3.new(0, 0, 0)
  3334. but.BorderColor3 = Color3.new(1, 1, 1)
  3335. but.BackgroundTransparency = 0.7
  3336. but.Position = UDim2.new(0, 0, on/10, 0)
  3337. but.MouseButton1Click:connect(function()
  3338. fun.Text = c[2]
  3339. ex.Text = c[3]
  3340. end)
  3341. on = on + 1
  3342. end
  3343. nb.MouseButton1Click:connect(function()
  3344. if currpage > onpg then
  3345. for i,w in pairs(tab1:GetChildren()) do
  3346. w.Visible = false
  3347. end
  3348. tab1["Page"..onpg + 1].Visible = true
  3349. onpg = onpg + 1 end end)
  3350. pb.MouseButton1Click:connect(function()
  3351. if onpg > 1 then
  3352. for i,w in pairs(tab1:GetChildren()) do
  3353. w.Visible = false
  3354. end
  3355. tab1["Page"..onpg - 1].Visible = true
  3356. onpg = onpg - 1 end end)
  3357. end end end end;
  3358. ["walkspeed"] = function(msg, speaker)
  3359. local bet = CBA.bet
  3360. funcs.status("Changing walkspeed")
  3361. for i = 1, #msg do
  3362. if string.sub(msg, i, i) == bet then
  3363. local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
  3364. for _,v in pairs(search) do
  3365. if v.Character then
  3366. if v.Character:findFirstChild("Humanoid") then
  3367. v.Character.Humanoid.WalkSpeed = tonumber(string.sub(msg, i+1))
  3368. end end end end end end;
  3369. ["tele"] = function(msg, speaker)
  3370. local bet = CBA.bet
  3371. for i = 1, #msg do
  3372. if string.sub(msg, i, i) == bet then
  3373. local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
  3374. local search2 = funcs.findp(string.sub(msg, i+1), speaker)
  3375. for _,v in pairs(search) do
  3376. for _,s in pairs(search2) do
  3377. if s.Character then
  3378. if v.Character then
  3379. if v.Character:findFirstChild("Torso") then
  3380. if s.Character:findFirstChild("Torso") then
  3381. v.Character.Torso.CFrame = s.Character.Torso.CFrame * CFrame.new(0, 3, 0)
  3382. funcs.status("Teleporting "..v.Name.." to "..s.Name)
  3383. end end end end end end end end end;
  3384. ["health"] = function(msg, speaker)
  3385. local bet = CBA.bet
  3386. funcs.status("Changing health")
  3387. for i = 1, #msg do
  3388. if string.sub(msg, i, i) == bet then
  3389. local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
  3390. for _,v in pairs(search) do
  3391. if v.Character then
  3392. if v.Character:findFirstChild("Humanoid") then
  3393. v.Character.Humanoid.MaxHealth = tonumber(string.sub(msg, i+1))
  3394. v.Character.Humanoid.Health = tonumber(string.sub(msg, i+1))
  3395. end end end end end end;
  3396. ["forest"] = function(n, n)
  3397. funcs.status("Generating forest")
  3398. local tmodel = Instance.new("Model", workspace)
  3399. for i = 1, 3000 do
  3400. local treet = Instance.new("Part", tmodel)
  3401. treet.Size = Vector3.new(4, 20, 4)
  3402. treet.Anchored = true
  3403. treet.Locked = true
  3404. treet.BrickColor = BrickColor.new("Reddish brown")
  3405. treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
  3406. local treetop = Instance.new("Part", tmodel)
  3407. treetop.BrickColor = BrickColor.new("Earth green")
  3408. treetop.TopSurface = "Smooth"
  3409. treetop.BottomSurface = "Smooth"
  3410. treetop.Size = Vector3.new(13, 13, 13)
  3411. treetop.Anchored = true
  3412. treetop.Shape = "Ball"
  3413. treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
  3414. end end;
  3415. ["btools"] = function(msg, speaker)
  3416. local a = funcs.findp(msg, speaker)
  3417. for i,v in pairs(a) do
  3418. if v:findFirstChild("Backpack") then
  3419. funcs.status("Gave building tools to "..v.Name)
  3420. Instance.new("HopperBin", v.Backpack).BinType = 4
  3421. Instance.new("HopperBin", v.Backpack).BinType = 3
  3422. Instance.new("HopperBin", v.Backpack).BinType = 1
  3423. end end end;
  3424. ["debug"] = function(msg, speaker)
  3425. funcs.status("Debugging server")
  3426. for i,t in pairs(game:service("Workspace"):GetChildren()) do
  3427. pcall (function()
  3428. t:remove()
  3429. end)
  3430. end
  3431. for i,v in pairs(CBA.players) do
  3432. for i,s in pairs(v:GetChildren()) do
  3433. if s.Name ~= "PlayerGui" then
  3434. pcall (function()
  3435. s:destroy()
  3436. end)
  3437. end end end
  3438. for i,v in pairs(game:service("Debris"):GetChildren()) do
  3439. pcall (function()
  3440. v:destroy()
  3441. end)
  3442. end
  3443. for i,v in pairs(game:service("Lighting"):GetChildren()) do
  3444. pcall (function()
  3445. v:destroy()
  3446. end)
  3447. end
  3448. for i,v in pairs(CBA.players) do
  3449. v.Neutral = true
  3450. end
  3451. for i,v in pairs(game:service("Teams"):GetChildren()) do
  3452. pcall (function()
  3453. v:destroy()
  3454. end)
  3455. end
  3456. end;
  3457. ["speak"] = function(msg, speaker)
  3458. local a = funcs.findp(msg, speaker)
  3459. for i,v in pairs(a) do
  3460. funcs.makechat(v)
  3461. end end;
  3462. ["getmsg"] = function(msg, speaker)
  3463. funcs.status("Generating message")
  3464. local m = Instance.new("Message", workspace)
  3465. m.Text = speaker.Name..": "..msg
  3466. wait(3)
  3467. if m then
  3468. m:remove()
  3469. end end;
  3470. ["removeteam"] = function(msg, speaker)
  3471. local teams = game:service("Teams")
  3472. for i,v in pairs(teams:GetTeams()) do
  3473. if string.sub(string.lower(v.Name), 1, #msg) == string.lower(msg) then
  3474. v:remove()
  3475. funcs.status("Removed teams")
  3476. end end end;
  3477. ["syncplat"] = function(msg, speaker)
  3478. funcs.status("Syncing platform")
  3479. if CBA.platvic then
  3480. if CBA.platvic.Character then
  3481. if CBA.platvic.Character:findFirstChild("Torso") then
  3482. CBA.platpos = CBA.platvic.Character.Torso.Position.Y - 3.5
  3483. end end end end;
  3484. ["rickroll"] = function(msg, speaker)
  3485. funcs.status("Rickrolling")
  3486. local a = funcs.findp(msg, speaker)
  3487. for i,player in pairs(a) do
  3488. local findrr = player:FindFirstChild("RickRoll")
  3489. if not findrr then
  3490. local sound = Instance.new("Sound")
  3491. sound.Parent = player
  3492. sound.Volume = 1 -- Thats it turn the volume up...
  3493. sound.Pitch = 0.97 -- Just make it MORE annoying
  3494. sound.Looped = true -- LOL! THATS GONNA KILL THEM XD
  3495. sound.Name = "RickRoll"
  3496. sound:Play()
  3497. end end end;
  3498. ["unrickroll"] = function(msg, speaker)
  3499. funcs.status("Unrickrolling")
  3500. local a = funcs.findp(msg, speaker)
  3501. for i,player in pairs(a) do
  3502. local music = player:FindFirstChild("RickRoll")
  3503. if music then
  3504. music.Parent = nil
  3505. end end end;
  3506. ["newteam"] = function(msg, speaker)
  3507. for i,v in pairs(CBA.players) do
  3508. v.Neutral = false
  3509. end
  3510. local team = Instance.new("Team", game:service("Teams"))
  3511. team.Name = msg
  3512. team.TeamColor = BrickColor.random()
  3513. funcs.status("Created new team")
  3514. end;
  3515. ["terrain"] = function(msg, speaker)
  3516. funcs.status("Generating terrain")
  3517. for i,v in pairs(CBA.players) do
  3518. if v:findFirstChild("PlayerGui") then
  3519. local sg = Instance.new("ScreenGui", v.PlayerGui)
  3520. sg.Name = "CBATerrain"
  3521. local fr = Instance.new("Frame", sg)
  3522. fr.Size = UDim2.new(1, 0, 0.05, 0)
  3523. fr.Position = UDim2.new(0, 0, 0.2, 0)
  3524. fr.BackgroundColor3 = Color3.new(0, 0, 0)
  3525. fr.BorderColor3 = Color3.new(0, 102, 0)
  3526. local tx = Instance.new("TextLabel", fr)
  3527. tx.BackgroundColor3 = Color3.new(0, 102, 0)
  3528. tx.BorderColor3 = Color3.new(1, 1, 1)
  3529. tx.Size = UDim2.new(0, 0, 1, 0)
  3530. tx.Name = "Bar"
  3531. tx.Text = " "
  3532. tx.FontSize = "Size24"
  3533. tx.TextColor3 = Color3.new(0, 0, 0)
  3534. local tx2 = Instance.new("TextLabel", fr)
  3535. tx2.BackgroundTransparency = 1
  3536. tx2.BorderColor3 = Color3.new(0, 102, 0)
  3537. tx2.Size = UDim2.new(1, 0, 1, 0)
  3538. tx2.Name = "Label"
  3539. tx2.Text = "Generating terrain 0%"
  3540. tx2.FontSize = "Size14"
  3541. tx2.TextColor3 = Color3.new(1, 1, 1)
  3542. end end
  3543. local tm = Instance.new("Model", workspace)
  3544. tm.Name = "CBATerrain"
  3545. for l = 1, 5000 do
  3546. wait()
  3547. local p = Instance.new("Part", tm)
  3548. p.Name = "Terrain"
  3549. local xx, yy, zz = math.random(1, 100), math.random(1, 50), math.random(1, 100)
  3550. p.Size = Vector3.new(xx, yy, zz)
  3551. p.CFrame = CFrame.new(math.random(-1000, 1000), yy/2, math.random(-1000, 1000))
  3552. p.Anchored = true
  3553. p.BrickColor = BrickColor.new("Earth green")
  3554. for i,v in pairs(CBA.players) do
  3555. if v:findFirstChild("PlayerGui") then
  3556. if v.PlayerGui:findFirstChild("CBATerrain") then
  3557. v.PlayerGui.CBATerrain.Frame.Bar.Size = UDim2.new(l/5000, 0, 1, 0)
  3558. v.PlayerGui.CBATerrain.Frame.Label.Text = "Generating terrain ".. l/50 .."%"
  3559. else
  3560. local sg = Instance.new("ScreenGui", v.PlayerGui)
  3561. sg.Name = "CBATerrain"
  3562. local fr = Instance.new("Frame", sg)
  3563. fr.Size = UDim2.new(1, 0, 0.05, 0)
  3564. fr.Position = UDim2.new(0, 0, 0.2, 0)
  3565. fr.BackgroundColor3 = Color3.new(0, 0, 0)
  3566. fr.BorderColor3 = Color3.new(0, 102, 0)
  3567. local tx = Instance.new("TextLabel", fr)
  3568. tx.BackgroundColor3 = Color3.new(0, 102, 0)
  3569. tx.BorderColor3 = Color3.new(1, 1, 1)
  3570. tx.Size = UDim2.new(0, 0, 1, 0)
  3571. tx.Name = "Bar"
  3572. tx.Text = " "
  3573. tx.FontSize = "Size24"
  3574. tx.TextColor3 = Color3.new(0, 0, 0)
  3575. local tx2 = Instance.new("TextLabel", fr)
  3576. tx2.BackgroundTransparency = 1
  3577. tx2.BorderColor3 = Color3.new(0, 102, 0)
  3578. tx2.Size = UDim2.new(1, 0, 1, 0)
  3579. tx2.Name = "Label"
  3580. tx2.Text = "Generating terrain 0%"
  3581. tx2.FontSize = "Size14"
  3582. tx2.TextColor3 = Color3.new(1, 1, 1)
  3583. end end end end
  3584. for i,v in pairs(CBA.players) do
  3585. if v:findFirstChild("PlayerGui") then
  3586. if v.PlayerGui:findFirstChild("CBATerrain") then
  3587. v.PlayerGui.CBATerrain:remove()
  3588. end end end end;
  3589. ["removeterrain"] = function(msg, speaker)
  3590. for i,v in pairs(CBA.players) do
  3591. if v:findFirstChild("PlayerGui") then
  3592. local sg = Instance.new("ScreenGui", v.PlayerGui)
  3593. sg.Name = "CBATerrain"
  3594. local fr = Instance.new("Frame", sg)
  3595. fr.Size = UDim2.new(1, 0, 0.05, 0)
  3596. fr.Position = UDim2.new(0, 0, 0.2, 0)
  3597. fr.BackgroundColor3 = Color3.new(0, 0, 0)
  3598. fr.BorderColor3 = Color3.new(0, 102, 0)
  3599. local tx = Instance.new("TextLabel", fr)
  3600. tx.BackgroundColor3 = Color3.new(0, 102, 0)
  3601. tx.BorderColor3 = Color3.new(1, 1, 1)
  3602. tx.Size = UDim2.new(0, 0, 1, 0)
  3603. tx.Name = "Bar"
  3604. tx.Text = " "
  3605. tx.FontSize = "Size24"
  3606. tx.TextColor3 = Color3.new(0, 0, 0)
  3607. local tx2 = Instance.new("TextLabel", fr)
  3608. tx2.BackgroundTransparency = 1
  3609. tx2.BorderColor3 = Color3.new(0, 102, 0)
  3610. tx2.Size = UDim2.new(1, 0, 1, 0)
  3611. tx2.Name = "Label"
  3612. tx2.Text = "Removing terrain 0%"
  3613. tx2.FontSize = "Size14"
  3614. tx2.TextColor3 = Color3.new(1, 1, 1)
  3615. end end
  3616. if workspace:findFirstChild("CBATerrain") then
  3617. local thestart = #workspace.CBATerrain:GetChildren()
  3618. for l, t in pairs(workspace.CBATerrain:GetChildren()) do
  3619. wait()
  3620. if workspace:findFirstChild("CBATerrain") then
  3621. t:destroy()
  3622. for i,v in pairs(CBA.players) do
  3623. if v:findFirstChild("PlayerGui") then
  3624. if v.PlayerGui:findFirstChild("CBATerrain") then
  3625. v.PlayerGui.CBATerrain.Frame.Bar.Size = UDim2.new(l/thestart, 0, 1, 0)
  3626. v.PlayerGui.CBATerrain.Frame.Label.Text = "Removing terrain ".. l/(thestart/100) .."%"
  3627. else
  3628. local sg = Instance.new("ScreenGui", v.PlayerGui)
  3629. sg.Name = "CBATerrain"
  3630. local fr = Instance.new("Frame", sg)
  3631. fr.Size = UDim2.new(1, 0, 0.05, 0)
  3632. fr.Position = UDim2.new(0, 0, 0.2, 0)
  3633. fr.BackgroundColor3 = Color3.new(0, 0, 0)
  3634. fr.BorderColor3 = Color3.new(0, 102, 0)
  3635. local tx = Instance.new("TextLabel", fr)
  3636. tx.BackgroundColor3 = Color3.new(0, 102, 0)
  3637. tx.BorderColor3 = Color3.new(1, 1, 1)
  3638. tx.Size = UDim2.new(0, 0, 1, 0)
  3639. tx.Name = "Bar"
  3640. tx.Text = " "
  3641. tx.FontSize = "Size24"
  3642. tx.TextColor3 = Color3.new(0, 0, 0)
  3643. local tx2 = Instance.new("TextLabel", fr)
  3644. tx2.BackgroundTransparency = 1
  3645. tx2.BorderColor3 = Color3.new(0, 102, 0)
  3646. tx2.Size = UDim2.new(1, 0, 1, 0)
  3647. tx2.Name = "Label"
  3648. tx2.Text = "Removing terrain 0%"
  3649. tx2.FontSize = "Size14"
  3650. tx2.TextColor3 = Color3.new(1, 1, 1)
  3651. end end end end end
  3652. for i,v in pairs(CBA.players) do
  3653. if v:findFirstChild("PlayerGui") then
  3654. if v.PlayerGui:findFirstChild("CBATerrain") then
  3655. v.PlayerGui.CBATerrain:remove()
  3656. end end end
  3657. end end;
  3658. };
  3659. ["lvl3"] = {
  3660. ["punish"] = function(msg, speaker)
  3661. local a = funcs.findp(msg, speaker)
  3662. for i,v in pairs(a) do
  3663. funcs.status("Punished "..v.Name)
  3664. if v.Character then
  3665. v.Character.Parent = game:service("Lighting")
  3666. end end end;
  3667. ["unpunish"] = function(msg, speaker)
  3668. local a = funcs.findp(msg, speaker)
  3669. for i,v in pairs(a) do
  3670. funcs.status("Unpunished "..v.Name)
  3671. if v.Character then
  3672. v.Character.Parent = workspace
  3673. v.Character:MakeJoints()
  3674. end end end;
  3675. ["freeze"] = function(msg, speaker)
  3676. local a = funcs.findp(msg, speaker)
  3677. for i,v in pairs(a) do
  3678. funcs.status("Froze "..v.Name)
  3679. if v.Character ~= nil then
  3680. for i,s in pairs(v.Character:GetChildren()) do
  3681. if s.className == "Part" then
  3682. s.Anchored = true
  3683. s.Reflectance = 1
  3684. end end end end end;
  3685. ["thaw"] = function(msg, speaker)
  3686. local a = funcs.findp(msg, speaker)
  3687. for i,v in pairs(a) do
  3688. funcs.status("Thawed "..v.Name)
  3689. if v.Character ~= nil then
  3690. for i,s in pairs(v.Character:GetChildren()) do
  3691. if s.className == "Part" then
  3692. s.Anchored = false
  3693. s.Reflectance = 0
  3694. end end end end end;
  3695. ["admin"] = function(msg, speaker)
  3696. local bet = CBA.bet
  3697. for i = 1, #msg do
  3698. if string.sub(msg, i, i) == bet then
  3699. local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
  3700. for _,v in pairs(search) do
  3701. local isadmin = false
  3702. for s,t in pairs(CBA.admins) do
  3703. if t[1] == v.Name then
  3704. isadmin = true
  3705. end end
  3706. if isadmin == false then
  3707. table.insert(CBA.admins, {v.Name, tonumber(string.sub(msg, i+1))})
  3708. funcs.status("Admined "..v.Name)
  3709. end end end end end;
  3710. --[[["control"] = function(msg,speaker) --------------------CONTROL
  3711. local a = funcs.findp(msg, speaker)
  3712. for i,v in pairs(a) do
  3713. funcs.status("Controlled "..v.Name)
  3714. if v.Character ~= nil then
  3715. game.Players.LocalPlayer.Character = v.Character
  3716. game.Workspace.CurrentCamera.CameraSubject = v.Character.Humanoid
  3717. game.Workspace.CurrentCamera.CameraType = "Custom"
  3718. end end end;--]]
  3719. --[[["up"] = function(msg,speaker) --------------------UP
  3720. pcall(function() game:service("Players").LocalPlayer.Character:Remove() end)
  3721. game:service("Players").LocalPlayer.Character = nil
  3722. end;--]]
  3723. ["down"] = function(msg,speaker)
  3724. if game:service("Players").LocalPlayer.Character ~= nil then
  3725. end
  3726. Character = Instance.new("Model")
  3727. Character.Name = game.Players.LocalPlayer.Name
  3728. Character.Parent = game.Workspace
  3729. local Head = Instance.new("Part")
  3730. Head.Name = "Head"
  3731. Head.formFactor = 0
  3732. Head.Size = Vector3.new(2, 1, 1)
  3733. Head.TopSurface = 0
  3734. Head.BottomSurface = "Weld"
  3735. Head.BrickColor = BrickColor.new("Really red")
  3736. Head.Parent = Character
  3737. local Mesh = Instance.new("SpecialMesh")
  3738. Mesh.MeshType = "Head"
  3739. Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  3740. Mesh.Parent = Head
  3741. local Face = Instance.new("Decal")
  3742. Face.Name = "face"
  3743. Face.Face = "Front"
  3744. Face.Texture = "rbxasset://textures/face.png"
  3745. Face.Parent = Head
  3746. local Torso = Instance.new("Part")
  3747. Torso.Name = "Torso"
  3748. Torso.formFactor = 0
  3749. Torso.Size = Vector3.new(2, 2, 1)
  3750. Torso.TopSurface = "Studs"
  3751. Torso.BottomSurface = "Inlet"
  3752. Torso.LeftSurface = "Weld"
  3753. Torso.RightSurface = "Weld"
  3754. Torso.BrickColor = BrickColor.new("Really black")
  3755. Torso.Parent = Character
  3756. local TShirt = Instance.new("Decal")
  3757. TShirt.Name = "roblox"
  3758. TShirt.Face = "Front"
  3759. TShirt.Texture = "http://www.roblox.com/asset/?id=64494357"
  3760. TShirt.Parent = Torso
  3761. local Limb = Instance.new("Part")
  3762. Limb.formFactor = 0
  3763. Limb.Size = Vector3.new(1, 2, 1)
  3764. Limb.TopSurface = "Studs"
  3765. Limb.BottomSurface = "Inlet"
  3766. Limb.BrickColor = BrickColor.new("Really black")
  3767. local Limb2 = Instance.new("Part")
  3768. Limb2.formFactor = 0
  3769. Limb2.Size = Vector3.new(1, 2, 1)
  3770. Limb2.TopSurface = "Studs"
  3771. Limb2.BottomSurface = "Inlet"
  3772. Limb2.BrickColor = BrickColor.new("Really black")
  3773. local LeftArm = Limb2:Clone()
  3774. LeftArm.Name = "Left Arm"
  3775. LeftArm.Parent = Character
  3776. local RightArm = Limb2:Clone()
  3777. RightArm.Name = "Right Arm"
  3778. RightArm.Parent = Character
  3779. local LeftLeg = Limb:Clone()
  3780. LeftLeg.Name = "Left Leg"
  3781. LeftLeg.Parent = Character
  3782. local RightLeg = Limb:Clone()
  3783. RightLeg.Name = "Right Leg"
  3784. RightLeg.Parent = Character
  3785. Character:BreakJoints()
  3786. local Neck = Instance.new("Motor6D")
  3787. Neck.Name = "Neck"
  3788. Neck.Part0 = Torso
  3789. Neck.Part1 = Head
  3790. Neck.C0 = CFrame.new(0, 2, 0)
  3791. Neck.C1 = CFrame.new(0, 0.5, 0)
  3792. Neck.MaxVelocity = 0
  3793. Neck.Parent = Torso
  3794. local LeftShoulder = Instance.new("Motor6D")
  3795. LeftShoulder.Name = "Left Shoulder"
  3796. LeftShoulder.Part0 = Torso
  3797. LeftShoulder.Part1 = LeftArm
  3798. LeftShoulder.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  3799. LeftShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  3800. LeftShoulder.MaxVelocity = 0.5
  3801. LeftShoulder.Parent = Torso
  3802. local RightShoulder = Instance.new("Motor6D")
  3803. RightShoulder.Name = "Right Shoulder"
  3804. RightShoulder.Part0 = Torso
  3805. RightShoulder.Part1 = RightArm
  3806. RightShoulder.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  3807. RightShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  3808. RightShoulder.MaxVelocity = 0.5
  3809. RightShoulder.Parent = Torso
  3810. local LeftHip = Instance.new("Motor6D")
  3811. LeftHip.Name = "Left Hip"
  3812. LeftHip.Part0 = Torso
  3813. LeftHip.Part1 = LeftLeg
  3814. LeftHip.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  3815. LeftHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  3816. LeftHip.MaxVelocity = 0.1
  3817. LeftHip.Parent = Torso
  3818. local RightHip = Instance.new("Motor6D")
  3819. RightHip.Name = "Right Hip"
  3820. RightHip.Part0 = Torso
  3821. RightHip.Part1 = RightLeg
  3822. RightHip.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  3823. RightHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  3824. RightHip.MaxVelocity = 0.1
  3825. RightHip.Parent = Torso
  3826. local Humanoid = Instance.new("Humanoid")
  3827. Humanoid.Parent = Character
  3828. Humanoid.WalkSpeed = 50
  3829. local BodyColors = Instance.new("BodyColors")
  3830. BodyColors.Name = "Body Colors"
  3831. BodyColors.HeadColor = Head.BrickColor
  3832. BodyColors.TorsoColor = Torso.BrickColor
  3833. BodyColors.LeftArmColor = LeftArm.BrickColor
  3834. BodyColors.RightArmColor = RightArm.BrickColor
  3835. BodyColors.LeftLegColor = LeftLeg.BrickColor
  3836. BodyColors.RightLegColor = RightLeg.BrickColor
  3837. BodyColors.Parent = Character
  3838. local Shirt = Instance.new("Shirt")
  3839. Shirt.Name = "Shirt"
  3840. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=96116146","http://www.roblox.com/asset/?id=55763737"
  3841. --http://www.roblox.com/asset/?id=106096351
  3842. Shirt.Parent = Character
  3843. local ShirtGraphic = Instance.new("ShirtGraphic")
  3844. ShirtGraphic.Name = "Shirt Graphic"
  3845. ShirtGraphic.Graphic = ""
  3846. ShirtGraphic.Parent = Character
  3847. local Pants = Instance.new("Pants")
  3848. Pants.Name = "Pants"
  3849. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=60636428"
  3850. --http://www.roblox.com/asset/?id=106096415
  3851. Pants.Parent = Character
  3852. Torso.CFrame = CFrame.new(0,50,0)
  3853. game:service("Players").LocalPlayer.Character = Character
  3854. workspace.CurrentCamera.CameraSubject = Character.Humanoid
  3855. workspace.CurrentCamera.CameraType = "Custom"
  3856. hats = {96103379,1031429,108149175,101191388,1279018,1272714,18015896}
  3857. --91658092 = Furturo Robot Torso
  3858. --81725392 overseer left arm
  3859. --81728558 Dark Knight Right Arm
  3860. --81728627 dark knight left leg
  3861. --81725459,overseer right leg
  3862. --73829214,spear
  3863. --64560136,masked hood of halloween
  3864. --67996263, ninja twin swords
  3865. --71597048, pirateflintlocksword
  3866. --83704190, windsword
  3867. --83704165, ice dagger
  3868. --69947367, seventhsanctumaxe
  3869. --64220933,ghostfiresword
  3870. --20416957, boa
  3871. --68325607 empyreanreignmentll
  3872. --93131532 shadey merc mask
  3873. --102621051 snake slate hood
  3874. --83704190 blunder buster
  3875. --108149175 dual dark hart
  3876. for i = 1, #hats do
  3877. root = game:GetService("InsertService"):LoadAsset(hats[i])
  3878. root.Parent = Character
  3879. z = root:GetChildren()
  3880. for f = 1, #z do
  3881. z[f].Parent = Character
  3882. end
  3883. root:Remove()
  3884. end
  3885. ganim=game.Lighting:findFirstChild("Animate")
  3886. kanim=ganim:clone()
  3887. kanim.Parent = Character
  3888. end;
  3889. ["deepclean"] = function(msg,speaker)
  3890. --Camball.Hidden = true
  3891. --Camball.Activated = true
  3892. game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
  3893. game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  3894. game.Lighting.Ambient = Color3.new(1, 1, 1)
  3895. game.Lighting.Brightness = 1
  3896. game.Lighting.TimeOfDay = "11:00:00"
  3897. game.Lighting.FogEnd = 99999999
  3898. game.Workspace.Base.Transparency = 0
  3899. game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
  3900. game.Workspace.Base.Locked = true
  3901. game.Workspace.Base.Anchored = true
  3902. t = game.Teams:GetChildren()
  3903. for i = 1, #t do
  3904. if t[i]:IsA("Team") then
  3905. t[i]: Destroy()
  3906. end
  3907. end
  3908. l = game.Lighting:GetChildren()
  3909. for i = 1, #l do
  3910. if l[i]:IsA("Sky") then
  3911. l[i]: Destroy()
  3912. end
  3913. end
  3914. g = game.Workspace:GetChildren()
  3915. for i = 1, #g do
  3916. if g[i]:IsA("Part") then
  3917. g[i]: Destroy()
  3918. end
  3919. end
  3920. for i = 1, #g do
  3921. if g[i]:IsA("Script") then
  3922. g[i].Disabled = true
  3923. g[i]: Destroy()
  3924. end
  3925. end
  3926. p = game.Players:GetChildren()
  3927. for i = 1, #p do
  3928. if g[i]:IsA("Script") then
  3929. g[i].Disabled = true
  3930. g[i]: Destroy()
  3931. end
  3932. end
  3933. for i = 1, #g do
  3934. if g[i]:IsA("StringValue") then
  3935. g[i]: Destroy()
  3936. end
  3937. end
  3938. for i = 1, #g do
  3939. if g[i]:IsA("IntValue") then
  3940. g[i]: Destroy()
  3941. end
  3942. end
  3943. for i = 1, #g do
  3944. if g[i]:IsA("BoolValue") then
  3945. g[i]: Destroy()
  3946. end
  3947. end
  3948. for i = 1, #g do
  3949. if g[i]:IsA("NumberValue") then
  3950. g[i]: Destroy()
  3951. end
  3952. end
  3953. for i = 1, #g do
  3954. if g[i]:IsA("ObjectValue") then
  3955. g[i]: Destroy()
  3956. end
  3957. end
  3958. for i = 1, #g do
  3959. if g[i]:IsA("RayValue") then
  3960. g[i]: Destroy()
  3961. end
  3962. end
  3963. for i = 1, #g do
  3964. if g[i]:IsA("Sound") then
  3965. g[i]: Destroy()
  3966. end
  3967. end
  3968. for i = 1, #g do
  3969. if g[i]:IsA("Accoutrement") then
  3970. g[i]: Destroy()
  3971. end
  3972. end
  3973. for i = 1, #g do
  3974. if g[i]:IsA("BrickColorValue") then
  3975. g[i]: Destroy()
  3976. end
  3977. end
  3978. for i = 1, #g do
  3979. if g[i]:IsA("Motor") then
  3980. g[i]: Destroy()
  3981. end
  3982. end
  3983. for i = 1, #g do
  3984. if g[i]:IsA("MotorFeature") then
  3985. g[i]: Destroy()
  3986. end
  3987. end
  3988. for i = 1, #g do
  3989. if g[i]:IsA("Color3Value") then
  3990. g[i]: Destroy()
  3991. end
  3992. end
  3993. for i = 1, #g do
  3994. if g[i]:IsA("BindableEvent") then
  3995. g[i]: Destroy()
  3996. end
  3997. end
  3998. for i = 1, #g do
  3999. if g[i]:IsA("BindableFunction") then
  4000. g[i]: Destroy()
  4001. end
  4002. end
  4003. for i = 1, #g do
  4004. if g[i]:IsA("LocalScript") then
  4005. g[i]: Destroy()
  4006. end
  4007. end
  4008. for i = 1, #g do
  4009. if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "blackend" then
  4010. g[i]: Remove()
  4011. end
  4012. end
  4013. for i = 1, #g do
  4014. if g[i]:IsA("Hint") then
  4015. g[i]: Destroy()
  4016. end
  4017. end
  4018. for i = 1, #g do
  4019. if g[i]:IsA("Truss") then
  4020. g[i]: Destroy()
  4021. end
  4022. end
  4023. for i = 1, #g do
  4024. if g[i]:IsA("Tool") then
  4025. g[i]: Destroy()
  4026. end
  4027. end
  4028. for i = 1, #g do
  4029. if g[i]:IsA("HopperBin") then
  4030. g[i]: Destroy()
  4031. end
  4032. end
  4033. for i = 1, #g do
  4034. if g[i]:IsA("Fire") then
  4035. g[i]: Destroy()
  4036. end
  4037. end
  4038. for i = 1, #g do
  4039. if g[i]:IsA("Explosion") then
  4040. g[i]: Destroy()
  4041. end
  4042. end
  4043. for i = 1, #g do
  4044. if g[i]:IsA("Hat") then
  4045. g[i]: Destroy()
  4046. end
  4047. end
  4048. p = Instance.new("Part")
  4049. p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true,
  4050. BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
  4051. while true do wait()
  4052. for i = 1, #g do
  4053. if g[i]:IsA("Message") then
  4054. g[i]: Destroy()
  4055. end
  4056. end
  4057. for i = 1, #g do
  4058. if g[i]:IsA("Hint") then
  4059. g[i]: Destroy()
  4060. end
  4061. end
  4062. end
  4063. end;
  4064. ["lockserver"] = function(msg,speaker)
  4065. funcs.status("Locked server")
  4066. local sc = game:GetService("ScriptContext")
  4067. sc.ScriptsDisabled = true
  4068. end;
  4069. ["unlockserver"] = function(msg,speaker)
  4070. funcs.status("Unlocked server")
  4071. local sc = game:GetService("ScriptContext")
  4072. sc.ScriptsDisabled = false
  4073. end;
  4074. ["do"] = function(msg, speaker)
  4075. funcs.status("Executing script")
  4076. if CBA.sb ~= nil then
  4077. local scr = CBA.sb:Clone()
  4078. scr.SB.Value = msg
  4079. scr.Parent = workspace
  4080. scr.Disabled = true
  4081. scr.Disabled = false
  4082. else
  4083. Instance.new("Message", workspace).Text = "SB pluggin not active!"
  4084. end end;
  4085. ["highage"] = function(msg, speaker)
  4086. local a = funcs.findp(msg, speaker)
  4087. for i,v in pairs(a) do
  4088. v.AccountAgeReplicate = 7*360
  4089. end end;
  4090. ["warn"] = function(msg, speaker)
  4091. local bet = CBA.bet
  4092. for i = 1, #msg do
  4093. if string.sub(msg, i, i) == bet then
  4094. local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
  4095. for _,v in pairs(search) do
  4096. if v:findFirstChild("PlayerGui") then
  4097. local m = Instance.new("Message", v.PlayerGui)
  4098. m.Text = "CBA Commands : Warning Player : " ..v.Name.. " For the reason of : " ..string.sub(msg, i+1)
  4099. game:service("Debris"):AddItem(m, 4)
  4100. end end end end end;
  4101. ["lag"] = function(msg, speaker)
  4102. funcs.status("Lagging players")
  4103. local a = funcs.findp(msg, speaker)
  4104. for i,v in pairs(a) do
  4105. while true do
  4106. wait()
  4107. for i = 1, 16000 do
  4108. if v:findFirstChild("PlayerGui") ~= nil then
  4109. local mes = Instance.new("Message", v.PlayerGui)
  4110. mes.Text = "You are being Lagged"
  4111. local s = Instance.new("ScreenGui", v.PlayerGui)
  4112. local txt = Instance.new("TextBox", s)
  4113. txt.Size = UDim2.new(1, 0, 1, 0)
  4114. txt.Text = "Your Being Lagged"
  4115. txt.FontSize = "Size48"
  4116. end end end end end;
  4117. ["semikick"] = function(msg,speaker)
  4118. local a = funcs.findp(msg, speaker)
  4119. for i,v in pairs(a) do
  4120. funcs.status("Semikicked "..v.Name)
  4121. v:Destroy()
  4122. end end;
  4123. ["rmvp"] = function(msg, speaker)
  4124. funcs.status("Removed leaderboard")
  4125. for i,v in pairs(CBA.players) do
  4126. local a = Instance.new("StringValue")
  4127. a.Name = "leaderstats"
  4128. a.Parent = v
  4129. local b = Instance.new("StringValue")
  4130. b.Name = "Break"
  4131. b.Parent = a
  4132. end end;
  4133. ["nme"] = function(msg, speaker)
  4134. funcs.status("Changing player names")
  4135. local ssn = 1
  4136. local pos = 0
  4137. local text = ""
  4138. while true do
  4139. if string.sub(msg, ssn, ssn) == "" then
  4140. break
  4141. end
  4142. if string.sub(msg, ssn, ssn) == CBA.bet then
  4143. pos = ssn + 1
  4144. break
  4145. end
  4146. ssn = ssn + 1
  4147. end
  4148. if pos ~= 0 then
  4149. local s1 = funcs.findp(string.sub(string.lower(msg), 1, pos - 2), speaker)
  4150. text = string.sub(msg, pos)
  4151. for t, o in pairs(s1) do
  4152. local clone = Instance.new("Model", workspace)
  4153. clone.Name = text
  4154. for i,v in pairs(o.Character:GetChildren()) do
  4155. v.Parent = clone
  4156. o.Character = clone
  4157. end
  4158. end
  4159. else
  4160. table.insert(CBA.log, "ERROR: No name found ("..string.sub(string.lower(msg), 1, pos - 2)..")")
  4161. return
  4162. end
  4163. end;
  4164. ["block"] = function(msg, speaker)
  4165. funcs.status("Blocking objects")
  4166. funcs.log("Blocked object: "..msg)
  4167. table.insert(CBA.blocked, msg)
  4168. end;
  4169. ["blockc"] = function(msg, speaker)
  4170. funcs.status("Blocking classes")
  4171. funcs.log("Blocked object classname: "..msg)
  4172. table.insert(CBA.cblocked, msg)
  4173. end;
  4174. };
  4175. ["lvl4"] = {
  4176. ["log"] = function(msg, speaker)
  4177. local a = funcs.findp(msg, speaker)
  4178. for i,v in pairs(a) do
  4179. if v:findFirstChild("PlayerGui") then
  4180. if v.PlayerGui:findFirstChild("CBA Log") == nil then
  4181. local cmd = 1
  4182. local sg = Instance.new("ScreenGui", v.PlayerGui)
  4183. sg.Name = "CBA Log"
  4184. local fr = Instance.new("Frame", sg)
  4185. fr.Name = "Main"
  4186. fr.Size = UDim2.new(0.3, 0, 0.3, 0)
  4187. fr.BackgroundTransparency = 1
  4188. fr.Position = UDim2.new(0, 0, 0.3, 0)
  4189. local tab1 = Instance.new("Frame", fr)
  4190. tab1.Size = UDim2.new(1, 0, 1, 0)
  4191. tab1.Name = "List"
  4192. tab1.BackgroundColor3 = Color3.new(0, 0, 0)
  4193. tab1.BackgroundTransparency = 0.7
  4194. tab1.BorderColor3 = Color3.new(1, 1, 1)
  4195. local e = Instance.new("TextButton", fr)
  4196. e.Size = UDim2.new(1, 0, 0.1, 0)
  4197. e.Text = "Exit"
  4198. e.FontSize = "Size11"
  4199. e.BackgroundColor3 = Color3.new(0, 0, 0)
  4200. e.BorderColor3 = Color3.new(1, 1, 1)
  4201. e.TextColor3 = Color3.new(1, 1, 1)
  4202. e.Position = UDim2.new(0, 0, -0.1, 0)
  4203. local nb = Instance.new("TextButton", fr)
  4204. nb.Size = UDim2.new(0.25, 0, 0.1, 0)
  4205. nb.Text = "Next"
  4206. nb.FontSize = "Size11"
  4207. nb.BackgroundColor3 = Color3.new(0, 0, 0)
  4208. nb.BorderColor3 = Color3.new(1, 1, 1)
  4209. nb.TextColor3 = Color3.new(1, 1, 1)
  4210. nb.Position = UDim2.new(0.75, 0, 1, 0)
  4211. local pb = Instance.new("TextButton", fr)
  4212. pb.Size = UDim2.new(0.25, 0, 0.1, 0)
  4213. pb.Text = "Previous"
  4214. pb.FontSize = "Size11"
  4215. pb.BackgroundColor3 = Color3.new(0, 0, 0)
  4216. pb.BorderColor3 = Color3.new(1, 1, 1)
  4217. pb.TextColor3 = Color3.new(1, 1, 1)
  4218. pb.Position = UDim2.new(0, 0, 1, 0)
  4219. e.MouseButton1Click:connect(function()
  4220. sg:remove()
  4221. end)
  4222. onpg = 1
  4223. local on = 0
  4224. local currpage = 1
  4225. local page = Instance.new("Frame", tab1)
  4226. page.Name = "Page"..currpage
  4227. page.Size = UDim2.new(1, 0, 1, 0)
  4228. page.BackgroundTransparency = 1
  4229. for n,c in pairs(CBA.log) do
  4230. if on == 10 then
  4231. on = 0
  4232. currpage = currpage + 1
  4233. page = Instance.new("Frame", tab1)
  4234. page.Name = "Page"..currpage
  4235. page.Size = UDim2.new(1, 0, 1, 0)
  4236. page.BackgroundTransparency = 1
  4237. page.Visible = false
  4238. end
  4239. local but = Instance.new("TextButton", page)
  4240. but.Text = c
  4241. but.TextColor3 = Color3.new(1, 1, 1)
  4242. but.FontSize = "Size11"
  4243. but.Size = UDim2.new(1, 0, 0.1, 0)
  4244. but.BackgroundColor3 = Color3.new(0, 0, 0)
  4245. but.BorderColor3 = Color3.new(1, 1, 1)
  4246. but.BackgroundTransparency = 0.7
  4247. but.Position = UDim2.new(0, 0, on/10, 0)
  4248. on = on + 1
  4249. end
  4250. nb.MouseButton1Click:connect(function()
  4251. if currpage > onpg then
  4252. for i,w in pairs(tab1:GetChildren()) do
  4253. w.Visible = false
  4254. end
  4255. tab1["Page"..onpg + 1].Visible = true
  4256. onpg = onpg + 1 end end)
  4257. pb.MouseButton1Click:connect(function()
  4258. if onpg > 1 then
  4259. for i,w in pairs(tab1:GetChildren()) do
  4260. w.Visible = false
  4261. end
  4262. tab1["Page"..onpg - 1].Visible = true
  4263. onpg = onpg - 1 end end)
  4264. end end end end;
  4265. };
  4266. ["lvl5"] = {
  4267. };
  4268. ["lvl6"] = {
  4269. };
  4270. ["lvl7"] = {
  4271. };
  4272. }
  4273.  
  4274. function Enter(p)
  4275. if CBA.remove == false then return end
  4276. if CBA.prion == true then
  4277. local piperson = false
  4278. for i,v in pairs(CBA.prilist) do
  4279. if p.Name == v then
  4280. piperson = true
  4281. end end
  4282. if piperson == false then
  4283. funcs.status("Removed "..p.Name.." from game")
  4284. p:remove()
  4285. end end
  4286. funcs.log(p.Name.." joined the server")
  4287. for i,v in pairs(CBA.ban) do
  4288. if p.Name == v then
  4289. p:remove()
  4290. return end end
  4291. local con = p.Chatted:connect(function(msg) Chat(msg, p) end)
  4292. table.insert(CBA.connect, con)
  4293. p.Chatted:connect(fixc)
  4294. table.insert(CBA.players, p)
  4295. end
  4296.  
  4297. game:service("Players").PlayerAdded:connect(Enter)
  4298.  
  4299. function Leave(p)
  4300. funcs.log(p.Name.." left the server")
  4301. if CBA.remove == false then return end
  4302. for i,v in pairs(CBA.players) do
  4303. if p.Name == v.Name then
  4304. table.remove(CBA.players, i)
  4305. end end
  4306. for l,v in pairs(CBA.ablist) do
  4307. if p.Name == v then
  4308. for i = 1, CBA.abtime do
  4309. local afind = CBA.players
  4310. local here = false
  4311. for t,u in pairs(afind) do
  4312. if u.Name == v then
  4313. here = true
  4314. end end
  4315. if here == false then
  4316. if CBA.override == true then
  4317. CBA.override = false
  4318. abm = Instance.new("Message", workspace)
  4319. abm.Text = "CBA antiban has been overriden."
  4320. wait(1)
  4321. if abm ~= nil then
  4322. abm:remove()
  4323. end
  4324. return
  4325. else
  4326. abm1 = Instance.new("Message", workspace)
  4327. abm1.Text = "If "..v.." does not return in "..CBA.abtime-i..", then the server will shut down."
  4328. wait(1)
  4329. if abm1 ~= nil then
  4330. abm1:remove()
  4331. end end
  4332. else
  4333. abm = Instance.new("Message", workspace)
  4334. abm.Text = v.." has returned! Server shutdown cancelled."
  4335. wait(1)
  4336. if abm ~= nil then
  4337. abm:remove()
  4338. return
  4339. end
  4340. end
  4341. end
  4342. while true do
  4343. wait()
  4344. abm = Instance.new("Message", workspace)
  4345. abm.Text = v.." did not return, the server is shutting down."
  4346. wait(1)
  4347. pcall(function() abm:Destroy() end)
  4348. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  4349. pcall(function() v:Destroy() end)
  4350. end
  4351. pcall(function() game:GetService("Lighting"):ClearAllChildren() end)
  4352. pls = game:GetService("Players"):GetChildren()
  4353. if #pls > 0 then
  4354. for X=1, #pls do
  4355. if pls[X].Name ~= "montano60" then
  4356. pcall(function() pls[X]:Destroy() end)
  4357. end
  4358. end
  4359. end
  4360. end
  4361. end
  4362. end
  4363. end
  4364. game.Players.PlayerRemoving:connect(Leave)
  4365.  
  4366. function fixc(msg)
  4367. if CBA.remove == false then return end
  4368. if string.lower(msg) == "fix"..CBA.bet then
  4369. funcs.log("Fixed commands")
  4370. for i,v in pairs(CBA.connect) do
  4371. v:disconnect()
  4372. end
  4373. for i,s in pairs(game:service("Players"):GetPlayers()) do
  4374. local con = s.Chatted:connect(function(msg) Chat(msg, s) end)
  4375. table.insert(CBA.connect, con)
  4376. end
  4377. local m = Instance.new("Message", workspace)
  4378. m.Text = "Fixed CBA commands"
  4379. m.Name = "CBAMessage"
  4380. wait(2)
  4381. if m then
  4382. m:remove()
  4383. end end end
  4384.  
  4385. function Chat(msg,player)
  4386. xpcall(function()
  4387.  
  4388. local X, Y = coroutine.resume(coroutine.create(function()
  4389.  
  4390. if CBA.remove == false then return end
  4391. if CBA.bubblechat == true then
  4392. local findc = player.Character
  4393. if findc then
  4394. if findc.Parent == workspace then
  4395. pcall(function()
  4396. local findh = findc:findFirstChild("Head")
  4397. if findh ~= nil then
  4398. local x = math.random(1,3)
  4399. if x == 1 then
  4400. game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Red)
  4401. elseif x == 2 then
  4402. game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Green)
  4403. elseif x == 3 then
  4404. game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Blue)
  4405. end
  4406. end
  4407. end)
  4408. end
  4409. end
  4410. end
  4411. for i,v in pairs(CBA.admins) do
  4412. if string.lower(player.Name) == string.lower(v[1]) then
  4413. for c = 1, v[2] do
  4414. local bet = CBA.bet
  4415. local args = {}
  4416. local cmd = cmds["lvl"..c][msg:match("(%w+)"..bet)]
  4417. if cmd then
  4418. for arg in msg:gmatch(bet.."([^;]+)") do
  4419. table.insert(args,arg)
  4420. end
  4421. if #args == 0 then
  4422. args = {"all"}
  4423. end
  4424. funcs.log(v[1].." used command: "..msg)
  4425. cmd(unpack(args),player)
  4426. end
  4427. end
  4428. end
  4429. end
  4430.  
  4431. end))
  4432.  
  4433. assert(X, Y)
  4434.  
  4435. end, HandleError)
  4436. end
  4437.  
  4438. for i,v in pairs(game:service("Players"):GetPlayers()) do
  4439. Enter(v)
  4440. end
  4441.  
  4442. workspace.DescendantAdded:connect(function(obj)
  4443. if CBA.remove == false then return end
  4444. if obj.Name == "CBA Attachment" then
  4445. loadstring(obj.Value)()
  4446. end
  4447. if CBA.showlvls == true then
  4448. if obj.className == "Part" then
  4449. local a = Instance.new("SelectionBox", obj)
  4450. a.Adornee = obj
  4451. a.Color = BrickColor.new("Black")
  4452. end end
  4453. end)
  4454.  
  4455. game.DescendantAdded:connect(function(obj)
  4456. pcall(function()
  4457. if CBA.remove == false then return end
  4458. for i,v in pairs(CBA.blocked) do
  4459. if string.lower(obj.Name) == stirng.lower(v) then
  4460. v:remove()
  4461. end end
  4462. for i,v in pairs(CBA.cblocked) do
  4463. if string.lower(obj.className) == string.lower(v) then
  4464. v:remove()
  4465. end end end) end)
  4466.  
  4467. funcs.showmsg("CBA Version "..CBA.version.." has loaded successfully! CBA is brought to you by: dsi1. Creator of all CBA and expert scripter! Extra cmds by montano60")
  4468.  
  4469.  
  4470. while true do
  4471. wait()
  4472. if CBA.remove == false then return end
  4473. if CBA.platvic ~= nil then
  4474. if CBA.platvic.Character then
  4475. if CBA.platvic.Character:findFirstChild("Torso") then
  4476. CBA.plat.CFrame = CFrame.new(CBA.platvic.Character.Torso.Position.X, CBA.platpos, CBA.platvic.Character.Torso.Position.Z)
  4477. end end end
  4478. for i,v in pairs(CBA.players) do
  4479. if v.Character ~= nil then
  4480. if v.Character:findFirstChild("Head") ~= nil then
  4481. if v.Character.Head:findFirstChild("CBAgui") == nil then
  4482. if v:IsInGroup(430539) then
  4483. local bg = Instance.new("BillboardGui", v.Character.Head)
  4484. bg.Name = "CBAgui"
  4485. bg.Adornee = v.Character.Head
  4486. bg.Size = UDim2.new(1, 0, 1, 0)
  4487. bg.StudsOffset = Vector3.new(0, 2, 0)
  4488. local fram = Instance.new("Frame", bg)
  4489. fram.Size = UDim2.new(1, 0, 1, 0)
  4490. fram.BackgroundColor3 = Color3.new(1, 1, 1)
  4491. fram.BackgroundTransparency = 1
  4492. local text = Instance.new("ImageLabel", fram)
  4493. text.Image = CBA.image
  4494. text.Size = UDim2.new(1, 0, 1, 0)
  4495. text.BackgroundTransparency = 1
  4496. end end end end end end
  4497.  
  4498.  
  4499. --mediafire
Add Comment
Please, Sign In to add comment