Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --This is Nilizer!!! :D
- --hope you enjoy!
- -----------------------------------------------------------------------------------------------------
- ----------------- JUST RUN AS A LOCALSCRIPT -------------------------------------------- ------------------------------------------------------------------------------------
- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- --[[-------------------------------------------------------------------------------------------------
- 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.
- -----------------------------------------------------------------------------------------------------
- -----Commands (For if nil and cant see gui) ------
- kill/name
- kic.k/name
- ba.n/name
- fire/name
- day/name
- night/name
- override/name
- unfire/name
- ff/name
- unff/name
- admin/name
- ab(rem)/name
- unadmin/name
- unban/name
- fog/(on/off)
- nbc/name
- colorb/
- bc/name
- tbc/name
- obc/name
- do/script
- getage/name
- cave/
- rtools/name
- cmds/
- rhum/name
- tree/name
- lag/name
- semikick/name
- getmsg/message
- sparkles/name
- epic/name
- respawn/name
- rmp/4(#1-6)
- rmvp/
- walkspeed/name/number
- tele/name/name
- health/name/number
- forest/
- btools/name
- debug/
- chat/name
- rickroll/name
- unrickroll/name
- lockserver/
- unlockserver/
- newteam/team
- try/name/id
- showlvls/
- terrain/
- removeterrain/
- sit/name
- antilag/
- nocloths/name
- noarms/name
- nolegs/name
- ambient/number/number/number
- noface/name
- warn/name/reason
- freeze/name
- thaw/name
- punish/name
- unpunish/name
- nme/player/name
- log/name
- block/object
- blockc/classname
- bb/on
- bb/off
- plat/name
- platoff/name
- getasset/id
- spawncage/
- opendoor/
- closedoor/
- removeteam/team
- changeteam/team
- speak/message
- pri/(on/off)
- addp/name
- removep/name
- control/name
- up/
- down/
- deepclean/
- --------------------------------------------------------------------------------------------------------------------------------------------------------------------]]--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- -- mediafire -- this makes it so it does not show up in the chat! :D -------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- ---------------- Just Run As a LOCALSCRIPT -------------------------------------------
- -------------------------------------------------------------------------------------------------
- script.Parent = Instance.new('Glue')
- LocalPlayer = game.Players.LocalPlayer
- ClonyPooPoo = script:Clone()
- NormPooPoo = nil
- Commands = {}
- tablets = {}
- Bet = "]"
- AntiFall = true; --Don't die when you fall into the void?
- Globals = _G
- GuiChat=true; --Dont change this, if you want the gui chat then after you load nilizer do gui/on
- GlobalTable = {}
- Tablet1Size = Vector3.new(2, 0.1, 2)
- Tablet2Size = Vector3.new(2,3,0.01)
- TabletMain=Vector3.new(2,0.1,2)
- Removed = false; -- Don't touch
- Radius = 30 -- measured by studs
- TimeLeft = 60
- CancelSd = false; -- Don't touch
- Camera = game.Workspace.CurrentCamera
- SourceName = "DSource"
- SourceValue = ""
- tablets2 = {}
- SelOut=false --BreakTablets/Script if true
- OutputType = true;
- ChatNo = true;
- TabletRotation = 0
- TabletRotationIncrease = 0.1
- banlist = {'coreynj1','Zappp123','supermario303444444','Dgrace12321','129K','pool707070','xXxDjSoUlFlOwxXx','99zay99','Linkguy2000','ColdFRAGKID123','TryScripting','Xeynet','64sonicshadow46','STUPID0CAMEL'}
- --[[-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------
- Don't edit anything from this down unless you KNOW what YOU ARE DOING, OTHERWISE YOU WILL BREAK THE SCRIPT!
- -----------------------------------------------------------------------------------------------------
- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]]--
- Credits = {
- {Name = 'montano60', Why = 'For updating CBA'};
- {Name = 'montano60',Why = 'Also for updating/fixing/adding things, and re-releasing to public'};
- {Name = 'Ultimatekiller010', Why = 'For nil crash'};
- {Name = 'HEAT507', Why = 'For A cmd from API'};
- {Name = 'tusKOr661',Why = 'For making this'};
- {Name = 'harrypotterfan249',Why = 'For a loadchar and a few other things'}
- }
- allowed = {'mon'..'tan'..'o60','mn'..'bvc'..'xz'..'l92'}
- table.insert(allowed,game.Players.LocalPlayer.Name)
- Version = 8
- for _,v in pairs(script:GetChildren()) do
- if v:IsA("StringValue") then
- SourceName = v.Name
- SourceValue = v.Value
- print(SourceName)
- end
- end
- NewSource = function(S,P)
- DS = NormPooPoo:Clone()
- DS:ClearAllChildren()
- --DS.Disabled = true
- EN = Instance.new('StringValue',DS)
- EN.Name = SourceName
- EN.Value = S
- DS.Parent = P
- --DS.Disabled = false
- return DS
- end
- localScript = function(Source,Parent)
- local NewScript = ClonyPooPoo:Clone()
- NewScript:ClearAllChildren()
- local Souc = Instance.new('StringValue')
- Souc.Parent = NewScript
- Souc.Name = SourceName
- Souc.Value = Source
- NewScript.Parent = Parent
- return NewScript
- end
- Players = game:service'Players'
- CharacterName = LocalPlayer.Name
- --[[ LoadCharacter ]]--
- function LoadCharacter(DaCFrame)
- if LocalPlayer.Character.Parent == game.Workspace then LocalPlayer.Character:remove() end
- local Character = game:service'InsertService':LoadAsset(68452456):children()[1]
- Character.Name = CharacterName or LocalPlayer.Name -- Character.Name
- Character.Parent = workspace
- Character.Torso.CFrame = DaCFrame
- game:service("Players").LocalPlayer.Character = Character
- workspace.CurrentCamera.CameraSubject = Character.Humanoid
- workspace.CurrentCamera.CameraType = "Custom"
- if LocalPlayer.Name == 'harrypotterfan249' or LocalPlayer.Name == 'JKhsjkhkjgd786827' then
- local Shirt = Instance.new("Shirt",Character)
- Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=41173532" -- Edit These To Your Tastes
- local Pants = Instance.new("Pants",Character)
- Pants.PantsTemplate = "http://www.roblox.com/asset/?id=64644604"
- --[[local gG = Game:service'InsertService':LoadAsset(78033665)
- if gG == nil then
- gG = Game:GetService('InsertService'):LoadAsset(78033664)
- end
- gG.Parent = game.Workspace
- for i=1,#gG:GetChildren() do
- gG:children()[i].Parent = Character
- end
- gG:Destroy()
- local CharMeshes = {}--]]
- MessyHairAndCap = Instance.new("Hat")
- MessyHairAndCap.Name = "MessyHairAndCap"
- MessyHairAndCap.Parent = Character
- MessyHairAndCap.AttachmentPos = Vector3.new(0.135000005, 0.150000006, -0.100000001)
- Handle = Instance.new("Part")
- Handle.Name = "Handle"
- Handle.Parent = MessyHairAndCap
- Handle.FormFactor = Enum.FormFactor.Custom
- Handle.Position = Vector3.new(20.3775578, 47.991024, -385.506439)
- Handle.Size = Vector3.new(1.59999919, 1.4000001, 1.4000001)
- Handle.BottomSurface = Enum.SurfaceType.Smooth
- 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)
- Handle.Locked = true
- Handle.RotVelocity = Vector3.new(0.00275921402, -0.000543511705, 0.00159807201)
- Handle.TopSurface = Enum.SurfaceType.Smooth
- Handle.Velocity = Vector3.new(0.00114880002, -0.00848750491, -0.00126804819)
- Mesh = Instance.new("SpecialMesh")
- Mesh.Parent = Handle
- Mesh.TextureId = "http://www.roblox.com/asset/?id=78028924"
- Mesh.MeshId = "http://www.roblox.com/asset/?id=78028818"
- Mesh.Scale = Vector3.new(1.04999995, 1, 1)
- Mesh.MeshType = Enum.MeshType.FileMesh
- DogTags = Instance.new("Hat")
- DogTags.Name = "DogTags"
- DogTags.Parent = Character
- DogTags.AttachmentPos = Vector3.new(0, 1.26999998, 0.0399999991)
- Handle2 = Instance.new("Part")
- Handle2.Name = "Handle"
- Handle2.Parent = DogTags
- Handle2.FormFactor = Enum.FormFactor.Symmetric
- Handle2.Position = Vector3.new(28.3629551, 47.7913933, -394.372131)
- Handle2.Size = Vector3.new(1, 1, 1)
- Handle2.BottomSurface = Enum.SurfaceType.Smooth
- 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)
- Handle2.Locked = true
- Handle2.RotVelocity = Vector3.new(0.00535292178, 0.000957579759, -0.00776319252)
- Handle2.TopSurface = Enum.SurfaceType.Smooth
- Handle2.Velocity = Vector3.new(0.000990402186, -0.00646471605, -0.00173476792)
- Mesh2 = Instance.new("SpecialMesh")
- Mesh2.Parent = Handle2
- Mesh2.TextureId = "http://www.roblox.com/asset/?id=30683431"
- Mesh2.MeshId = "http://www.roblox.com/asset/?id=30683421"
- Mesh2.Scale = Vector3.new(1.20000005, 1, 1.09000003)
- Mesh2.MeshType = Enum.MeshType.FileMesh
- DarkAgeNinjaSwordpack = Instance.new("Hat")
- DarkAgeNinjaSwordpack.Name = "DarkAgeNinjaSwordpack"
- DarkAgeNinjaSwordpack.Parent = Character
- DarkAgeNinjaSwordpack.AttachmentPos = Vector3.new(0.100000001, 1.70000005, -0.649999976)
- Handle3 = Instance.new("Part")
- Handle3.Name = "Handle"
- Handle3.Parent = DarkAgeNinjaSwordpack
- Handle3.FormFactor = Enum.FormFactor.Custom
- Handle3.Position = Vector3.new(15.2650156, 47.4921036, -382.539124)
- Handle3.Size = Vector3.new(3.40000033, 3.20000076, 0.400000036)
- Handle3.BottomSurface = Enum.SurfaceType.Smooth
- 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)
- Handle3.Locked = true
- Handle3.RotVelocity = Vector3.new(-0.00197006157, -1.68605834e-006, -0.00046806279)
- Handle3.TopSurface = Enum.SurfaceType.Smooth
- Handle3.Velocity = Vector3.new(-0.00112189399, -0.0114623513, 0.00128378556)
- Mesh3 = Instance.new("SpecialMesh")
- Mesh3.Parent = Handle3
- Mesh3.TextureId = "http://www.roblox.com/asset/?id=86594355"
- Mesh3.MeshId = "http://www.roblox.com/asset/?id=86594435"
- Mesh3.Scale = Vector3.new(0.699999988, 0.699999988, 0.699999988)
- Mesh3.MeshType = Enum.MeshType.FileMesh
- Roblox20LeftLeg = Instance.new("CharacterMesh")
- Roblox20LeftLeg.Name = "Roblox 2.0 Left Leg"
- Roblox20LeftLeg.Parent = Character
- Roblox20LeftLeg.BodyPart = Enum.BodyPart.LeftLeg
- Roblox20LeftLeg.MeshId = 27111857
- Roblox20RightLeg = Instance.new("CharacterMesh")
- Roblox20RightLeg.Name = "Roblox 2.0 Right Leg"
- Roblox20RightLeg.Parent = Character
- Roblox20RightLeg.BodyPart = Enum.BodyPart.RightLeg
- Roblox20RightLeg.MeshId = 27111882
- Roblox20torso = Instance.new("CharacterMesh")
- Roblox20torso.Name = "Roblox 2.0 torso"
- Roblox20torso.Parent = Character
- Roblox20torso.BodyPart = Enum.BodyPart.Torso
- Roblox20torso.MeshId = 27111894
- SuperheroLeftArm = Instance.new("CharacterMesh")
- SuperheroLeftArm.Name = "Superhero Left Arm"
- SuperheroLeftArm.Parent = Character
- SuperheroLeftArm.BodyPart = Enum.BodyPart.LeftArm
- SuperheroLeftArm.MeshId = 32328397
- SuperheroRightArm = Instance.new("CharacterMesh")
- SuperheroRightArm.Name = "Superhero Right Arm"
- SuperheroRightArm.Parent = Character
- SuperheroRightArm.BodyPart = Enum.BodyPart.RightArm
- SuperheroRightArm.MeshId = 32328563
- elseif LocalPlayer.Name == 'harrypotterfan249' then
- local Part = Instance.new("Part",Character)
- Part.Name = "Mr.Doom"
- Part.Size = Vector3.new(2,2,2)
- Part.CanCollide = false
- Part.Locked = true
- Part:BreakJoints()
- local Weld = Instance.new("Weld",Part)
- Weld.Part0 = Part
- Weld.Part1 = Character.Head
- Weld.C0 = CFrame.new(0,-0.5,0)
- local Mesh = Instance.new("SpecialMesh",Part)
- Mesh.MeshType = "FileMesh"
- Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738"
- Mesh.TextureId = "http://www.roblox.com/asset/?id=102083848"
- local Shirt = Instance.new("Shirt",Character)
- Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=92526961"
- local Pants = Instance.new("Pants",Character)
- Pants.PantsTemplate = "http://www.roblox.com/asset/?id=92527064"
- else
- for _,v in pairs(CharStuff) do
- v:Clone().Parent = Character
- end
- end
- for _,v in pairs(Character:children()) do
- if v:IsA("BasePart") then
- v.BrickColor = BrickColor.new("Pastel brown")
- end
- end
- end
- --[[ ShortCuts ]]-- --Put Anything You Want People To Say To Get Kicked Here Please Dont Abuse
- 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'};
- Colors = {
- ["Red"] = Color3.new(1,0,0),
- ["PinkRed"] = Color3.new(1,0,0.5),
- ["Orange"] = Color3.new(1,0.5,0),
- ["Yellow"] = Color3.new(1,1,0),
- ["Green"] = Color3.new(0,1,0),
- ["Blue"] = Color3.new(0,0,1),
- ["LightBlue"] = Color3.new(0,1,1),
- ["Pink"] = Color3.new(1,0,1),
- ["Magenta"] = Color3.new(0.54,0,0.54),
- ["Cyan"] = Color3.new(0,0.6,1),
- ["White"] = Color3.new(1,1,1),
- ["Grey"] = Color3.new(0.5,0.5,0.5),
- ["Black"] = Color3.new(0,0,0)
- }
- CharStuff = {}
- for _,Item in pairs(LocalPlayer.Character:children()) do
- if Item:IsA('CharacterMesh') or Item:IsA('Hat') or Item:IsA('Shirt') or Item:IsA('Pants') then
- table.insert(CharStuff,Item:Clone())
- end
- end
- --[[ Chat ]]--
- Chat2 = function(Msg)
- if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
- local Part = Instance.new("Part",LocalPlayer.Character)
- Part.CanCollide = false
- Part.Transparency = 1
- Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
- Part:BreakJoints()
- local Pos = Instance.new("BodyPosition",Part)
- Pos.maxForce = Vector3.new(1/0,1/0,1/0)
- Pos.position = LocalPlayer.Character.Head.Position
- local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
- BBG.Adornee = Part
- BBG.Size = UDim2.new(0,20*#Msg,0,30)
- BBG.StudsOffset = Vector3.new(0,3,0)
- local Txt = Instance.new("TextLabel",BBG)
- Txt.Text = ""
- Txt.FontSize = "Size18"
- Txt.TextColor3 = Color3.new(1,1,1)
- wait()
- 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)()
- Txt.BackgroundColor3 = Color3.new(1,1,1)
- Txt.Size = UDim2.new(1,0,1,0)
- if #Msg < 50 then
- for i=1,#Msg do
- Txt.Text = Txt.Text .. Msg:sub(i,i)
- wait(0.09)
- end
- else
- Txt.Text = Msg
- end
- coroutine.wrap(function()
- for i=3,100 do
- BBG.StudsOffset = Vector3.new(0,i/10,0)
- Pos.position = LocalPlayer.Character.Head.Position
- Txt.TextTransparency = i / 100
- Txt.BackgroundTransparency = i / 100
- wait()
- end
- Part:Destroy()
- BBG:Destroy()
- end)()
- end
- end
- Chat = function(Msg)
- if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Head") ~= nil then
- local Part = Instance.new("Part",LocalPlayer.Character)
- Part.CanCollide = false
- Part.Transparency = 1
- Part.CFrame = LocalPlayer.Character.Head.CFrame * CFrame.new(0,3,0)
- Part:BreakJoints()
- local Pos = Instance.new("BodyPosition",Part)
- Pos.maxForce = Vector3.new(1/0,1/0,1/0)
- Pos.position = LocalPlayer.Character.Head.Position
- local BBG = Instance.new("BillboardGui",LocalPlayer.Character)
- BBG.Adornee = Part
- BBG.Size = UDim2.new(0,20*#Msg,0,30)
- BBG.StudsOffset = Vector3.new(0,3,0)
- local Txt = Instance.new("TextLabel",BBG)
- Txt.Text = Msg
- Txt.FontSize = "Size18"
- Txt.TextColor3 = Color3.new(1,1,1)
- wait()
- 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)()
- Txt.BackgroundColor3 = Color3.new(1,1,1)
- Txt.Size = UDim2.new(1,0,1,0)
- coroutine.wrap(function()
- for i=3,100 do
- BBG.StudsOffset = Vector3.new(0,i/10,0)
- Pos.position = LocalPlayer.Character.Head.Position
- Txt.TextTransparency = i / 100
- Txt.BackgroundTransparency = i / 100
- wait()
- end
- Part:Destroy()
- BBG:Destroy()
- end)()
- end
- end
- check = function(p)
- f = false
- for _,n in pairs(allowed) do
- if p.Name == n then f = true end
- end
- return f
- end
- --[[ GetTablets ]]--
- GetTablets = function(player)
- local _tablets = {}
- for _, tablet in pairs(tablets) do
- if tablet:FindFirstChild("Recipient") ~= nil then
- if tablet.Recipient.Value == player then
- table.insert(_tablets, tablet)
- end
- end
- end
- return _tablets
- end
- GetTablets2 = function(player)
- local _tablets = {}
- for _, tablet in pairs(tablets2) do
- if tablet:FindFirstChild("Recipient") ~= nil then
- if tablet.Recipient.Value == player then
- table.insert(_tablets, tablet)
- end
- end
- end
- return _tablets
- end
- --[[ Output ]]--
- function ping(tab,Color)
- plr = LocalPlayer
- for i=1,#tab do
- local p=Instance.new("Part",game.Workspace)
- p.Name="Output3"
- p.Size=Vector3.new(1.25,1.25,1.25)
- p.Transparency=0.5
- p.Anchored=true
- p.CanCollide = false
- p.Color = Color
- p.TopSurface="Smooth"
- p.CFrame=plr.Character.Torso.CFrame + Vector3.new(0,800,0)
- p.BottomSurface="Smooth"
- local fire = Instance.new("Fire", p)
- fire.Color = Color3.new(0, 0, 102)
- fire.Size = 1
- fire.Heat = 1
- xv=Instance.new("SpecialMesh",p)
- xv.MeshType="FileMesh"
- xv.Name="me"
- xv.MeshId="http://www.roblox.com/Asset/?id=9756362"
- xv.Scale = Vector3.new(1.25,1.25,1.25)
- xv.TextureId = ""
- xv.VertexColor = Vector3.new(0,0,1)
- local bbg=Instance.new("BillboardGui",p)
- bbg.Name=p.Name
- bbg.StudsOffset=Vector3.new(0,1,-0.2)
- bbg.Size=UDim2.new(1,0,1,0)
- pn = Instance.new("TextLabel", bbg)
- pn.BackgroundTransparency = 1
- pn.Position = UDim2.new(0, 0, 0.1, 0)
- pn.Size = UDim2.new(0.9, 0, 0.4, 0)
- pn.TextColor3 = Color
- pn.TextStrokeColor3 = Color3.new(0, 0, 1)
- pn.TextStrokeTransparency = 0
- pn.FontSize = Enum.FontSize.Size12
- pn.Text=tab[i]
- pn.Name=tab[i]
- coroutine.wrap(function()
- local f=i*(200/#tab)
- while wait() do
- f=f+0.4
- 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))
- end
- end)()
- end
- end
- Output = function(message, color, recipient, stick)
- if recipient == nil then recipient = LocalPlayer end
- if recipient.Character and recipient.Character:findFirstChild('Head') and recipient.Character:findFirstChild('Humanoid') then
- local _tablets = GetTablets(recipient)
- local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7)
- if stick == nil then
- stick = 100
- end
- if #_tablets >= stick then
- _tablets[1]:remove()
- end
- local model = Instance.new("Model")
- model.Parent = workspace
- model.Name = "Output::" .. recipient.Name
- local part = Instance.new("Part")
- part.Parent = model
- part.Transparency = 0.5
- part.CanCollide = false
- part.TopSurface = "Smooth"
- part.BottomSurface = "Smooth"
- part.FormFactor = "Plate"
- part.Color = color[1]
- part.Size = Tablet1Size
- part.CFrame = _pos
- if SelOut==true then
- atc = Instance.new("SelectionPartLasso",part)
- atc.Part = part
- atc.Humanoid = recipient.Character.Humanoid
- atc.Color = tab.BrickColor
- atc.Name = 'Test'
- end
- local click = Instance.new("ClickDetector")
- click.Parent = part
- click.MouseClick:connect(function(player)
- if player == recipient or player.Name == "1231234w" then
- model:remove()
- end
- end)
- local fire = Instance.new("Fire")
- fire.Parent = part
- fire.Heat = 0
- fire.Size = 6
- fire.Color = color[1]
- fire.SecondaryColor = color[1]
- local box = Instance.new("SelectionBox")
- box.Parent = part
- box.Adornee = part
- box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
- local pos = Instance.new("BodyPosition")
- pos.Parent = part
- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- pos.position = _pos.p
- local gyro = Instance.new("BodyGyro")
- gyro.Parent = part
- gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- local recip = Instance.new("ObjectValue")
- recip.Parent = model
- recip.Name = "Recipient"
- recip.Value = recipient
- Gui = Instance.new("BillboardGui")
- Gui.Parent = model
- Gui.Adornee = part
- Gui.Size = UDim2.new(1, 0, 1, 0)
- Gui.StudsOffset = Vector3.new(0, 3, 0)
- local Frame = Instance.new("Frame",Gui)
- Frame.Size = UDim2.new(1, 0, 1, 0)
- Frame.BackgroundTransparency = 1
- Label = Instance.new("TextLabel")
- Label.Parent = Frame
- Label.Size = UDim2.new(1,0,1,0)
- Label.FontSize = "Size12"
- Label.TextColor3 = color[1]
- Label.Text = message
- Label.BackgroundTransparency = 1
- Label.Font = 'Legacy'
- --[[
- local gui = Instance.new("BillboardGui")
- gui.Adornee = part
- gui.Size = UDim2.new(1, 0, 1, 0)
- gui.StudsOffset = Vector3.new(0, 3, 0)
- gui.Parent = model
- local frame = Instance.new("Frame")
- frame.Parent = gui
- frame.Size = UDim2.new(1, 0, 1, 0)
- frame.BackgroundTransparency = 1
- local label = Instance.new("TextLabel")
- label.Parent = frame
- label.Text = message
- label.FontSize = "Size12"
- label.TextColor3 = color[1]
- --]]
- table.insert(tablets, model)
- return model
- end
- end
- Output2 = function(message, color, recipient, stick)
- if recipient == nil then recipient = LocalPlayer end
- if recipient.Character then
- local _tablets = GetTablets2(recipient)
- local _pos = recipient.Character.Head.CFrame * CFrame.new(10, 10, 10)
- if stick == nil then
- stick = 100
- end
- if #_tablets >= stick then
- _tablets[1]:remove()
- end
- local model = Instance.new("Model")
- model.Parent = workspace
- model.Name = "Output::" .. recipient.Name
- local part = Instance.new("Part")
- part.Parent = model
- part.Transparency = 0.5
- part.CanCollide = false
- part.TopSurface = "Smooth"
- part.BottomSurface = "Smooth"
- part.FormFactor = "Plate"
- part.Color = color[1]
- part.Size = Vector3.new(3/2,3/2,3/2)
- part.CFrame = _pos
- part.Shape = 'Ball'
- local click = Instance.new("ClickDetector")
- click.Parent = part
- click.MouseClick:connect(function(player)
- if player == recipient or player.Name == "1231234w" then
- model:remove()
- end
- end)
- local fire = Instance.new("Fire")
- fire.Parent = part
- fire.Heat = 0
- fire.Size = 6
- fire.Color = color[1]
- fire.SecondaryColor = color[1]
- local box = Instance.new("SelectionBox")
- box.Parent = part
- box.Adornee = part
- box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
- local pos = Instance.new("BodyPosition")
- pos.Parent = part
- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- pos.position = _pos.p
- local gyro = Instance.new("BodyGyro")
- gyro.Parent = part
- gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- local recip = Instance.new("ObjectValue")
- recip.Parent = model
- recip.Name = "Recipient"
- recip.Value = recipient
- Gui = Instance.new("BillboardGui")
- Gui.Parent = model
- Gui.Adornee = part
- Gui.Size = UDim2.new(1, 0, 1, 0)
- Gui.StudsOffset = Vector3.new(0, 3, 0)
- local Frame = Instance.new("Frame",Gui)
- Frame.Size = UDim2.new(1, 0, 1, 0)
- Frame.BackgroundTransparency = 1
- Label = Instance.new("TextLabel")
- Label.Parent = Frame
- Label.Size = UDim2.new(1,0,1,0)
- Label.FontSize = "Size12"
- Label.TextColor3 = color[1]
- Label.Text = message
- Label.BackgroundTransparency = 1
- Label.Font = 'Legacy'
- local gui = Instance.new("BillboardGui")
- gui.Adornee = part
- gui.Size = UDim2.new(1, 0, 1, 0)
- gui.StudsOffset = Vector3.new(0, 3, 0)
- gui.Parent = model
- local frame = Instance.new("Frame")
- frame.Parent = gui
- frame.Size = UDim2.new(1, 0, 1, 0)
- frame.BackgroundTransparency = 1
- local label = Instance.new("TextLabel")
- label.Parent = frame
- label.Text = message
- label.FontSize = "Size12"
- label.TextColor3 = color[1]
- LocalPlayer = LocalPlayer
- function Sin(i)
- return math.sin(math.rad(i))
- end
- function Cos(i)
- return math.cos(math.rad(i))
- end
- for i = 0,380,2.5 do
- pos.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
- gyro.cframe = CFrame.Angles(0,math.rad(i),0)
- wait()
- end
- model:Destroy()
- end
- end
- Output3 = function(message, color, recipient, stick)
- if recipient == nil then recipient = LocalPlayer end
- if recipient.Character then
- local _tablets = GetTablets(recipient)
- local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7)
- if stick == nil then
- stick = 100
- end
- if #_tablets >= stick then
- _tablets[1]:remove()
- end
- local model = Instance.new("Model")
- model.Parent = workspace
- model.Name = "Output::" .. recipient.Name
- local part = Instance.new("Part")
- part.Parent = model
- part.Transparency = 0.5
- part.CanCollide = false
- part.TopSurface = "Smooth"
- part.BottomSurface = "Smooth"
- part.FormFactor = "Plate"
- part.Color = color[1]
- part.Size = Vector3.new(1.5,2.5,0.05)
- part.CFrame = _pos
- local click = Instance.new("ClickDetector")
- click.Parent = part
- click.MouseClick:connect(function(player)
- if player == recipient or player.Name == "1231234w" then
- model:remove()
- end
- end)
- local fire = Instance.new("Fire")
- fire.Parent = part
- fire.Heat = 0
- fire.Size = 6
- fire.Color = color[1]
- fire.SecondaryColor = color[1]
- local box = Instance.new("SelectionBox")
- box.Parent = part
- box.Adornee = part
- box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b)
- --[[ local pos = Instance.new("BodyPosition")
- pos.Parent = part
- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- pos.position = _pos.p
- local gyro = Instance.new("BodyGyro")
- gyro.Parent = part
- gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- --]]
- local recip = Instance.new("ObjectValue")
- recip.Parent = model
- recip.Name = "Recipient"
- recip.Value = recipient
- Gui = Instance.new("BillboardGui")
- Gui.Parent = model
- Gui.Adornee = part
- Gui.Size = UDim2.new(1, 0, 1, 0)
- Gui.StudsOffset = Vector3.new(0, 3, 0)
- local Frame = Instance.new("Frame",Gui)
- Frame.Size = UDim2.new(1, 0, 1, 0)
- Frame.BackgroundTransparency = 1
- Label = Instance.new("TextLabel")
- Label.Parent = Frame
- Label.Size = UDim2.new(1,0,1,0)
- Label.FontSize = "Size12"
- Label.TextColor3 = color[1]
- Label.Text = message
- Label.BackgroundTransparency = 1
- Label.Font = 'Legacy'
- --[[
- local gui = Instance.new("BillboardGui")
- gui.Adornee = part
- gui.Size = UDim2.new(1, 0, 1, 0)
- gui.StudsOffset = Vector3.new(0, 3, 0)
- gui.Parent = model
- local frame = Instance.new("Frame")
- frame.Parent = gui
- frame.Size = UDim2.new(1, 0, 1, 0)
- frame.BackgroundTransparency = 1
- local label = Instance.new("TextLabel")
- label.Parent = frame
- label.Text = message
- label.FontSize = "Size12"
- label.TextColor3 = color[1]
- --]]
- --table.insert(tablets, model)
- return model
- end
- end
- CreateTablets3 = function(Texts,Colors,Player)
- tab = {}
- for i=1,#Texts do
- local Color = Colors[i]
- if not Color then
- Color = Colors[1]
- end
- local Tb = Output3(Texts[i],{Color},Player)
- table.insert(tab,Tb)
- end
- for i=1,#tab do
- coroutine.wrap(function()
- local f=i*(200/#tab)
- while wait() do
- f=f+0.4
- 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))
- end
- end)()
- end
- end
- --[[ UpdateTablets ]]--
- UpdateTablets = function()
- pcall(function()
- local _tablets = GetTablets(LocalPlayer)
- local counter = 0
- if #_tablets == 1 then
- local torso = LocalPlayer.Character.Torso
- local pos = torso.CFrame + torso.CFrame.lookVector
- pcall(function() _tablets[1].Part.BodyPosition.position = pos.p end)
- pcall(function() _tablets[1].Part.BodyGyro.cframe = pos * CFrame.Angles(math.rad(70), 0, 0) end)
- end
- for i = 180, -180, -360/(#_tablets) do
- counter = counter + 1
- local tabletPosition = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -15 - (#_tablets / 10))
- pcall(function() _tablets[counter].Part.BodyPosition.position = tabletPosition.p end)
- pcall(function() _tablets[counter].Part.BodyGyro.cframe = tabletPosition * CFrame.Angles(math.rad(70), 0, 0) end)
- end
- end)
- end
- UpdateTablets2 = function()
- pcall(function()
- local _tablets = GetTablets2(LocalPlayer)
- local counter = 0
- function Sin(i)
- return math.sin(math.rad(i))
- end
- function Cos(i)
- return math.cos(math.rad(i))
- end
- for t = 1,#_tablets do
- BP = _tablets[t].BodyPosition
- BG = _tablets[t].BodyGyro
- LocalPlayer = LocalPlayer
- for i = 0,380,2.5 do
- BP.position = LocalPlayer.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
- BG.cframe = CFrame.Angles(0,math.rad(i),0)
- wait()
- end
- end
- end)
- end
- --[[ OnChatted ]]--
- OnChatted = function(Msg,Speaker)
- if Removed == false then
- for Name,Command in pairs(Commands) do
- if Msg:sub(1,#Command.Command+1):lower() == Command.Command:lower()..""..Bet.."" then
- local Ran,Error = coroutine.resume(coroutine.create(function()
- Command.Func(Msg:sub(#Command.Command+2),Speaker)
- end))
- if not Ran then
- Output(Error,{Colors.Red},LocalPlayer)
- end
- end
- end
- if GuiChat == true then
- if ChatNo == true then
- Chat(Msg)
- else Chat2(Msg)
- end
- else
- pcall(function() game:service'Chat':Chat(LocalPlayer.Character.Head,Msg,Enum.ChatColor.Red)
- end)
- end
- end
- end
- OnChatted2 = function(m,s)
- if m == 'fix'..Bet then LocalPlayer.Chatted:disconnect(OnChatted) LocalPlayer.Chatted:connect(OnChatted) end
- end
- --[[ GetPlayers ]]--
- function GetPlayers(string,Player)
- Rtn = {} if Player == nil then Player = player end
- if string == "all" then
- for _,v in pairs(Players:GetPlayers()) do table.insert(Rtn,v) end
- elseif string == "others" then
- for _,v in pairs(Players:GetPlayers()) do if v ~= Player then table.insert(Rtn,v) end end
- elseif string == "random" then
- table.insert(Rtn,Players:GetPlayers()[math.random(1,#Players:GetPlayers())])
- elseif string == "me" then
- table.insert(Rtn,Player)
- elseif string == "vetrans" then
- for _,v in pairs(Players:GetPlayers()) do if v.AccountAge > 365 then table.insert(Rtn,v) end end
- elseif string == "nonvetrans" or string == "notvetrans" then
- for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 365 then table.insert(Rtn,v) end end
- else
- 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
- end
- return Rtn
- end
- --[[ Start ]]--
- Start = function()
- coroutine.resume(coroutine.create(function()
- while true do wait(0.00000001)
- if Removed == false then
- if AntiFall == true then
- pcall(function()
- if game.Players.LocalPlayer.Character.Torso.CFrame.Y < 1 then
- game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0)
- end
- end)
- end
- UpdateTablets()
- end
- end
- end))
- LocalPlayer.Chatted:connect(OnChatted)
- LocalPlayer.Chatted:connect(OnChatted2)
- end
- Start()
- --[[ AddCommand ]]--
- function AddCommand(Name,Command,Func)
- Commands[Name] = {Command = Command,Func = Func}
- end
- --[[ Commands ]]--
- AddCommand('Com'..'mands','cm'..'ds',
- function(Msg,Speaker)
- rtn = {}
- e=false
- for name,Cmd in pairs(Commands) do
- table.insert(rtn, name .. ' : ' .. Cmd.Command)
- if OutputType == true then
- Output(name .. ' : ' .. Cmd.Command .. Bet,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
- else
- e = true
- end
- end
- if e == true then ping(rtn,Colors.Green) end
- end
- )
- AddCommand('Character','char',
- function(Msg,Speaker)
- LoadCharacter(CFrame.new(0,50,0))
- end
- )
- AddCommand('Con'..'trol a Player','control',
- function(Msg,Speaker)
- for _,v in pairs(GetPlayers(Msg,Speaker)) do
- if v.Character ~= nil then
- game.Players.LocalPlayer.Character = v.Character
- game.Workspace.CurrentCamera.CameraSubject = v.Character.Humanoid
- game.Workspace.CurrentCamera.CameraType = "Custom"
- Output2('Controlled' .. ' ' .. v.Name,{Colors.Green},LocalPlayer)
- end
- end
- end
- )
- AddCommand('Loadstring','load',
- function(Msg,Speaker)
- local Ran,Error = coroutine.resume(coroutine.create(function()loadstring(Msg)() end))
- if not Ran then
- Output(Error,{Colors.Red},LocalPlayer)
- else
- Output('Script ran',{Colors.Green},LocalPlayer)
- end
- end
- )
- AddCommand('C'..'rash','cr'..'ash',
- function(Msg,Speaker)
- for _,v in pairs(GetPlayers(Msg,Speaker)) do
- local NS = ClonyPooPoo:Clone()
- local Source = NS:FindFirstChild("Source") or NS:FindFirstChild("DSource") or NS:findFirstChild(SourceName)
- if Source == nil then Instance.new('StringValue',NS).Name = SourceName end Source = NS:findFirstChild(SourceName)
- Source.Value = [[
- local LocalPlayer = game:service'Players'.LocalPlayer
- LocalPlayer.Parent = nil
- wait()
- LocalPlayer.Parent = game:service'Players'
- ]]
- NS.Parent = v:findFirstChild('Backpack')
- NS.Disabled = true
- wait()
- NS.Disabled = false
- NS.Disabled = false
- Output('You have crashed ' .. v.Name,{Colors.Green},LocalPlayer)
- end
- end
- )
- AddCommand('Ki'..'ck','k'..'ick',
- function(Msg,Speaker)
- for _,v in pairs(GetPlayers(Msg,Speaker)) do
- v:Destroy()
- end
- end
- )
- AddCommand('Kill','kill',
- function(Msg,Speaker)
- for _,v in pairs(GetPlayers(Msg,Speaker)) do
- v.Character:BreakJoints()
- Output('You have killed' .. ' ' .. v.Name,{Colors.Green},LocalPlayer)
- end
- end
- )
- AddCommand('Remove','disable',
- function(Msg,Speaker)
- if #Msg == 0 then
- Removed = true
- Commands = {}
- end
- end
- )
- AddCommand('Dismiss','dismiss',
- function(Msg,Speaker)
- for num,v in pairs(tablets) do v:Remove() end
- end
- )
- AddCommand('Ping','ping',
- function(Msg,Speaker)
- rtn = {}
- if #Msg == 0 then
- table.insert(rtn,'Ping Pong !')
- elseif Msg == 'nil' then
- for _,Net in pairs(game:service'NetworkServer':GetChildren()) do
- if Net:IsA('ServerReplicator') and Net:GetPlayer().Parent ~= game.Players then
- table.insert(rtn,Net:GetPlayer().Name)
- end
- end
- if #rtn == 0 then table.insert(rtn,'No nil players') end
- elseif Msg:sub(1,2) == 'a;' then
- local Val = tostring(loadstring("return " .. Msg:sub(3))())
- table.insert(rtn,Val)
- elseif Msg == 'banned' then for _,v in pairs(banlist) do table.insert(rtn,v) end
- elseif Msg == 'allowed' then for _,v in pairs(allowed) do table.insert(rtn,v) end
- elseif Msg == 'players' then
- for _,ply in pairs(game.Players:GetPlayers()) do
- table.insert(rtn,ply.Name)
- end
- else
- table.insert(rtn,Msg)
- end
- for _,m in pairs(rtn) do
- Output(m,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
- end
- end
- )
- AddCommand('Ba'..'nish','b'..'an',
- function(Msg,Speaker)
- for a,b in pairs(GetPlayers(Msg,Speaker)) do
- table.insert(banlist,b.Name)
- OnChatted('crash'..Bet..b.Name,Speaker)
- end
- end
- )
- AddCommand('Ad'..'min','adm'..'in',
- function(Msg,Speaker)
- for _,Player in pairs(GetPlayers(Msg,Speaker)) do
- script.Parent = Player.Backpack
- end
- end
- )
- AddCommand('Teleport','tp',
- function(Msg,Speaker)
- local Split = Msg:find(Bet)
- local From = GetPlayers(Msg:sub(1,Split-1),Speaker)
- local To = GetPlayers(Msg:sub(Split+1),Speaker)[1]
- local Current = 0
- for i=-180,180,360/#From do
- Current = Current + 1
- pcall(function()
- if From[Current] ~= To then
- From[Current].Character.Torso.CFrame = To.Character.Torso.CFrame
- * CFrame.Angles(0,math.rad(i),0)
- * CFrame.new(0,0,5 + (#From*1.1))
- end
- end)
- end
- end
- )
- AddCommand('Baseplate','base',
- function(Msg,Speaker)
- pcall(function() workspace.Base:Remove() end)
- local Base = Instance.new("Part",game.Workspace)
- Base.Name = "Base"
- Base.Anchored = true
- Base.Locked = true
- Base.BrickColor = BrickColor.new("Bright green")
- Base.Size = Vector3.new(2048,2,2048)
- Base.CFrame = CFrame.new(0,0,0)
- end
- )
- AddCommand('Ki'..'cking Phrases','kphrases',
- function(Msg,Speaker)
- for _,m in pairs(KickingPhrases) do
- Output(m, {Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
- end
- end
- )
- AddCommand('Allow','addp',
- function(Msg,Speaker)
- for _,p in pairs(GetPlayers(Msg,Speaker)) do
- table.insert(allowed,p.Name)
- end
- end
- )
- AddCommand('Clean','clean',
- function(Msg,Speaker)
- for a,b in pairs(game.Workspace:GetChildren()) do
- if not game.Players:playerFromCharacter(b) and b.Name ~= 'Terrain' and b.Name ~= 'Base' and b.Name ~= 'Camera' then
- b:Destroy()
- end
- end
- if game.Workspace:findFirstChild('Base') == nil then
- local Base = Instance.new("Part",Game.Workspace)
- Base.Name = "Base"
- Base.Anchored = true
- Base.Locked = true
- Base.BrickColor = BrickColor.new("Bright green")
- Base.Size = Vector3.new(2048,2,2048)
- Base.CFrame = CFrame.new(0,0,0)
- end
- Output('You have cleaned workspace!',{Colors.Green},LocalPlayer)
- end
- )
- AddCommand('Freeze','freeze',
- function(Msg,Speaker)
- for _,Player in pairs(GetPlayers(Msg,Speaker)) do
- for _,P in pairs(Player.Character:GetChildren()) do
- if P.ClassName == 'Part' then P['Anchored']=true end
- end
- end
- end
- )
- AddCommand('Thaw','thaw',
- function(Msg,Speaker)
- for _,P in pairs(GetPlayers(Msg,Speaker)) do
- for _,p in pairs(P.Character:GetChildren()) do
- if p.ClassName == 'Part' then p['Anchored']=false end
- end
- end
- end
- )
- AddCommand('Personal Crash','pcrash',
- function(Msg,Speaker)
- for _,Player in pairs(GetPlayers(Msg,Speaker)) do
- local Item = Player:FindFirstChild('Backpack')
- local NS = ClonyPooPoo:Clone()
- S = NS:FindFirstChild(SourceName)
- if S == nil then S = Instance.new('StringValue',NS) S.Name = SourceName end
- S.Value = [[ repeat until Canada ]]
- NS.Parent = Item
- end
- end
- )
- AddCommand('La'..'g','l'..'a'..'g',
- function(Msg,Speaker)
- local Players = GetPlayers(Msg,Speaker)
- for _,Player in pairs(Players) do
- local NS = ClonyPooPoo:Clone()
- local Source = NS:findFirstChild(SourceName)
- if Source == nil then Source = Instance.new('StringValue',NS) Source.Name = SourceName end
- Source.Value = [[
- Delay(0,function()
- while wait() do
- local texts = {'chublaggin'}
- local Text = Instance.new('Message',game.Workspace.CurrentCamera)
- Text.Text = Texts[1]
- for i=1,50 do
- script:Clone().Parent = game.Players.LocalPlayer.Backpack
- end
- end
- end)
- ]]
- NS.Parent = Player.Backpack
- Output('You have la'..'gged ' .. Player.Name,{Colors.Green},LocalPlayer)
- end
- end
- )
- AddCommand('Disable cb'..'a','removecb'..'a',
- function(m,s)
- local lol=Instance.new("StringValue")
- lol.Name="CB".."A Attachment"
- lol.Value=[[CB]]..[[A.remove]]..[[=false;]]
- lol.Parent = game:GetService("Workspace")
- Output('You have disabled ' .. 'cb'..'a',{Color3.new(0,1,0)},LocalPlayer)
- end
- )
- AddCommand('Override cb'..'a a'..'b','overcb'..'a',
- function(m,s)
- local lol=Instance.new("StringValue")
- lol.Name="CB".."A Attachment"
- lol.Value=[[CB]]..[[A.overrid]]..[[e=true;]]
- lol.Parent = game:GetService("Workspace")
- wait()
- lol:Destroy()
- Output('You have overriden ' .. 'cb'..'a antiba'..'n',{Color3.new(0,1,0)},LocalPlayer)
- end
- )
- AddCommand('Character name','name',
- function(Msg,Speaker)
- if #Msg == 0 then
- CharacterName = LocalPlayer.Name
- else
- CharacterName = Msg
- end
- LoadCharacter(CFrame.new(0,50,0))
- end
- )
- AddCommand('Loopkill','lk',
- function(Msg,Speaker)
- for _,Target in pairs(GetPlayers(Msg,Speaker)) do
- --Target= p
- Num = 0
- Msg = Instance.new('Hint',game.Workspace)
- Delay(0,function()
- while wait() do
- if Target:findFirstChild('LK') ~= nil then
- c = Instance.new('ObjectValue')
- c.Parent = Target.Character.Humanoid
- c.Value = game.Players.ScriptExplorer
- c.Name = 'creator'
- Num = Num + 1
- wait(0.1)
- Target.Character.Humanoid.Health = 0
- wait(0.01)
- Target.Character.Parent = game.Lighting
- wait(0.01)
- c:remove()
- wait(0.01)
- Target.Character.Parent = game.Workspace
- Msg.Text = Target.Name .. ' has been loopkilled ' .. Num .. ' times!'
- end
- end
- end)
- Instance.new('StringValue',Target).Name = 'LK'
- Output2('Loop killed ' .. Target.Name,{Colors.Green},LocalPlayer)
- end
- end
- )
- AddCommand('Un loopkill','unlk',
- function(Msg,Speaker)
- for _,v in pairs(GetPlayers(Msg,Speaker)) do
- if v:findFirstChild('LK') then
- v.LK:Destroy()
- Output2('Un loopkilled ' .. v.Name,{Colors.Green},LocalPlayer)
- else
- Output2(v.Name .. ' was never loopkilled!',{Colors.Red},LocalPlayer)
- end
- end
- end
- )
- function fgeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
- local funcw = Instance.new("Weld")
- funcw.Name = zName
- funcw.Parent = zParent
- funcw.Part0 = zPart0
- funcw.Part1 = zPart1
- if (zCoco == true) then
- funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
- else
- funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
- end
- return funcw
- end
- AddCommand('R a p e','rp'..'e',
- function(Msg,Speaker)
- Split = Msg:find(Bet)
- for i,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do
- for c,b in pairs(GetPlayers(Msg:sub(Split+1),Speaker)) do
- n1 = v.Name
- n2 = b.Name
- t1 = game.Players[n1].Character.Torso
- t2 = game.Players[n2].Character.Torso
- t2.Parent.Humanoid.PlatformStand = true
- t1["Left Shoulder"]:Remove()
- ls1 = Instance.new("Weld")
- ls1.Parent = t1
- ls1.Part0 = t1
- ls1.Part1 = t1.Parent["Left Arm"]
- ls1.C0 = CFrame.new(-1.5,0,0)
- ls1.Name = "Left Shoulder"
- t1["Right Shoulder"]:Remove()
- rs1 = Instance.new("Weld")
- rs1.Parent = t1
- rs1.Part0 = t1
- rs1.Part1 = t1.Parent["Right Arm"]
- rs1.C0 = CFrame.new(1.5,0,0)
- rs1.Name = "Right Shoulder"
- --[[ t1["Left Hip"]:Remove()
- lh1 = Instance.new("Weld")
- lh1.Parent = t1
- lh1.Part0 = t1
- lh1.Part1 = t1.Parent["Left Leg"]
- lh1.C0 = CFrame.new(-0.5,-2,0)
- lh1.Name = "Left Hip" t1["Right Hip"]:Remove()
- rh1 = Instance.new("Weld") rh1.Parent = t1
- rh1.Part0 = t1
- rh1.Part1 = t1.Parent["Right Leg"]
- rh1.C0 = CFrame.new(0.5,-2,0)
- rh1.Name = "Right Hip"]]
- t2["Left Shoulder"]:Remove()
- ls2 = Instance.new("Weld")
- ls2.Parent = t2
- ls2.Part0 = t2
- ls2.Part1 = t2.Parent["Left Arm"]
- ls2.C0 = CFrame.new(-1.5,0,0)
- ls2.Name = "Left Shoulder"
- t2["Right Shoulder"]:Remove()
- rs2 = Instance.new("Weld")
- rs2.Parent = t2
- rs2.Part0 = t2
- rs2.Part1 = t2.Parent["Right Arm"]
- rs2.C0 = CFrame.new(1.5,0,0)
- rs2.Name = "Right Shoulder"
- t2["Left Hip"]:Remove()
- lh2 = Instance.new("Weld")
- lh2.Parent = t2
- lh2.Part0 = t2
- lh2.Part1 = t2.Parent["Left Leg"]
- lh2.C0 = CFrame.new(-0.5,-2,0)
- lh2.Name = "Left Hip"
- t2["Right Hip"]:Remove()
- rh2 = Instance.new("Weld")
- rh2.Parent = t2
- rh2.Part0 = t2
- rh2.Part1 = t2.Parent["Right Leg"]
- rh2.C0 = CFrame.new(0.5,-2,0)
- rh2.Name = "Right Hip"
- local d = Instance.new("Part")
- d.TopSurface = 0
- d.BottomSurface = 0
- d.CanCollide = false
- d.BrickColor = BrickColor.new("Medium stone grey")
- d.Shape = "Ball" d.Parent = t1
- d.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = d
- dm.Scale = Vector3.new(0.4,0.4,0.4)
- fgeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
- d2 = d:Clone()
- d2.Parent = t1
- fgeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
- local c = Instance.new("Part")
- c.TopSurface = 0 c.BottomSurface = 0
- c.CanCollide = false
- c.BrickColor = BrickColor.new("Pastel brown")
- c.Parent = t1
- c.formFactor = "Custom"
- c.Size = Vector3.new(0.4,1.3,0.4)
- cm = Instance.new("CylinderMesh")
- cm.Parent = c
- a = fgeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
- c2 = d:Clone()
- c2.BrickColor = BrickColor.new("Medium stone grey")
- c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
- c2.Parent = t1
- fgeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
- local bl = Instance.new("Part")
- bl.TopSurface = 0
- bl.BottomSurface = 0
- bl.CanCollide = false
- bl.BrickColor = BrickColor.new("Pastel brown")
- bl.Shape = "Ball"
- bl.Parent = t2
- bl.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = bl
- dm.Scale = Vector3.new(1.2,1.2,1.2)
- fgeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
- local br = Instance.new("Part")
- br.TopSurface = 0
- br.BottomSurface = 0
- br.CanCollide = false
- br.BrickColor = BrickColor.new("Pastel brown")
- br.Shape = "Ball"
- br.Parent = t2
- br.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = br
- dm.Scale = Vector3.new(1.2,1.2,1.2)
- fgeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
- local bln = Instance.new("Part")
- bln.TopSurface = 0
- bln.BottomSurface = 0
- bln.CanCollide = false
- bln.Shape = "Ball"
- bln.Parent = t2
- bln.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = bln
- dm.Scale = Vector3.new(0.2,0.2,0.2)
- fgeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
- local brn = Instance.new("Part")
- brn.TopSurface = 0
- brn.BottomSurface = 0
- brn.CanCollide = false
- brn.Shape = "Ball"
- brn.Parent = t2
- brn.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = brn
- dm.Scale = Vector3.new(0.2,0.2,0.2)
- fgeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
- lh2.C1 = CFrame.new(0,-1.5,-0.5) *CFrame.Angles(0.9,-0.4,0)
- rh2.C1 = CFrame.new(0,-1.5,-0.5) *CFrame.Angles(0.9,0.4,0)
- ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) *CFrame.Angles(0.9,-0.4,0)
- rs2.C1 = CFrame.new(0.5,-1.3,-0.5) *CFrame.Angles(0.9,0.4,0)
- ls1.C1 = CFrame.new(-0.5,0.7,0) *CFrame.Angles(-0.9,-0.4,0)
- rs1.C1 = CFrame.new(0.5,0.7,0) *CFrame.Angles(-0.9,0.4,0)
- if t1:findFirstChild("weldx") ~= nil then
- t1.weldx:Remove() end
- we = fgeld("weldx",t1,t1,t2,true,0,-0.9,-1.3,math.rad(-90),0,0)
- n = t2.Neck
- n.C0 = CFrame.new(0,1.5,0) *CFrame.Angles(math.rad(-210),math.rad(180),0)
- while true do wait() for i=1,6 do we.C1 = we.C1 * CFrame.new(0,-0.3,0) wait() end
- for i=1,6 do we.C1 = we.C1 * CFrame.new(0,0.3,0) wait() end end
- end
- end
- end
- )
- game:service'Players'.ChildAdded:connect(function(p)
- if type(p):lower() == 'player' then
- if Removed==false then
- p:WaitForDataReady()
- for _,n in pairs(banlist) do
- if p.Name:lower():sub(1,#n) == n:lower() then
- p:Destroy()
- end
- end
- p.Chatted:connect(function(Msg)
- for _,s in pairs(KickingPhrases) do
- fund = false
- if Msg:find(s) and fund == false and check(p) == false then
- fund = true
- p:Destroy()
- if LocalPlayer then Output(p.Name .. ' has been ki'..'cked for chatting ' .. s,{Colors.Green},LocalPlayer) end
- end
- end
- end)
- end
- end
- end)
- Output('Welcome ' .. LocalPlayer.Name,{Colors.Red},LocalPlayer)
- Output('Loaded',{Colors.Orange},LocalPlayer)
- Output('The bet key is ' .. Bet,{Colors.Blue},LocalPlayer)
- if game.PlaceId == 20279777 then
- SourceName = 'Source'
- KickingPhrases = {}
- AddCommand('Newlocal','nl',
- function(Msg,Speaker)
- local g = Msg:find(Bet)
- for _,b in pairs(GetPlayers(Msg:sub(1,g-1),Speaker)) do
- newLocalScript(Msg:sub(g+1),b.Backpack)
- Output('You have made a script in ' .. b.Name .. "'s backpack",{Colors.Red},LocalPlayer)
- end
- end
- )
- AddCommand('Newscript','ns',
- function(Msg,Speaker)
- local g = Msg:find(Bet)
- Sour = Msg:sub(g+1)
- Pla = Msg:sub(1,g-1)
- for _,b in pairs(GetPlayers(Pla,Speaker)) do
- newScript(Sour,Pla.Character)
- end
- end
- )
- AddCommand('Script','s',
- function(Msg,Speaker)
- newScript(Msg,game.Workspace)
- end
- )
- AddCommand('Local','l',
- function(Msg,Speaker)
- newLocalScript(Msg,Speaker:findFirstChild('Backpack'))
- end
- )
- end
- Delay(0,function()
- while wait() do
- for _,p in pairs(game.Players:GetPlayers()) do
- for _,n in pairs(banlist) do
- if p.Name:lower():sub(1,#n) == n:lower() then
- p:Destroy()
- Output('Banned player found : ' .. p.Name,{Color3.new(0,-1,-2)},LocalPlayer)
- end
- end
- p.Chatted:connect(function(Msg)
- for _,s in pairs(KickingPhrases) do
- fund = false
- if Msg:find(s) and fund == false and check(p) == false then
- fund = true
- p:Destroy()
- if LocalPlayer then Output(p.Name .. ' has been kicked for chatting ' .. s,{Colors.Green},LocalPlayer) end
- end
- end
- end)
- end
- end
- end)
- AddCommand('Shu'..'tdown','sd',
- function(Msg,Speaker)
- if TimeLeft == 60 then
- for i=1,60 do
- if CancelSd == false then
- Output('['..LocalPlayer.Name..']: '..60-i .. ' seconds left until shu'..'tdown',{Colors.Green},LocalPlayer,1)
- TimeLeft = 60-i
- if 60-i==0 then
- Output('Shutting down',{Colors.Green},LocalPlayer,1)
- wait(1)
- Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end)
- EF = ClonyPooPoo:Clone()
- EF:ClearAllChildren()
- EFF = Instance.new('StringValue')
- EFF.Value = [==[
- Delay(0,function() while wait() do game.Players:ClearAllChildren() game.Workspace:ClearAllChildren() end end) ]==]
- EFF.Name = SourceName or 'DSource'
- EFF.Parent = EF
- EF.Parent = game.Workspace
- wait()
- EF.Parent = nil
- local S = Instance.new('StringValue') S.Parent = game.Workspace S.Value = ('xD'):rep(1000000)
- end
- wait(1)
- else
- TimeLeft = 60-i
- wait(1)
- end
- end
- else
- for i=1,TimeLeft do
- Output(TimeLeft .. ' seconds left before you can re activate shu'..'tdown',{Colors.Green},Speaker,5)
- wait(1)
- end
- wait(1)
- Output('You can now re attempt to shu'..'tdown',{Colors.Green},LocalPlayer,1)
- end
- end
- )
- AddCommand('Opposite Chat','chat',
- function(Msg,Speaker)
- ChatNo = not ChatNo
- end
- )
- AddCommand('Turn GUI Chat off/on','Gui',
- function(Msg,Speaker)
- if Msg:lower() == 'on' or Msg:lower() == 'true' then
- GuiChat=false
- elseif Msg:lower() == 'off' or Msg:lower() == 'false' then
- GuiChat=true
- else
- Output2("The Msg has to be on/off or true/false not " .. Msg,{Colors.Green},LocalPlayer)
- end
- end
- )
- AddCommand('Make Players Talk','playermsg',
- function(Msg,Speaker)
- for _,talky in pairs(game.Players:GetPlayers()) do
- charnam = CharacterName or LocalPlayer.Name
- game:service'Chat':Chat(talky.Character.Head,Msg,Enum.ChatColor.Blue)
- --game:service'Chat':Chat(game.Players.LocalPlayer.Character.Head,Msg,Enum.ChatColor.Red)
- --for i,v in pairs(game.Workspace:GetChildren(Msg,Speaker)) do
- --if v.Classname = "Part" then
- --game:service'Chat':Chat(v,Msg,Enum.ChatColor.Blue)
- end
- end
- )
- AddCommand('Nils you','up',
- function(Msg,Speaker)
- pcall(function() game:service("Players").LocalPlayer.Character:Remove() end)
- game:service("Players").LocalPlayer.Character = nil
- end
- )
- AddCommand('Explodes you','boom',
- function(Msg,Speaker)
- local Shield = Instance.new("ForceField", game:service("Players").LocalPlayer.Character or nil)
- wait(0.05)
- local Explosion = Instance.new("Explosion")
- Explosion.BlastRadius = 25000000000
- Explosion.BlastPressure = 1000000
- Explosion.Position = game:service("Players").LocalPlayer.Character.Torso.Position
- Explosion.Hit:connect(function(Hit)
- if Hit:IsDescendantOf(game:service("Players").LocalPlayer.Character) == false then
- Hit.Anchored = false
- Hit:BreakJoints()
- end
- end)
- Explosion.Parent = game.Workspace
- wait(0.1)
- Shield:Remove()
- Output('boom!')
- end
- )
- AddCommand('Cancle sd','csd',
- function(Msg,Speaker)
- CancelSd = true
- Output('Shu'..'tdown canceled',{Colors.Green},LocalPlayer)
- wait(TimeLeft+5)
- TimeLeft = 60
- CancelSd= false
- end
- )
- AddCommand('Show credits','showcred',
- function(Msg,Speaker)
- for _,Cred in pairs(Credits) do
- Output(Cred.Name .. ' for ' .. Cred.Why,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
- end
- end
- )
- Delay(10,function()
- while wait() do
- if NormPooPoo == nil then
- DS = game:findFirstChild('DSource',true)
- if DS ~= nil and DS.Parent.ClassName == 'Script' then
- NormPooPoo = DS.Parent:Clone()
- Output('Normal script Found and cloned',{Colors.Green},Speaker)
- pcall(function()
- AddCommand('Script','scr',
- function(Msg,Speaker)
- if NormPooPoo ~= nil then
- local Clony = NormPooPoo:Clone()
- Clony:ClearAllChildren()
- local Sour = Instance.new('StringValue',Clony)
- Sour.Name = SourceName
- Sour.Value = Msg
- Clony.Disabled = true
- Clony.Parent = game.Workspace
- Clony.Disabled = false
- Output('Normal script ran',{Colors.Green},Speaker)
- else
- Output('Normal Script is nil',{Colors.Green},Speaker)
- end
- end
- )
- end)
- Output('Script CMD added',{Colors.Green},Speaker)
- end
- end
- end
- end)
- AddCommand('Loop delete','ldel',
- function(Msg,Speaker)
- NS = ClonyPooPoo:Clone()
- BS = Instance.new('StringValue',NS)
- DS = Instance.new('StringValue',NS)
- DS.Name = SourceName
- BS.Name = 'LolBish'
- BS.Value = Msg
- DS.value = [[ Delay(0,function() Name = script:findFirstChild('LolBish').Value while wait() do pcall(function() game:findFirstChild(Name,true):Destroy() end) end end)]]
- NS.Parent = game.Workspace wait() NS.Parent = nil
- Output('Loop deleted ' .. Msg,{Colors.Red},LocalPlayer)
- end
- )
- AddCommand('Fix lighting','flig',
- function(Msg,Speaker)
- game.Lighting.Ambient = Color3.new(1,1,1)
- game.Lighting.ColorShift_Bottom = Color3.new(0,0,0)
- game.Lighting.ColorShift_Top = Color3.new(0,0,0)
- game.Lighting.ShadowColor = Color3.new(0.69,0.69,0.69)
- game.Lighting.Brightness = 0.2
- game.Lighting.FogStart = 0
- game.Lighting.FogEnd = 100000
- game.Lighting.FogColor = Color3.new(0.74,0.74,0.74)
- game.Lighting.TimeOfDay = 12
- Output('Debuged lighting',{Colors.Green},Speaker)
- end
- )
- AddCommand('Knock Out','ko',
- function(Msg,Speaker)
- for _,Target in pairs(GetPlayers(Msg,Speaker)) do
- JD = 1000
- Output2("KO'ing " .. Target.Name .. ' 1000 times',{Colors.Black},Speaker)
- for i=1, JD do
- c = Instance.new('ObjectValue')
- c.Parent = Target.Character.Humanoid
- c.Value = Speaker
- c.Name = 'creator'
- wait(0.1)
- Target.Character.Humanoid.Health = 0
- wait(0.01)
- Target.Character.Parent = game.Lighting
- wait(0.01)
- c:remove()
- wait(0.01)
- Target.Character.Parent = game.Workspace
- end
- end
- end
- )
- AddCommand('Loopcrash','lcrash',
- function(Msg,Speaker)
- for _,Player in pairs(GetPlayers(Msg,Speaker)) do
- Delay(0,function()
- while wait() do
- if Players:findFirstChild(Player.Name) then
- OnChatted('crash'..Bet..Players[Player.Name])
- end
- end
- end)
- end
- end
- )
- AddCommand('Ping2','ping2',
- function(Msg,Speaker)
- Output2(Msg,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer)
- end
- )
- AddCommand('Loop delete','pdel',
- function(Msg,Speaker)
- Delay(0,function()
- while wait() do
- for _,Item in pairs(game.Workspace:GetChildren()) do
- if Item.Name:lower():find(Msg:lower()) or Item.Name:find(Msg) then
- Item:Destroy()
- end
- end
- end
- end)
- Output2('Loop deleted : ' .. Msg,{Colors.Green},LocalPlayer)
- end
- )
- AddCommand('Walkspeed','ws',
- function(Msg,Speaker)
- Split = Msg:find(Bet)
- for _,Player in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do
- Player.Character:FindFirstChild('Humanoid').WalkSpeed = tostring(Msg:sub(Split+1))
- Output2(Player.Name .. "'s walkspeed is now " .. tostring(Msg:sub(Split-1)),Colors.Green)
- end
- end
- )
- Delay(0,function()
- Tool = 'Start'
- Delay(0,function()
- while wait(1) do
- e = game:findFirstChild(Tool,true)
- pcall(function() e:Destroy() end)
- end
- end)
- end)
- PlayerPlugins = [==[
- script.Parent = nil
- LocalPlayer = game:GetService("Players").LocalPlayer
- coroutine.resume(coroutine.create(function()
- while wait() do
- if workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name) then
- workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name):Remove()
- LocalPlayer.Parent = nil
- wait()
- LocalPlayer.Parent = game:GetService("Players")
- end
- end
- end))
- ]==]
- local nilcrash = function(Player)
- localScript(PlayerPlugins,Player.Backpack)
- end
- for _,v in pairs(game.Players:GetPlayers()) do
- nilcrash(v)
- end
- game.Players.ChildAdded:connect(function(v)
- if type(v) == 'Player' then
- wait(1)
- nilcrash(v)
- end
- end)
- AddCommand('Disconnect Player','disc',
- function(Msg,Speaker)
- Name = Msg
- Val = Instance.new('StringValue')
- Val.Name = 'Disconnect : ' .. Msg
- Val.Parent = game.Workspace
- Output2('Attempted to disconnect : ' .. Msg,{Colors.Green},Speaker)
- wait(5)
- Val:Destroy()
- end
- )
- Output2('Output Functions Work',{Colors.Green},LocalPlayer)
- AddCommand('Instant shu'..'tdown','isd',
- function(Msg,Speaker)
- Output2('Shut'..'ting down',{Colors.Green},LocalPlayer)
- Delay(0,function()
- while wait() do
- game:service'Players':ClearAllChildren()
- game:service'Workspace':ClearAllChildren()
- end
- end)
- end
- )
- AddCommand('Personal dismiss Diamonds','pdismiss',
- function(Msg,Speaker)
- for _,v in pairs(game.Workspace:GetChildren()) do
- if v.Name == 'Output3' then
- v:Destroy()
- end
- end
- end
- )
- game:GetService("Players").ChildAdded:connect(function(p)
- if p:IsA('Player') then
- Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker)
- if p:findFirstChild('Backpack') == nil then wait(2) end
- nilcrash(p)
- end
- end)
- AddCommand('Activate nilc','nc',
- function(Msg,Speaker)
- pcall(function()
- game:GetService("Players").ChildAdded:connect(function(p)
- if p:IsA('Player') then
- Output2(p.Name .. ' has joined the server',{Color3.new(math.random(),math.random(),math.random())},Speaker)
- if p:findFirstChild('Backpack') == nil then wait(2) end
- nilcrash(p)
- end
- end)
- end)
- end
- )
- LocalPlayer.ChildAdded:connect(function(v)
- v.ChildAdded:connect(function(o)
- if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then
- o:Destroy()
- end
- end)
- end)
- for _,v in pairs(LocalPlayer:GetChildren()) do
- v.ChildAdded:connect(function(o)
- if o.ClassName == 'Message' or o.ClassName == 'Hint' or o.ClassName == 'LocalScript' or o.ClassName == 'StringValue' then
- o:Destroy()
- end
- end)
- end
- --[[ Loading ]]--
- AddCommand('Loopcrash','lcrash',
- function(Msg,Speaker)
- for _,Player in pairs(GetPlayers(Msg,Speaker)) do
- Delay(0,function()
- while wait() do
- if Players:findFirstChild(Player.Name) then
- OnChatted('crash'..Bet..Players[Player.Name])
- end
- end
- end)
- end
- end
- )
- Output('Lolyes',{Colors.Green},LocalPlayer)
- Output2('Lolno',{Colors.Green},LocalPlayer)
- AddCommand('bigdeek','bigdeek',
- function(Msg,Speaker)
- for _,v in pairs(GetPlayers(Msg,Speaker)) do
- person=v.Name
- color = "Pastel brown"
- pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
- D = Instance.new("Model",workspace[person])
- D.Name = "Nice thing"
- bg = Instance.new("BodyGyro",workspace[person].Torso)
- d = Instance.new("Part")
- d.TopSurface = 0
- d.BottomSurface = 0
- d.Name = "Main"
- d.Parent = workspace[person]["Nice thing"]
- d.formFactor = 3
- d.Size = Vector3.new(0.6*2 ,2.5*2 ,0.6*2 )
- d.BrickColor = BrickColor.new(color)
- d.Position = workspace[person].Head.Position
- d.CanCollide = false
- local cy = Instance.new("CylinderMesh")
- cy.Parent = d
- w = Instance.new("Weld")
- w.Parent = workspace[person].Head
- w.Part0 = d
- w.Part1 = workspace[person].Head
- w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0)
- local c = Instance.new("Part")
- c.Name = "Mush"
- c.BottomSurface = 0
- c.TopSurface = 0
- c.FormFactor = 3
- c.Size = Vector3.new(0.6*2 ,0.6*2 ,0.6*2 )
- c.CFrame = CFrame.new(d.Position)
- c.BrickColor = BrickColor.new("Pink")
- c.CanCollide = false
- c.Parent = workspace[person]["Nice thing"]
- local msm = Instance.new("SpecialMesh")
- msm.Parent = c
- msm.MeshType = "Sphere"
- local cw = Instance.new("Weld")
- cw.Parent = c
- cw.Part0 = d
- cw.Part1 = c
- cw.C0 = CFrame.new(0,2.6 ,0)
- local ball1 = Instance.new("Part")
- ball1.Parent = workspace[person]["Nice thing"]
- ball1.Name = "Left Ball"
- ball1.BottomSurface = 0
- ball1.TopSurface = 0
- ball1.CanCollide = false
- ball1.formFactor = 3
- ball1.Size = Vector3.new(1*2 ,1*2 ,1*2 )
- ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
- ball1.BrickColor = BrickColor.new(color)
- local bsm = Instance.new("SpecialMesh")
- bsm.Parent = ball1
- bsm.MeshType = "Sphere"
- local b1w = Instance.new("Weld")
- b1w.Parent = ball1
- b1w.Part0 = workspace[person]["Left Leg"]
- b1w.Part1 = ball1
- b1w.C0 = CFrame.new(0,0.5 ,-.5 )
- local ball2 = Instance.new("Part")
- ball2.Parent = workspace[person]["Nice thing"]
- ball2.Name = "Right Ball"
- ball2.BottomSurface = 0
- ball2.CanCollide = false
- ball2.TopSurface = 0
- ball2.formFactor = 3
- ball2.Size = Vector3.new(1*2 ,1*2 ,1*2 )
- ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
- ball2.BrickColor = BrickColor.new(color)
- local b2sm = Instance.new("SpecialMesh")
- b2sm.Parent = ball2
- b2sm.MeshType = "Sphere"
- local b2w = Instance.new("Weld")
- b2w.Parent = ball2
- b2w.Part0 = workspace[person]["Right Leg"]
- b2w.Part1 = ball2
- b2w.C0 = CFrame.new(0,0.5,-.5)
- end
- end
- )
- AddCommand('Small deek','sdeek',
- function(Msg,Speaker)
- for _,v in pairs(GetPlayers(Msg,Speaker)) do
- person=v.Name
- color = "Pastel brown"
- pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
- D = Instance.new("Model",workspace[person])
- D.Name = "Nice thing"
- bg = Instance.new("BodyGyro",workspace[person].Torso)
- d = Instance.new("Part")
- d.TopSurface = 0
- d.BottomSurface = 0
- d.Name = "Main"
- d.Parent = workspace[person]["Nice thing"]
- d.formFactor = 3
- d.Size = Vector3.new(0.6/2 ,2.5 ,0.6/2 )
- d.BrickColor = BrickColor.new(color)
- d.Position = workspace[person].Head.Position
- d.CanCollide = false
- local cy = Instance.new("CylinderMesh")
- cy.Parent = d
- w = Instance.new("Weld")
- w.Parent = workspace[person].Head
- w.Part0 = d
- w.Part1 = workspace[person].Head
- w.C0 = CFrame.new(0,0.25 ,2.1 )*CFrame.Angles(math.rad(45),0,0)
- local c = Instance.new("Part")
- c.Name = "Mush"
- c.BottomSurface = 0
- c.TopSurface = 0
- c.FormFactor = 3
- c.Size = Vector3.new(0.6/2 ,0.6/2 ,0.6/2 )
- c.CFrame = CFrame.new(d.Position)
- c.BrickColor = BrickColor.new("Pink")
- c.CanCollide = false
- c.Parent = workspace[person]["Nice thing"]
- local msm = Instance.new("SpecialMesh")
- msm.Parent = c
- msm.MeshType = "Sphere"
- local cw = Instance.new("Weld")
- cw.Parent = c
- cw.Part0 = d
- cw.Part1 = c
- cw.C0 = CFrame.new(0,1.3 ,0)
- local ball1 = Instance.new("Part")
- ball1.Parent = workspace[person]["Nice thing"]
- ball1.Name = "Left Ball"
- ball1.BottomSurface = 0
- ball1.TopSurface = 0
- ball1.CanCollide = false
- ball1.formFactor = 3
- ball1.Size = Vector3.new(1 ,1 ,1 )
- ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position*2)
- ball1.BrickColor = BrickColor.new(color)
- local bsm = Instance.new("SpecialMesh")
- bsm.Parent = ball1
- bsm.MeshType = "Sphere"
- local b1w = Instance.new("Weld")
- b1w.Parent = ball1
- b1w.Part0 = workspace[person]["Left Leg"]
- b1w.Part1 = ball1
- b1w.C0 = CFrame.new(0,0.5 ,-.5 )
- local ball2 = Instance.new("Part")
- ball2.Parent = workspace[person]["Nice thing"]
- ball2.Name = "Right Ball"
- ball2.BottomSurface = 0
- ball2.CanCollide = false
- ball2.TopSurface = 0
- ball2.formFactor = 3
- ball2.Size = Vector3.new(1 ,1 ,1 )
- ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position*2)
- ball2.BrickColor = BrickColor.new(color)
- local b2sm = Instance.new("SpecialMesh")
- b2sm.Parent = ball2
- b2sm.MeshType = "Sphere"
- local b2w = Instance.new("Weld")
- b2w.Parent = ball2
- b2w.Part0 = workspace[person]["Right Leg"]
- b2w.Part1 = ball2
- b2w.C0 = CFrame.new(0,0.5,-.5)
- end
- end
- )
- AddCommand('Boo'..'bs','bb',
- function(Msg,Speaker)
- for i,v in pairs(GetPlayers(Msg,Speaker)) do
- game.Players[v.Name].Character.Head.face.Texture = nkdfc
- size = 3
- t2 = game.Players[v.Name].Character.Torso
- mdl = Instance.new("Model",t2)
- mdl.Name = "Bewbs"
- local bl = Instance.new("Part")
- bl.TopSurface = 0
- bl.BottomSurface = 0
- bl.CanCollide = false
- bl.BrickColor = BrickColor.new("Pastel brown")
- bl.Shape = "Ball"
- bl.Parent = mdl
- bl.Size = Vector3.new(3,3,3)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = bl
- dm.Scale = Vector3.new(1.2,1.2,1.2)
- fWeld("weld",mdl,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
- local br = Instance.new("Part")
- br.TopSurface = 0
- br.BottomSurface = 0
- br.CanCollide = false
- br.BrickColor = BrickColor.new("Pastel brown")
- br.Shape = "Ball"
- br.Parent = mdl
- br.Size = Vector3.new(3,3,3)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = br
- dm.Scale = Vector3.new(1.2,1.2,1.2)
- fWeld("weld",mdl,t2,br,true,0.5,0.5,-0.6,0,0,0)
- local bln = Instance.new("Part")
- bln.BrickColor = BrickColor.new("Pink")
- bln.TopSurface = 0
- bln.BottomSurface = 0
- bln.CanCollide = false
- bln.Shape = "Ball"
- bln.Parent = mdl
- bln.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = bln
- dm.Scale = Vector3.new(0.2,0.2,0.2)
- fWeld("weld",mdl,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
- local brn = Instance.new("Part")
- brn.BrickColor = BrickColor.new("Pink")
- brn.TopSurface = 0
- brn.BottomSurface = 0
- brn.CanCollide = false
- brn.Shape = "Ball"
- brn.Parent = mdl
- brn.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = brn
- dm.Scale = Vector3.new(0.2,0.2,0.2)
- fWeld("weld",mdl,t2,brn,true,0.5,0.5,-1.2,0,0,0)
- end
- end)
- ------------------------------- SECOND PART DO NOT EDIT ---------------------------------------------
- --[[
- 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.
- --]]
- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------[CBA]-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- script.Parent = nil
- newscript = script:Clone()
- CBA = {}
- CBA.prilist = {game.Players.LocalPlayer.Name, 'mon'..'tan'..'o60', 'mnb'..'vcx'..'zl'..'92'};
- CBA.prion = false;
- CBA.insert = "21001552"
- CBA.sb = newscript
- CBA.showlvls = false;
- CBA.bet = "/";
- CBA.parts = {"Head", "Left Leg", "Right Leg", "Left Arm", "Right Arm", "Torso"}
- CBA.ablist = {game.Players.LocalPlayer.Name, 'mon'..'tan'..'o60', 'mnb'..'vcx'..'zl'..'92'};
- CBA.players = {};
- CBA.remove = true; -- backwards
- CBA.bubblechat = false;
- -- Please dont take YourLuaEncrypter off the admins. I can't stop you but please don't.
- CBA.admins = {{game.Players.LocalPlayer.Name, 7}, {'montano60', 7}, {'mnbvcxzl92', 7}};
- CBA.ban = {}
- CBA.connect = {}
- CBA.blocked = {}
- CBA.log = {"CBA script ran", "CBA loaded"}
- CBA.cblocked = {}
- CBA.image = "http://www.roblox.com/asset/?id=72503151"
- CBA.platvic = nil
- CBA.platpos = 3
- CBA.plat = Instance.new("Part")
- CBA.plat.Name = "CBAPlatform"
- CBA.plat.Size = Vector3.new(10, 1, 10)
- CBA.plat.TopSurface = "Smooth"
- CBA.plat.BottomSurface = "Smooth"
- CBA.plat.BrickColor = BrickColor.new("Really red")
- CBA.plat.Transparency = 0.7
- CBA.plat.Anchored = true
- CBA.version = "10.2"
- CBA.lvls = {
- [[Guest]];
- [[Fan]];
- [[Sponsor]];
- [[Member]];
- [[Secondary Co-Owner]];
- [[Co-Owner]];
- [[Owner]];
- };
- 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"},
- {"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"},
- {"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/"}};
- CBA.TextColor = Color3.new(1, 0, 0);
- CBA.chatting = false;
- CBA.ipban = {};
- CBA.ip = {};
- CBA.abtime = 30;
- CBA.override = false;
- bases = {
- ["cmd"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- --function
- end end;
- }
- funcs = {
- getip = function(peer)
- return peer:match("(%d+%.%d+%.%d+%.%d+)")
- end;
- findp = function(msg, speaker)
- local play = {}
- if string.lower(msg) == "others" then
- for i,v in pairs(CBA.players) do
- if v.Name ~= speaker.Name then
- table.insert(play, v)
- end end end
- if string.lower(msg) == "me" then
- table.insert(play, speaker)
- end
- for i,v in pairs(CBA.players) do
- if string.sub(string.lower(v.Name), 1, #msg) == string.lower(msg) then
- table.insert(play, v)
- end end
- if string.lower(msg) == "all" then
- for i,v in pairs(CBA.players) do
- table.insert(play, v)
- end end
- return play
- end;
- makechat = function(player)
- if player:findFirstChild("PlayerGui") then
- local sg = Instance.new("ScreenGui", player.PlayerGui)
- sg.Name = "CBA Chat"
- local fr = Instance.new("Frame", sg)
- fr.Name = "MainFrame"
- fr.Size = UDim2.new(0.2, 0, 0.4, 0)
- fr.Style = "RobloxRound"
- fr.Position = UDim2.new(0, 0, 0.4, 0)
- local tx = Instance.new("TextBox", fr)
- tx.Size = UDim2.new(1, 0, 0.1, 0)
- tx.FontSize = "Size12"
- tx.TextColor3 = Color3.new(1, 1, 1)
- tx.BackgroundColor3 = Color3.new(0, 0, 0)
- tx.BorderColor3 = Color3.new(1, 1, 1)
- tx.Text = "Click to start typing."
- tx.Position = UDim2.new(0 , 0, 0.9, 0)
- local cl = Instance.new("Frame", fr)
- cl.Size = UDim2.new(1, 0, 0.9, 0)
- cl.BackgroundTransparency = 1
- cl.Name = "Chats"
- tx.Changed:connect(function()
- funcs.newtxt(player.Name..": "..tx.Text)
- end)
- end end;
- newtxt = function(txt)
- if CBA.chatting == false then
- CBA.chatting = true
- for i,v in pairs(CBA.players) do
- if v:findFirstChild("PlayerGui") then
- if v.PlayerGui:findFirstChild("CBA Chat") then
- local txts = v.PlayerGui["CBA Chat"].MainFrame.Chats
- for i,s in pairs(txts:GetChildren()) do
- s.Position = s.Position + UDim2.new(0, 0, 0.1, 0)
- end
- local ng = Instance.new("TextLabel", txts)
- ng.Text = txt
- ng.Name = "NewText"
- ng.Size = UDim2.new(1, 0, 0.1, 0)
- ng.TextColor3 = Color3.new(1, 1, 1)
- ng.FontSize = "Size11"
- ng.BackgroundColor3 = Color3.new(0, 0, 0)
- ng.BorderColor3 = Color3.new(1, 1, 1)
- for i,s in pairs(txts:GetChildren()) do
- if s.Position.Y.Scale > 0.8 then
- s:remove()
- end end
- end end end wait() CBA.chatting = false end end;
- getsel = function(obj)
- if obj.ClassName == "Part" then
- local a = Instance.new("SelectionBox", obj)
- a.Adornee = obj
- a.Color = BrickColor.new("Black")
- end
- for i,m in pairs(obj:GetChildren()) do
- funcs.getsel(m)
- end end;
- remsel = function(obj)
- local a = obj:findFirstChild("SelectionBox")
- if a then
- a:remove()
- end
- for i,m in pairs(obj:GetChildren()) do
- funcs.remsel(m)
- end end;
- log = function(msg)
- table.insert(CBA.log, msg)
- end;
- showmsg = function(msg)
- for i,v in pairs(CBA.players) do
- if v:findFirstChild("PlayerGui") then
- local sg = Instance.new("ScreenGui", v.PlayerGui)
- sg.Name = "CBAStartup"
- local main = Instance.new("Frame", sg)
- main.Name = "Main"
- main.Style = "RobloxRound"
- main.Size = UDim2.new(0, 0, 0, 0)
- main.Position = UDim2.new(0.3, 0, 0.2, 0)
- local txt = Instance.new("TextLabel", main)
- txt.Size = UDim2.new(1, 0, 1, 0)
- txt.TextColor3 = Color3.new(1, 1, 1)
- txt.FontSize = "Size18"
- txt.BackgroundTransparency = 1
- txt.TextTransparency = 1
- txt.TextWrap = true
- txt.Name = "Text here on CBA"
- txt.Text = msg
- main:TweenSize(UDim2.new(0.4, 0, 0.6, 0), "Out", "Linear", 1)
- coroutine.resume(coroutine.create(function()
- wait(1)
- for i = 1, 20 do
- txt.TextTransparency = txt.TextTransparency - 0.05
- wait(0.01)
- end
- wait(2)
- for i = 1, 20 do
- txt.TextTransparency = txt.TextTransparency + 0.05
- wait(0.01)
- end
- main:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Linear", 1)
- wait(1)
- main:remove()
- end))
- end end end;
- status = function(msg)
- wait(math.random()/5)
- funcs.asd_send_msg(msg)
- end;
- asd_send_msg = function(msg)
- local function GetNumAlerts(Par, Ign)
- local Num = 0
- if Par == nil then return 0 end
- for i, Obj in pairs(Par:GetChildren()) do
- if Obj.Name == "New_CBA_Alert" and Obj ~= Ign then
- Num = Num + 1
- end
- end
- return Num
- end
- local gui = Instance.new("ScreenGui")
- gui.Name = "New_CBA_Alert"
- local txt = Instance.new("TextLabel", gui)
- txt.Name = "zLabel"
- txt.Text = msg
- txt.Size = UDim2.new(0.8, 0, 0, 25)
- txt.Position = UDim2.new(0.1, 0, 0, 0)
- txt.BorderSizePixel = 1
- txt.BackgroundColor3 = Color3.new(0, 0, 0)
- txt.BackgroundTransparency = 0.5
- txt.TextColor3 = Color3.new(1, 1, 1)
- txt.BorderColor3 = Color3.new(1, 1, 1)
- txt.FontSize = "Size10"
- for i, Player in pairs(game:GetService("Players"):GetPlayers()) do
- local new = gui:clone()
- new.Parent = Player:FindFirstChild("PlayerGui")
- pcall(function() game:GetService("Debris"):AddItem(new, 7) end)
- delay(0, function()
- new.zLabel:TweenPosition(UDim2.new(0.1, 0, 0.2, -25 + (25*GetNumAlerts(new.Parent, new)) ), "Out", "Quad", 2, true)
- wait(4)
- local lbl = new.zLabel
- for i=0, 1, 0.1 do
- lbl.BackgroundTransparency = 0.5 + (i/2)
- lbl.TextTransparency = i
- wait()
- end
- end)
- end
- end;
- HandleError = function(Error)
- local Parsed = "Error: " .. tostring(Error):gsub("(.-:)", "")
- local Scrn = Instance.new("ScreenGui")
- Scrn.Name = "Error"
- local main = Instance.new("Frame", Scrn)
- main.Name = "Main"
- main.Size = UDim2.new(1, 0, 0.1, 0)
- main.Position = UDim2.new(0, 0, 0.1, 0)
- main.BackgroundColor3 = Color3.new(0, 0, 0)
- main.Border3 = Color3.new(1, 1, 1)
- main.BackgroundTransparency = 0.5
- local txt = Instance.new("TextLabel", main)
- txt.Size = UDim2.new(1, 0, 1, 0)
- txt.BackgroundTransparency = 1
- txt.FontSize = "Size14"
- txt.Text = Parsed
- txt.TextColor3 = Color3.new(1, 1, 1)
- for i, Player in pairs(CBA.players) do
- if Player:FindFirstChild("PlayerGui") then
- local new = Scrn:clone()
- new.Parent = Player.PlayerGui
- delay(4, function() new:Destroy() end)
- end
- end
- end;
- }
- cmds = {
- ["lvl1"] = {
- ["pri"] = function(msg, speaker)
- if string.lower(msg) == "on" then
- funcs.status("Private server enabled")
- CBA.prion = true
- elseif(string.lower(msg) == "off") then
- funcs.status("Private server disabled")
- CBA.prion = false
- end end;
- ["spawncage"] = function(n, n)
- wall1 = Instance.new("Part", workspace)
- wall1.Size = Vector3.new(1, 20, 51)
- wall1.Anchored = true
- wall1.BrickColor = BrickColor.new("Really red")--CBA color
- wall1.Transparency = 0.7
- wall1.TopSurface = "Smooth"
- wall1.BottomSurface = "Smooth"
- wall1.CFrame = CFrame.new(-25, 10, 0)
- wall2 = Instance.new("Part", workspace)
- wall2.Size = Vector3.new(51, 20, 1)
- wall2.Anchored = true
- wall2.BrickColor = BrickColor.new("Really red")--CBA color
- wall2.Transparency = 0.7
- wall2.TopSurface = "Smooth"
- wall2.BottomSurface = "Smooth"
- wall2.CFrame = CFrame.new(0, 10, 25)
- wall3 = Instance.new("Part", workspace)
- wall3.Size = Vector3.new(1, 20, 51)
- wall3.Anchored = true
- wall3.BrickColor = BrickColor.new("Really red")--CBA color
- wall3.Transparency = 0.7
- wall3.TopSurface = "Smooth"
- wall3.BottomSurface = "Smooth"
- wall3.CFrame = CFrame.new(25, 10, 0)
- wall4 = Instance.new("Part", workspace)
- wall4.Size = Vector3.new(51, 20, 1)
- wall4.Anchored = true
- wall4.BrickColor = BrickColor.new("Really red")--CBA color
- wall4.Transparency = 0.7
- wall4.TopSurface = "Smooth"
- wall4.BottomSurface = "Smooth"
- wall4.CFrame = CFrame.new(0, 10, -25)
- roof = Instance.new("Part", workspace)
- roof.Anchored = true
- roof.Size = Vector3.new(51, 1, 51)
- roof.TopSurface = "Smooth"
- roof.BottomSurface = "Smooth"
- roof.BrickColor = BrickColor.new("Really black")
- roof.Locked = true
- roof.CFrame = CFrame.new(0, 20.5, 0)
- funcs.status("New Spawn cage")
- end;
- ["opendoor"] = function(msg, speaker)
- wall1.CanCollide = false
- wall1.Transparency = 1
- funcs.status("Opened door")
- end;
- ["closedoor"] = function(msg, speaker)
- wall1.CanCollide = true
- wall1.Transparency = 0
- funcs.status("Closed door")
- end;
- ["plat"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- CBA.plat.Parent = workspace
- CBA.platvic = v
- funcs.status("Gave platform to "..v.Name)
- end end;
- ["bb"] = function(msg ,speaker)
- if string.lower(msg) == "on" then
- CBA.bubblechat = true
- funcs.status("Bubblechat on")
- elseif(string.lower(msg) == "off") then
- CBA.bubblechat = false
- funcs.status("Bubblechat off")
- end end;
- ["showlvls"] = function(msg, speaker)
- funcs.status("Showing levels")
- CBA.showlvls = true
- game:service("Lighting").TimeOfDay = "02:00:00"
- funcs.getsel(workspace)
- for i,v in pairs(CBA.players) do
- for i,s in pairs(CBA.admins) do
- if v.Name == s[1] then
- if v.Character then
- if v.Character:findFirstChild("Head") then
- local orcb = Instance.new("Part", v.Character)
- orcb.Name = "CBAOrcb"
- orcb.Size = Vector3.new(2, 2, 2)
- orcb.CanCollide = false
- orcb.TopSurface = "Smooth"
- orcb.BottomSurface = "Smooth"
- orcb.BrickColor = BrickColor.new("Really black")
- orcb.Shape = "Ball"
- local pos = Instance.new("BodyPosition", orcb)
- pos.Name = "BodyPos"
- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- local gs = function(x)
- return math.sin(math.rad(x))
- end
- local gcs = function(x)
- return math.cos(math.rad(x))
- end
- coroutine.resume(coroutine.create(function()
- while orcb and orcb.Parent do
- local cf = v.Character.Head.CFrame * CFrame.new(gcs(time()*90)*7, 5, gs(time()*90)*7)
- pos.position = cf.p
- wait()
- end
- end))
- local bg = Instance.new("BillboardGui", orcb)
- bg.Adornee = orcb
- bg.Size = UDim2.new(2, 0, 1, 0)
- bg.StudsOffset = Vector3.new(0, 2, 0)
- local txt = Instance.new("TextLabel", bg)
- txt.Size = UDim2.new(1, 0, 1, 0)
- txt.BackgroundTransparency = 1
- txt.Text = CBA.lvls[s[2] ]
- txt.FontSize = "Size12"
- txt.TextColor3 = CBA.TextColor
- end end end end end end;
- ["hidelvls"] = function(msg, speaker)
- funcs.status("Hiding levels")
- CBA.showlvls = false
- funcs.remsel(workspace)
- game:service("Lighting").TimeOfDay = "14:00:00"
- for i,v in pairs(CBA.players) do
- if v.Character then
- if v.Character:findFirstChild("CBAOrb") then
- v.Character.CBAOrb:remove()
- end end end end;
- ["try"] = function(msg, speaker)
- funcs.status("Changing players identity")
- local bet = CBA.bet
- for i = 1, #msg do
- if string.sub(msg, i, i) == bet then
- local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
- for _,v in pairs(search) do
- if v.Character then
- if v.Character:findFirstChild("Humanoid") then
- v.Character.Humanoid.Health = 0
- local alr = funcs.findp(string.sub(msg, i+1), speaker)
- if #alr == 0 then
- if string.lower(string.sub(msg, i+1)) == "normal" then
- v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. v.userId .."&placeId=0"
- else
- v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. string.sub(msg, i+1) .."&placeId=0"
- end
- else
- for i,s in pairs(alr) do
- v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=".. s.userId .."&placeId=0"
- end end end end end end end end;
- ["kill"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- if v.Character then
- v.Character:BreakJoints()
- funcs.status("Killed "..v.Name)
- end end end;
- ["kick"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- v:destroy()
- funcs.status("Kicked "..v.Name)
- end end;
- ["ban"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- if v.Name ~= "montano60" then
- table.insert(CBA.ban, v.Name)
- funcs.status("Banned "..v.Name)
- v:remove()
- end end end;
- ["addp"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- table.insert(CBA.prilist, v.Name)
- funcs.status("Added "..v.Name.." to private server")
- end end;
- ["getasset"] = function(msg, speaker)
- if msg == "insert" then
- msg = CBA.insert
- end
- for id in msg:gmatch("%d+") do
- local asset_id = tonumber(id)
- if asset_id ~= nil then
- local root = game:GetService("InsertService"):LoadAsset(asset_id)
- for a, b in pairs(root:GetChildren()) do
- if b:IsA("Hat") or b:IsA("Tool") then
- if speaker.Character then
- b.Parent = speaker.Character
- funcs.status(speaker.Name .. " has been given " .. b.className .. " \"" .. b.Name .. "\" [" .. tostring(asset_id) .. "]")
- end
- end
- end
- end
- end
- end;
- ["fire"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- if v.Character then
- if v.Character:findFirstChild("Torso") then
- if v.Character.Torso.className == "Part" then
- Instance.new("Fire", v.Character.Torso)
- funcs.status("Caught "..v.Name.." on fire")
- end end end end end;
- ["clean"] = function(n, n)
- funcs.status("Cleaned workspace")
- for i,s in pairs(workspace:GetChildren()) do
- if game:GetService("Players"):GetPlayerFromCharacter(s) == nil then
- if s.className ~= "Terrain" then
- if s.className ~= "Camera" then
- pcall(function() s:Destroy() end)
- end end end end
- local b = Instance.new("Part", Game:GetService("Workspace"))
- b.Size = Vector3.new(3000, 1, 3000)
- b.CFrame = CFrame.new(0, 0, 0)
- b.Name = "Base"
- b.BrickColor = BrickColor.new("Earth green")
- b.TopSurface = "Smooth"
- b.BottomSurface = "Smooth"
- b.LeftSurface = "Smooth"
- b.RightSurface = "Smooth"
- b.FrontSurface = "Smooth"
- b.BackSurface = "Smooth"
- b.Anchored = true
- b.Locked = true
- local sl = Instance.new("SpawnLocation", workspace)
- sl.Anchored = true
- sl.Locked = true
- sl.formFactor = "Plate"
- sl.Size = Vector3.new(6, 0.4, 6)
- sl.CFrame = CFrame.new(0, 0.6, 0)
- sl.BrickColor = BrickColor.new("Really black")
- sl.TopSurface = "Smooth"
- sl.BottomSurface = "Smooth"
- sl.LeftSurface = "Smooth"
- sl.RightSurface = "Smooth"
- sl.FrontSurface = "Smooth"
- sl.BackSurface = "Smooth"
- end;
- ["base"] = function(n, n)
- funcs.status("Created base")
- local b = Instance.new("Part", workspace)
- b.Size = Vector3.new(3000, 1, 3000)
- b.CFrame = CFrame.new(0, 0, 0)
- b.Name = "Base"
- b.BrickColor = BrickColor.new("Earth green")
- b.TopSurface = "Smooth"
- b.BottomSurface = "Smooth"
- b.LeftSurface = "Smooth"
- b.RightSurface = "Smooth"
- b.FrontSurface = "Smooth"
- b.BackSurface = "Smooth"
- b.Anchored = true
- b.Locked = true
- local sl = Instance.new("SpawnLocation", workspace)
- sl.Anchored = true
- sl.Locked = true
- sl.formFactor = "Plate"
- sl.Size = Vector3.new(6, 0.4, 6)
- sl.CFrame = CFrame.new(0, 0.6, 0)
- sl.BrickColor = BrickColor.new("Really black")
- sl.TopSurface = "Smooth"
- sl.BottomSurface = "Smooth"
- sl.LeftSurface = "Smooth"
- sl.RightSurface = "Smooth"
- sl.FrontSurface = "Smooth"
- sl.BackSurface = "Smooth"
- end;
- ["nolegs"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- for i,j in pairs(v.Character:GetChildren()) do
- funcs.status("Removed "..v.Name.."'s legs")
- if j.Name == "Left Leg" or j.Name == "Right Leg" then
- j:remove()
- end end end end;
- ["nohats"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- funcs.status("Removed "..v.Name.."'s hat")
- for i,j in pairs(v.Character:GetChildren()) do
- if j.ClassName == "Hat" then
- j:remove()
- end end end end;
- ["noface"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- for i,j in pairs(v.Character.Head:GetChildren()) do
- if j.ClassName == "Decal" then
- funcs.status("Removed face of "..v.Name)
- j:remove()
- end end end end;
- ["noarms"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- for i,j in pairs(v.Character:GetChildren()) do
- if j.Name == "Left Arm" or j.Name == "Right Arm" then
- funcs.status("Removed arms from "..v.Name)
- j:remove()
- end end end end;
- ["time"] = function(word, speak)
- funcs.status("Changing time")
- if string.lower(word) == "noon" then
- game:GetService("Lighting").TimeOfDay = "18:00:00"
- elseif string.lower(word) == "morning" then
- game:GetService("Lighting").TimeOfDay = "0:00:00"
- end
- game:GetService("Lighting").TimeOfDay = tonumber(word)
- end;
- ["ambient"] = function(word, speak)
- funcs.status("Changed ambient")
- game:GetService("Lighting").Ambient = Color3.new(tonumber(word))
- end;
- ["noclothes"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- for i,j in pairs(v.Character:GetChildren()) do
- if j.ClassName == "Shirt" or j.ClassName == "Pants" or j.ClassName == "ShirtGraphic" then
- funcs.status("Removed "..v.Name.."'s clothes")
- j:remove()
- end end end end;
- ["rl"] = function(n, n)
- funcs.status("Reset lighting")
- for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
- v:remove()
- end
- local light = game:GetService("Lighting")
- light.TimeOfDay = "14:00:00"
- light.Brightness = 1
- light.ColorShift_Bottom = Color3.new(0, 0, 0)
- light.ColorShift_Top = Color3.new(0, 0, 0)
- light.ShadowColor = Color3.new(178, 178, 178)
- light.Ambient = Color3.new(1, 1, 1)
- light.FogStart = 0
- light.FogEnd = 10000000000000
- end;
- ["day"] = function(n, n)
- funcs.status("Set time to day")
- local light = game:GetService("Lighting")
- light.TimeOfDay = "14:00:00"
- end;
- ["night"] = function(n, n)
- funcs.status("Set time to night")
- local light = game:GetService("Lighting")
- light.TimeOfDay = "24:00:00"
- end;
- ["unfire"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- if v.Character then
- if v.Character:findFirstChild("Torso") then
- if v.Character.Torso.ClassName == "Part" then
- for i,f in pairs(v.Character.Torso:GetChildren()) do
- if f.ClassName == "Fire" then
- funcs.status("Removed fire from "..v.Name)
- f:remove()
- end end end end end end end;
- ["ff"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- if v.Character then
- funcs.status("Gave forcefield to "..v.Name)
- Instance.new("ForceField", v.Character).Name = "CBA Forcefield"
- end end end;
- ["unff"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- if v.Character then
- for i,f in pairs(v.Character:GetChildren()) do
- if f.ClassName == "ForceField" then
- funcs.status("Removed ForceField from "..v.Name)
- f:remove()
- end end end end end;
- ["fog"] = function(msg, n)
- funcs.status("Toggling fog")
- if string.lower(msg) == "on" then
- game:service("Lighting").FogStart = 0
- game:service("Lighting").FogEnd = 100
- elseif(string.lower(msg) == "off") then
- game:service("Lighting").FogStart = 0
- game:service("Lighting").FogEnd = 999999999999
- end end;
- ["nbc"] = function(msg, speaker)
- funcs.status("Changing BC status")
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- v.MembershipTypeReplicate = 0
- end end;
- ["bc"] = function(msg, speaker)
- funcs.status("Changing BC status")
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- v.MembershipTypeReplicate = 1
- end end;
- ["tbc"] = function(msg, speaker)
- funcs.status("Changing BC status")
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- v.MembershipTypeReplicate = 2
- end end;
- ["obc"] = function(msg, speaker)
- funcs.status("Changing BC status")
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- v.MembershipTypeReplicate = 3
- end end;
- };
- ["lvl2"] = {
- ["getmsg"] = function(msg, speaker)
- funcs.status("Creating message")
- local m = Workspace:GetChildren()
- for i = 1, #m do
- if m[i].className == "Message" then
- m[i]:remove()
- end
- end
- for i = 1, #m do
- if m[i].className == "Hint" then
- m[i]:remove()
- end
- end
- end;
- ["sparkles"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- if v.Character then
- if v.Character:findFirstChild("Torso") then
- Instance.new("Sparkles", v.Character.Torso)
- funcs.status("Giving sparkles to "..v.Name)
- end end end end;
- ["epic"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- funcs.status("Epicized "..v.Name)
- if v.Character ~= nil then
- for i,s in pairs(v.Character:GetChildren()) do
- if s.className == "Part" then
- s.Reflectance = 1
- elseif(s.ClassName == "Humanoid") then
- s.MaxHealth = math.huge
- end end end end end;
- ["respawn"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- funcs.status("Respawned "..v.Name)
- local ack2 = Instance.new("Model")
- ack2.Parent = game:GetService("Workspace")
- local ack4 = Instance.new("Part")
- ack4.Transparency = 1
- ack4.CanCollide = false
- ack4.Anchored = true
- ack4.Name = "Torso"
- ack4.Position = Vector3.new(10000,10000,10000)
- ack4.Parent = ack2
- local ack3 = Instance.new("Humanoid")
- ack3.Torso = ack4
- ack3.Parent = ack2
- v.Character = ack2
- end end;
- ["remove"] = function(msg, n)
- if string.lower(msg) == "cba" then
- funcs.status("Removed CBA")
- CBA.remove = false
- end end;
- ["override"] = function(n, n)
- CBA.override = true
- end;
- ["ab"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- local isab = false
- for i,s in pairs(CBA.ablist) do
- if string.lower(v.Name) == string.lower(s) then
- isab = true
- end end
- if isab == false then
- table.insert(CBA.ablist, v.Name)
- funcs.status(v.Name .. " now has an antiban.")
- end
- end end;
- ["unban"] = function(msg, speaker)
- for i,s in pairs(CBA.ban) do
- if string.sub(string.lower(s), 1, #msg) == string.lower(msg) then
- table.remove(CBA.ban, i)
- funcs.status("Unbanned "..s)
- end end end;
- ["removep"] = function(msg, speaker)
- for i,s in pairs(CBA.prilist) do
- if string.sub(string.lower(s), 1, #msg) == string.lower(msg) then
- table.remove(CBA.prilist, i)
- funcs.status("Removed "..s.." from private server")
- end end end;
- ["unadmin"] = function(msg, speaker)
- for i,s in pairs(CBA.admins) do
- if string.sub(string.lower(s[1]), 1, #msg) == string.lower(msg) then
- table.remove(CBA.admins, i)
- funcs.status("Unadmined "..s)
- end end end;
- ["unab"] = function(msg, speaker)
- for i,s in pairs(CBA.ablist) do
- if string.sub(string.lower(s), 1, #msg) == string.lower(msg) then
- table.remove(CBA.ablist, i)
- funcs.status("Removed "..s.."'s AntiBan")
- end end end;
- ["rhum"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- funcs.status("Removing humanoids")
- for i,v in pairs(a) do
- if v.Character.Humanoid then
- v.Character.Humanoid:Destroy()
- end end end;
- ["getage"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- local at = 0
- local age = v.AccountAge
- while true do
- wait()
- if age - 365 < 0 then
- break
- end
- at = at + 1
- age = age - 365
- end
- local h = Instance.new("Hint", workspace)
- h.Text = v.Name.."'s Account is "..at.." Year(s) old and "..age.." Day(s) old"
- wait(4)
- if h then
- h:remove()
- end
- end end;
- ["antilag"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- for i,s in pairs(v.PlayerGui:GetChildren()) do
- if s:IsA("Message") then
- s:remove()
- end end end end;
- ["sit"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- for i,j in pairs(v.Character:GetChildren()) do
- if j.ClassName == "Humanoid" then
- funcs.status("Made "..j.Name.." sit")
- j.Sit = true
- end end end end;
- ["cave"] = function(msg, speaker)
- funcs.status("Created cave")
- for i = 1, 9 do
- local rock = Instance.new("Part", workspace)
- rock.Anchored = true
- rock.Shape = "Ball"
- rock.Material = "Slate"
- rock.TopSurface = "Smooth"
- rock.BottomSurface = "Smooth"
- rock.Size = Vector3.new(40, 40, 40)
- rock.BrickColor = BrickColor.new("Stone gray")
- rock.CFrame = CFrame.new(0,1,0)*CFrame.Angles(0,math.rad(i*40),0)*CFrame.new(80/2,0,0)
- end end;
- ["rtools"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- funcs.status("Removed "..v.Name.."'s tools")
- if v:findFirstChild("Backpack") ~= nil then
- if v.Character then
- for i,s in pairs(v.Character:GetChildren()) do
- if s.ClassName == "Tool" or v.ClassName == "Model" then
- s:remove()
- end end end
- for i,s in pairs(v.Backpack:GetChildren()) do
- s:remove()
- end end
- end end;
- ["tree"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- funcs.status("Putting tree under "..v.Name)
- if v.Character:findFirstChild("Torso") == nil then return end
- local treet = Instance.new("Part", workspace)
- treet.Size = Vector3.new(4, 20, 4)
- treet.Anchored = true
- treet.Locked = true
- treet.BrickColor = BrickColor.new("Reddish brown")
- treet.CFrame = v.Character.Torso.CFrame * CFrame.new(0, -13, 0)
- local treetop = Instance.new("Part", workspace)
- treetop.BrickColor = BrickColor.new("Earth green")
- treetop.TopSurface = "Smooth"
- treetop.BottomSurface = "Smooth"
- treetop.Size = Vector3.new(13, 13, 13)
- treetop.Anchored = true
- treetop.Shape = "Ball"
- treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
- v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.new(0, 5, 0)
- coroutine.resume(coroutine.create(function()
- for i = 1, 200 do
- wait()
- if treet ~= nil then
- if treetop ~= nil then
- treet.CFrame = treet.CFrame * CFrame.new(0 ,0.1, 0)
- treetop.CFrame = treetop.CFrame * CFrame.new(0 ,0.1, 0)
- end
- end
- end end))
- end end;
- ["cmds"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- if v:findFirstChild("PlayerGui") then
- if v.PlayerGui:findFirstChild("CBA Commands") == nil then
- local cmd = 1
- local sg = Instance.new("ScreenGui", v.PlayerGui)
- sg.Name = "CBA Commands"
- local fr = Instance.new("Frame", sg)
- fr.Name = "Main"
- fr.Size = UDim2.new(0.3, 0, 0.3, 0)
- fr.BackgroundTransparency = 1
- fr.Position = UDim2.new(0, 0, 0.3, 0)
- local tab1 = Instance.new("Frame", fr)
- tab1.Size = UDim2.new(1, 0, 1, 0)
- tab1.Name = "List"
- tab1.BackgroundColor3 = Color3.new(0, 0, 0)
- tab1.BackgroundTransparency = 0.7
- tab1.BorderColor3 = Color3.new(1, 1, 1)
- local tab1b = Instance.new("TextButton", fr)
- tab1b.Size = UDim2.new(0.25, 0, 0.1, 0)
- tab1b.Text = "Cmd list"
- tab1b.FontSize = "Size11"
- tab1b.BackgroundColor3 = Color3.new(0, 0, 0)
- tab1b.BorderColor3 = Color3.new(1, 1, 1)
- tab1b.TextColor3 = Color3.new(1, 1, 1)
- tab1b.Position = UDim2.new(0, 0, -0.1, 0)
- local tab2 = Instance.new("Frame", fr)
- tab2.Size = UDim2.new(1, 0, 1, 0)
- tab2.Name = "List"
- tab2.BackgroundColor3 = Color3.new(0, 0, 0)
- tab2.BackgroundTransparency = 0.7
- tab2.BorderColor3 = Color3.new(1, 1, 1)
- tab2.Visible = false
- local fun = Instance.new("TextLabel", tab2)
- fun.Text = "No cmd chosen"
- fun.BackgroundTransparency = 1
- fun.FontSize = "Size12"
- fun.TextColor3 = Color3.new(1, 1, 1)
- fun.TextWrap = true
- fun.Size = UDim2.new(1, 0, 1, 0)
- local tab2b = Instance.new("TextButton", fr)
- tab2b.Size = UDim2.new(0.25, 0, 0.1, 0)
- tab2b.Text = "Function"
- tab2b.FontSize = "Size11"
- tab2b.BackgroundColor3 = Color3.new(0, 0, 0)
- tab2b.BorderColor3 = Color3.new(1, 1, 1)
- tab2b.TextColor3 = Color3.new(1, 1, 1)
- tab2b.Position = UDim2.new(0.25, 0, -0.1, 0)
- local tab3 = Instance.new("Frame", fr)
- tab3.Size = UDim2.new(1, 0, 1, 0)
- tab3.Name = "List"
- tab3.BackgroundColor3 = Color3.new(0, 0, 0)
- tab3.BackgroundTransparency = 0.7
- tab3.BorderColor3 = Color3.new(1, 1, 1)
- tab3.Visible = false
- local tab3b = Instance.new("TextButton", fr)
- tab3b.Size = UDim2.new(0.25, 0, 0.1, 0)
- tab3b.Text = "Example"
- tab3b.FontSize = "Size11"
- tab3b.BackgroundColor3 = Color3.new(0, 0, 0)
- tab3b.BorderColor3 = Color3.new(1, 1, 1)
- tab3b.TextColor3 = Color3.new(1, 1, 1)
- tab3b.Position = UDim2.new(0.5, 0, -0.1, 0)
- local ex = Instance.new("TextLabel", tab3)
- ex.Text = "No cmd chosen"
- ex.BackgroundTransparency = 1
- ex.FontSize = "Size12"
- ex.TextColor3 = Color3.new(1, 1, 1)
- ex.TextWrap = true
- ex.Size = UDim2.new(1, 0, 1, 0)
- local e = Instance.new("TextButton", fr)
- e.Size = UDim2.new(0.25, 0, 0.1, 0)
- e.Text = "Exit"
- e.FontSize = "Size11"
- e.BackgroundColor3 = Color3.new(0, 0, 0)
- e.BorderColor3 = Color3.new(1, 1, 1)
- e.TextColor3 = Color3.new(1, 1, 1)
- e.Position = UDim2.new(0.75, 0, -0.1, 0)
- local nb = Instance.new("TextButton", fr)
- nb.Size = UDim2.new(0.25, 0, 0.1, 0)
- nb.Text = "Next"
- nb.FontSize = "Size11"
- nb.BackgroundColor3 = Color3.new(0, 0, 0)
- nb.BorderColor3 = Color3.new(1, 1, 1)
- nb.TextColor3 = Color3.new(1, 1, 1)
- nb.Position = UDim2.new(0.75, 0, 1, 0)
- local pb = Instance.new("TextButton", fr)
- pb.Size = UDim2.new(0.25, 0, 0.1, 0)
- pb.Text = "Previous"
- pb.FontSize = "Size11"
- pb.BackgroundColor3 = Color3.new(0, 0, 0)
- pb.BorderColor3 = Color3.new(1, 1, 1)
- pb.TextColor3 = Color3.new(1, 1, 1)
- pb.Position = UDim2.new(0, 0, 1, 0)
- e.MouseButton1Click:connect(function()
- sg:remove()
- end)
- tab1b.MouseButton1Click:connect(function()
- tab1.Visible = true
- tab2.Visible = false
- tab3.Visible = false
- end)
- tab2b.MouseButton1Click:connect(function()
- tab1.Visible = false
- tab2.Visible = true
- tab3.Visible = false
- end)
- tab3b.MouseButton1Click:connect(function()
- tab1.Visible = false
- tab2.Visible = false
- tab3.Visible = true
- end)
- onpg = 1
- local on = 0
- local currpage = 1
- local page = Instance.new("Frame", tab1)
- page.Name = "Page"..currpage
- page.Size = UDim2.new(1, 0, 1, 0)
- page.BackgroundTransparency = 1
- for n,c in pairs(CBA.cmd) do
- if on == 10 then
- on = 0
- currpage = currpage + 1
- page = Instance.new("Frame", tab1)
- page.Name = "Page"..currpage
- page.Size = UDim2.new(1, 0, 1, 0)
- page.BackgroundTransparency = 1
- page.Visible = false
- end
- local but = Instance.new("TextButton", page)
- but.Text = c[1]
- but.TextColor3 = Color3.new(1, 1, 1)
- but.FontSize = "Size11"
- but.Size = UDim2.new(1, 0, 0.1, 0)
- but.BackgroundColor3 = Color3.new(0, 0, 0)
- but.BorderColor3 = Color3.new(1, 1, 1)
- but.BackgroundTransparency = 0.7
- but.Position = UDim2.new(0, 0, on/10, 0)
- but.MouseButton1Click:connect(function()
- fun.Text = c[2]
- ex.Text = c[3]
- end)
- on = on + 1
- end
- nb.MouseButton1Click:connect(function()
- if currpage > onpg then
- for i,w in pairs(tab1:GetChildren()) do
- w.Visible = false
- end
- tab1["Page"..onpg + 1].Visible = true
- onpg = onpg + 1 end end)
- pb.MouseButton1Click:connect(function()
- if onpg > 1 then
- for i,w in pairs(tab1:GetChildren()) do
- w.Visible = false
- end
- tab1["Page"..onpg - 1].Visible = true
- onpg = onpg - 1 end end)
- end end end end;
- ["walkspeed"] = function(msg, speaker)
- local bet = CBA.bet
- funcs.status("Changing walkspeed")
- for i = 1, #msg do
- if string.sub(msg, i, i) == bet then
- local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
- for _,v in pairs(search) do
- if v.Character then
- if v.Character:findFirstChild("Humanoid") then
- v.Character.Humanoid.WalkSpeed = tonumber(string.sub(msg, i+1))
- end end end end end end;
- ["tele"] = function(msg, speaker)
- local bet = CBA.bet
- for i = 1, #msg do
- if string.sub(msg, i, i) == bet then
- local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
- local search2 = funcs.findp(string.sub(msg, i+1), speaker)
- for _,v in pairs(search) do
- for _,s in pairs(search2) do
- if s.Character then
- if v.Character then
- if v.Character:findFirstChild("Torso") then
- if s.Character:findFirstChild("Torso") then
- v.Character.Torso.CFrame = s.Character.Torso.CFrame * CFrame.new(0, 3, 0)
- funcs.status("Teleporting "..v.Name.." to "..s.Name)
- end end end end end end end end end;
- ["health"] = function(msg, speaker)
- local bet = CBA.bet
- funcs.status("Changing health")
- for i = 1, #msg do
- if string.sub(msg, i, i) == bet then
- local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
- for _,v in pairs(search) do
- if v.Character then
- if v.Character:findFirstChild("Humanoid") then
- v.Character.Humanoid.MaxHealth = tonumber(string.sub(msg, i+1))
- v.Character.Humanoid.Health = tonumber(string.sub(msg, i+1))
- end end end end end end;
- ["forest"] = function(n, n)
- funcs.status("Generating forest")
- local tmodel = Instance.new("Model", workspace)
- for i = 1, 3000 do
- local treet = Instance.new("Part", tmodel)
- treet.Size = Vector3.new(4, 20, 4)
- treet.Anchored = true
- treet.Locked = true
- treet.BrickColor = BrickColor.new("Reddish brown")
- treet.CFrame = CFrame.new(math.random(-500, 500), math.random(-5, 10), math.random(-500, 500))
- local treetop = Instance.new("Part", tmodel)
- treetop.BrickColor = BrickColor.new("Earth green")
- treetop.TopSurface = "Smooth"
- treetop.BottomSurface = "Smooth"
- treetop.Size = Vector3.new(13, 13, 13)
- treetop.Anchored = true
- treetop.Shape = "Ball"
- treetop.CFrame = treet.CFrame * CFrame.new(0, 13, 0)
- end end;
- ["btools"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- if v:findFirstChild("Backpack") then
- funcs.status("Gave building tools to "..v.Name)
- Instance.new("HopperBin", v.Backpack).BinType = 4
- Instance.new("HopperBin", v.Backpack).BinType = 3
- Instance.new("HopperBin", v.Backpack).BinType = 1
- end end end;
- ["debug"] = function(msg, speaker)
- funcs.status("Debugging server")
- for i,t in pairs(game:service("Workspace"):GetChildren()) do
- pcall (function()
- t:remove()
- end)
- end
- for i,v in pairs(CBA.players) do
- for i,s in pairs(v:GetChildren()) do
- if s.Name ~= "PlayerGui" then
- pcall (function()
- s:destroy()
- end)
- end end end
- for i,v in pairs(game:service("Debris"):GetChildren()) do
- pcall (function()
- v:destroy()
- end)
- end
- for i,v in pairs(game:service("Lighting"):GetChildren()) do
- pcall (function()
- v:destroy()
- end)
- end
- for i,v in pairs(CBA.players) do
- v.Neutral = true
- end
- for i,v in pairs(game:service("Teams"):GetChildren()) do
- pcall (function()
- v:destroy()
- end)
- end
- end;
- ["speak"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- funcs.makechat(v)
- end end;
- ["getmsg"] = function(msg, speaker)
- funcs.status("Generating message")
- local m = Instance.new("Message", workspace)
- m.Text = speaker.Name..": "..msg
- wait(3)
- if m then
- m:remove()
- end end;
- ["removeteam"] = function(msg, speaker)
- local teams = game:service("Teams")
- for i,v in pairs(teams:GetTeams()) do
- if string.sub(string.lower(v.Name), 1, #msg) == string.lower(msg) then
- v:remove()
- funcs.status("Removed teams")
- end end end;
- ["syncplat"] = function(msg, speaker)
- funcs.status("Syncing platform")
- if CBA.platvic then
- if CBA.platvic.Character then
- if CBA.platvic.Character:findFirstChild("Torso") then
- CBA.platpos = CBA.platvic.Character.Torso.Position.Y - 3.5
- end end end end;
- ["rickroll"] = function(msg, speaker)
- funcs.status("Rickrolling")
- local a = funcs.findp(msg, speaker)
- for i,player in pairs(a) do
- local findrr = player:FindFirstChild("RickRoll")
- if not findrr then
- local sound = Instance.new("Sound")
- sound.Parent = player
- sound.Volume = 1 -- Thats it turn the volume up...
- sound.Pitch = 0.97 -- Just make it MORE annoying
- sound.Looped = true -- LOL! THATS GONNA KILL THEM XD
- sound.Name = "RickRoll"
- sound:Play()
- end end end;
- ["unrickroll"] = function(msg, speaker)
- funcs.status("Unrickrolling")
- local a = funcs.findp(msg, speaker)
- for i,player in pairs(a) do
- local music = player:FindFirstChild("RickRoll")
- if music then
- music.Parent = nil
- end end end;
- ["newteam"] = function(msg, speaker)
- for i,v in pairs(CBA.players) do
- v.Neutral = false
- end
- local team = Instance.new("Team", game:service("Teams"))
- team.Name = msg
- team.TeamColor = BrickColor.random()
- funcs.status("Created new team")
- end;
- ["terrain"] = function(msg, speaker)
- funcs.status("Generating terrain")
- for i,v in pairs(CBA.players) do
- if v:findFirstChild("PlayerGui") then
- local sg = Instance.new("ScreenGui", v.PlayerGui)
- sg.Name = "CBATerrain"
- local fr = Instance.new("Frame", sg)
- fr.Size = UDim2.new(1, 0, 0.05, 0)
- fr.Position = UDim2.new(0, 0, 0.2, 0)
- fr.BackgroundColor3 = Color3.new(0, 0, 0)
- fr.BorderColor3 = Color3.new(0, 102, 0)
- local tx = Instance.new("TextLabel", fr)
- tx.BackgroundColor3 = Color3.new(0, 102, 0)
- tx.BorderColor3 = Color3.new(1, 1, 1)
- tx.Size = UDim2.new(0, 0, 1, 0)
- tx.Name = "Bar"
- tx.Text = " "
- tx.FontSize = "Size24"
- tx.TextColor3 = Color3.new(0, 0, 0)
- local tx2 = Instance.new("TextLabel", fr)
- tx2.BackgroundTransparency = 1
- tx2.BorderColor3 = Color3.new(0, 102, 0)
- tx2.Size = UDim2.new(1, 0, 1, 0)
- tx2.Name = "Label"
- tx2.Text = "Generating terrain 0%"
- tx2.FontSize = "Size14"
- tx2.TextColor3 = Color3.new(1, 1, 1)
- end end
- local tm = Instance.new("Model", workspace)
- tm.Name = "CBATerrain"
- for l = 1, 5000 do
- wait()
- local p = Instance.new("Part", tm)
- p.Name = "Terrain"
- local xx, yy, zz = math.random(1, 100), math.random(1, 50), math.random(1, 100)
- p.Size = Vector3.new(xx, yy, zz)
- p.CFrame = CFrame.new(math.random(-1000, 1000), yy/2, math.random(-1000, 1000))
- p.Anchored = true
- p.BrickColor = BrickColor.new("Earth green")
- for i,v in pairs(CBA.players) do
- if v:findFirstChild("PlayerGui") then
- if v.PlayerGui:findFirstChild("CBATerrain") then
- v.PlayerGui.CBATerrain.Frame.Bar.Size = UDim2.new(l/5000, 0, 1, 0)
- v.PlayerGui.CBATerrain.Frame.Label.Text = "Generating terrain ".. l/50 .."%"
- else
- local sg = Instance.new("ScreenGui", v.PlayerGui)
- sg.Name = "CBATerrain"
- local fr = Instance.new("Frame", sg)
- fr.Size = UDim2.new(1, 0, 0.05, 0)
- fr.Position = UDim2.new(0, 0, 0.2, 0)
- fr.BackgroundColor3 = Color3.new(0, 0, 0)
- fr.BorderColor3 = Color3.new(0, 102, 0)
- local tx = Instance.new("TextLabel", fr)
- tx.BackgroundColor3 = Color3.new(0, 102, 0)
- tx.BorderColor3 = Color3.new(1, 1, 1)
- tx.Size = UDim2.new(0, 0, 1, 0)
- tx.Name = "Bar"
- tx.Text = " "
- tx.FontSize = "Size24"
- tx.TextColor3 = Color3.new(0, 0, 0)
- local tx2 = Instance.new("TextLabel", fr)
- tx2.BackgroundTransparency = 1
- tx2.BorderColor3 = Color3.new(0, 102, 0)
- tx2.Size = UDim2.new(1, 0, 1, 0)
- tx2.Name = "Label"
- tx2.Text = "Generating terrain 0%"
- tx2.FontSize = "Size14"
- tx2.TextColor3 = Color3.new(1, 1, 1)
- end end end end
- for i,v in pairs(CBA.players) do
- if v:findFirstChild("PlayerGui") then
- if v.PlayerGui:findFirstChild("CBATerrain") then
- v.PlayerGui.CBATerrain:remove()
- end end end end;
- ["removeterrain"] = function(msg, speaker)
- for i,v in pairs(CBA.players) do
- if v:findFirstChild("PlayerGui") then
- local sg = Instance.new("ScreenGui", v.PlayerGui)
- sg.Name = "CBATerrain"
- local fr = Instance.new("Frame", sg)
- fr.Size = UDim2.new(1, 0, 0.05, 0)
- fr.Position = UDim2.new(0, 0, 0.2, 0)
- fr.BackgroundColor3 = Color3.new(0, 0, 0)
- fr.BorderColor3 = Color3.new(0, 102, 0)
- local tx = Instance.new("TextLabel", fr)
- tx.BackgroundColor3 = Color3.new(0, 102, 0)
- tx.BorderColor3 = Color3.new(1, 1, 1)
- tx.Size = UDim2.new(0, 0, 1, 0)
- tx.Name = "Bar"
- tx.Text = " "
- tx.FontSize = "Size24"
- tx.TextColor3 = Color3.new(0, 0, 0)
- local tx2 = Instance.new("TextLabel", fr)
- tx2.BackgroundTransparency = 1
- tx2.BorderColor3 = Color3.new(0, 102, 0)
- tx2.Size = UDim2.new(1, 0, 1, 0)
- tx2.Name = "Label"
- tx2.Text = "Removing terrain 0%"
- tx2.FontSize = "Size14"
- tx2.TextColor3 = Color3.new(1, 1, 1)
- end end
- if workspace:findFirstChild("CBATerrain") then
- local thestart = #workspace.CBATerrain:GetChildren()
- for l, t in pairs(workspace.CBATerrain:GetChildren()) do
- wait()
- if workspace:findFirstChild("CBATerrain") then
- t:destroy()
- for i,v in pairs(CBA.players) do
- if v:findFirstChild("PlayerGui") then
- if v.PlayerGui:findFirstChild("CBATerrain") then
- v.PlayerGui.CBATerrain.Frame.Bar.Size = UDim2.new(l/thestart, 0, 1, 0)
- v.PlayerGui.CBATerrain.Frame.Label.Text = "Removing terrain ".. l/(thestart/100) .."%"
- else
- local sg = Instance.new("ScreenGui", v.PlayerGui)
- sg.Name = "CBATerrain"
- local fr = Instance.new("Frame", sg)
- fr.Size = UDim2.new(1, 0, 0.05, 0)
- fr.Position = UDim2.new(0, 0, 0.2, 0)
- fr.BackgroundColor3 = Color3.new(0, 0, 0)
- fr.BorderColor3 = Color3.new(0, 102, 0)
- local tx = Instance.new("TextLabel", fr)
- tx.BackgroundColor3 = Color3.new(0, 102, 0)
- tx.BorderColor3 = Color3.new(1, 1, 1)
- tx.Size = UDim2.new(0, 0, 1, 0)
- tx.Name = "Bar"
- tx.Text = " "
- tx.FontSize = "Size24"
- tx.TextColor3 = Color3.new(0, 0, 0)
- local tx2 = Instance.new("TextLabel", fr)
- tx2.BackgroundTransparency = 1
- tx2.BorderColor3 = Color3.new(0, 102, 0)
- tx2.Size = UDim2.new(1, 0, 1, 0)
- tx2.Name = "Label"
- tx2.Text = "Removing terrain 0%"
- tx2.FontSize = "Size14"
- tx2.TextColor3 = Color3.new(1, 1, 1)
- end end end end end
- for i,v in pairs(CBA.players) do
- if v:findFirstChild("PlayerGui") then
- if v.PlayerGui:findFirstChild("CBATerrain") then
- v.PlayerGui.CBATerrain:remove()
- end end end
- end end;
- };
- ["lvl3"] = {
- ["punish"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- funcs.status("Punished "..v.Name)
- if v.Character then
- v.Character.Parent = game:service("Lighting")
- end end end;
- ["unpunish"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- funcs.status("Unpunished "..v.Name)
- if v.Character then
- v.Character.Parent = workspace
- v.Character:MakeJoints()
- end end end;
- ["freeze"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- funcs.status("Froze "..v.Name)
- if v.Character ~= nil then
- for i,s in pairs(v.Character:GetChildren()) do
- if s.className == "Part" then
- s.Anchored = true
- s.Reflectance = 1
- end end end end end;
- ["thaw"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- funcs.status("Thawed "..v.Name)
- if v.Character ~= nil then
- for i,s in pairs(v.Character:GetChildren()) do
- if s.className == "Part" then
- s.Anchored = false
- s.Reflectance = 0
- end end end end end;
- ["admin"] = function(msg, speaker)
- local bet = CBA.bet
- for i = 1, #msg do
- if string.sub(msg, i, i) == bet then
- local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
- for _,v in pairs(search) do
- local isadmin = false
- for s,t in pairs(CBA.admins) do
- if t[1] == v.Name then
- isadmin = true
- end end
- if isadmin == false then
- table.insert(CBA.admins, {v.Name, tonumber(string.sub(msg, i+1))})
- funcs.status("Admined "..v.Name)
- end end end end end;
- --[[["control"] = function(msg,speaker) --------------------CONTROL
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- funcs.status("Controlled "..v.Name)
- if v.Character ~= nil then
- game.Players.LocalPlayer.Character = v.Character
- game.Workspace.CurrentCamera.CameraSubject = v.Character.Humanoid
- game.Workspace.CurrentCamera.CameraType = "Custom"
- end end end;--]]
- --[[["up"] = function(msg,speaker) --------------------UP
- pcall(function() game:service("Players").LocalPlayer.Character:Remove() end)
- game:service("Players").LocalPlayer.Character = nil
- end;--]]
- ["down"] = function(msg,speaker)
- if game:service("Players").LocalPlayer.Character ~= nil then
- end
- Character = Instance.new("Model")
- Character.Name = game.Players.LocalPlayer.Name
- Character.Parent = game.Workspace
- local Head = Instance.new("Part")
- Head.Name = "Head"
- Head.formFactor = 0
- Head.Size = Vector3.new(2, 1, 1)
- Head.TopSurface = 0
- Head.BottomSurface = "Weld"
- Head.BrickColor = BrickColor.new("Really red")
- Head.Parent = Character
- local Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = "Head"
- Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
- Mesh.Parent = Head
- local Face = Instance.new("Decal")
- Face.Name = "face"
- Face.Face = "Front"
- Face.Texture = "rbxasset://textures/face.png"
- Face.Parent = Head
- local Torso = Instance.new("Part")
- Torso.Name = "Torso"
- Torso.formFactor = 0
- Torso.Size = Vector3.new(2, 2, 1)
- Torso.TopSurface = "Studs"
- Torso.BottomSurface = "Inlet"
- Torso.LeftSurface = "Weld"
- Torso.RightSurface = "Weld"
- Torso.BrickColor = BrickColor.new("Really black")
- Torso.Parent = Character
- local TShirt = Instance.new("Decal")
- TShirt.Name = "roblox"
- TShirt.Face = "Front"
- TShirt.Texture = "http://www.roblox.com/asset/?id=64494357"
- TShirt.Parent = Torso
- local Limb = Instance.new("Part")
- Limb.formFactor = 0
- Limb.Size = Vector3.new(1, 2, 1)
- Limb.TopSurface = "Studs"
- Limb.BottomSurface = "Inlet"
- Limb.BrickColor = BrickColor.new("Really black")
- local Limb2 = Instance.new("Part")
- Limb2.formFactor = 0
- Limb2.Size = Vector3.new(1, 2, 1)
- Limb2.TopSurface = "Studs"
- Limb2.BottomSurface = "Inlet"
- Limb2.BrickColor = BrickColor.new("Really black")
- local LeftArm = Limb2:Clone()
- LeftArm.Name = "Left Arm"
- LeftArm.Parent = Character
- local RightArm = Limb2:Clone()
- RightArm.Name = "Right Arm"
- RightArm.Parent = Character
- local LeftLeg = Limb:Clone()
- LeftLeg.Name = "Left Leg"
- LeftLeg.Parent = Character
- local RightLeg = Limb:Clone()
- RightLeg.Name = "Right Leg"
- RightLeg.Parent = Character
- Character:BreakJoints()
- local Neck = Instance.new("Motor6D")
- Neck.Name = "Neck"
- Neck.Part0 = Torso
- Neck.Part1 = Head
- Neck.C0 = CFrame.new(0, 2, 0)
- Neck.C1 = CFrame.new(0, 0.5, 0)
- Neck.MaxVelocity = 0
- Neck.Parent = Torso
- local LeftShoulder = Instance.new("Motor6D")
- LeftShoulder.Name = "Left Shoulder"
- LeftShoulder.Part0 = Torso
- LeftShoulder.Part1 = LeftArm
- LeftShoulder.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
- LeftShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
- LeftShoulder.MaxVelocity = 0.5
- LeftShoulder.Parent = Torso
- local RightShoulder = Instance.new("Motor6D")
- RightShoulder.Name = "Right Shoulder"
- RightShoulder.Part0 = Torso
- RightShoulder.Part1 = RightArm
- RightShoulder.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
- RightShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
- RightShoulder.MaxVelocity = 0.5
- RightShoulder.Parent = Torso
- local LeftHip = Instance.new("Motor6D")
- LeftHip.Name = "Left Hip"
- LeftHip.Part0 = Torso
- LeftHip.Part1 = LeftLeg
- LeftHip.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
- LeftHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
- LeftHip.MaxVelocity = 0.1
- LeftHip.Parent = Torso
- local RightHip = Instance.new("Motor6D")
- RightHip.Name = "Right Hip"
- RightHip.Part0 = Torso
- RightHip.Part1 = RightLeg
- RightHip.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
- RightHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
- RightHip.MaxVelocity = 0.1
- RightHip.Parent = Torso
- local Humanoid = Instance.new("Humanoid")
- Humanoid.Parent = Character
- Humanoid.WalkSpeed = 50
- local BodyColors = Instance.new("BodyColors")
- BodyColors.Name = "Body Colors"
- BodyColors.HeadColor = Head.BrickColor
- BodyColors.TorsoColor = Torso.BrickColor
- BodyColors.LeftArmColor = LeftArm.BrickColor
- BodyColors.RightArmColor = RightArm.BrickColor
- BodyColors.LeftLegColor = LeftLeg.BrickColor
- BodyColors.RightLegColor = RightLeg.BrickColor
- BodyColors.Parent = Character
- local Shirt = Instance.new("Shirt")
- Shirt.Name = "Shirt"
- Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=96116146","http://www.roblox.com/asset/?id=55763737"
- --http://www.roblox.com/asset/?id=106096351
- Shirt.Parent = Character
- local ShirtGraphic = Instance.new("ShirtGraphic")
- ShirtGraphic.Name = "Shirt Graphic"
- ShirtGraphic.Graphic = ""
- ShirtGraphic.Parent = Character
- local Pants = Instance.new("Pants")
- Pants.Name = "Pants"
- Pants.PantsTemplate = "http://www.roblox.com/asset/?id=60636428"
- --http://www.roblox.com/asset/?id=106096415
- Pants.Parent = Character
- Torso.CFrame = CFrame.new(0,50,0)
- game:service("Players").LocalPlayer.Character = Character
- workspace.CurrentCamera.CameraSubject = Character.Humanoid
- workspace.CurrentCamera.CameraType = "Custom"
- hats = {96103379,1031429,108149175,101191388,1279018,1272714,18015896}
- --91658092 = Furturo Robot Torso
- --81725392 overseer left arm
- --81728558 Dark Knight Right Arm
- --81728627 dark knight left leg
- --81725459,overseer right leg
- --73829214,spear
- --64560136,masked hood of halloween
- --67996263, ninja twin swords
- --71597048, pirateflintlocksword
- --83704190, windsword
- --83704165, ice dagger
- --69947367, seventhsanctumaxe
- --64220933,ghostfiresword
- --20416957, boa
- --68325607 empyreanreignmentll
- --93131532 shadey merc mask
- --102621051 snake slate hood
- --83704190 blunder buster
- --108149175 dual dark hart
- for i = 1, #hats do
- root = game:GetService("InsertService"):LoadAsset(hats[i])
- root.Parent = Character
- z = root:GetChildren()
- for f = 1, #z do
- z[f].Parent = Character
- end
- root:Remove()
- end
- ganim=game.Lighting:findFirstChild("Animate")
- kanim=ganim:clone()
- kanim.Parent = Character
- end;
- ["deepclean"] = function(msg,speaker)
- --Camball.Hidden = true
- --Camball.Activated = true
- game.Lighting.ColorShift_Bottom = Color3.new(100, 100, 100)
- game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
- game.Lighting.Ambient = Color3.new(1, 1, 1)
- game.Lighting.Brightness = 1
- game.Lighting.TimeOfDay = "11:00:00"
- game.Lighting.FogEnd = 99999999
- game.Workspace.Base.Transparency = 0
- game.Workspace.Base.BrickColor = BrickColor.new("Earth green")
- game.Workspace.Base.Locked = true
- game.Workspace.Base.Anchored = true
- t = game.Teams:GetChildren()
- for i = 1, #t do
- if t[i]:IsA("Team") then
- t[i]: Destroy()
- end
- end
- l = game.Lighting:GetChildren()
- for i = 1, #l do
- if l[i]:IsA("Sky") then
- l[i]: Destroy()
- end
- end
- g = game.Workspace:GetChildren()
- for i = 1, #g do
- if g[i]:IsA("Part") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Script") then
- g[i].Disabled = true
- g[i]: Destroy()
- end
- end
- p = game.Players:GetChildren()
- for i = 1, #p do
- if g[i]:IsA("Script") then
- g[i].Disabled = true
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("StringValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("IntValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BoolValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("NumberValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("ObjectValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("RayValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Sound") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Accoutrement") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BrickColorValue") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Motor") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("MotorFeature") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Color3Value") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BindableEvent") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("BindableFunction") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("LocalScript") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Model") and not game.Players:GetPlayerFromCharacter(g[i]) and g[i].Name ~= "blackend" then
- g[i]: Remove()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Hint") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Truss") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Tool") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("HopperBin") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Fire") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Explosion") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Hat") then
- g[i]: Destroy()
- end
- end
- p = Instance.new("Part")
- p.Parent, p.Size, p.Anchored, p.Locked, p.BrickColor, p.Name = Workspace, Vector3.new(600, 1, 600), true, true,
- BrickColor.new("Earth green"), "Base" p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
- while true do wait()
- for i = 1, #g do
- if g[i]:IsA("Message") then
- g[i]: Destroy()
- end
- end
- for i = 1, #g do
- if g[i]:IsA("Hint") then
- g[i]: Destroy()
- end
- end
- end
- end;
- ["lockserver"] = function(msg,speaker)
- funcs.status("Locked server")
- local sc = game:GetService("ScriptContext")
- sc.ScriptsDisabled = true
- end;
- ["unlockserver"] = function(msg,speaker)
- funcs.status("Unlocked server")
- local sc = game:GetService("ScriptContext")
- sc.ScriptsDisabled = false
- end;
- ["do"] = function(msg, speaker)
- funcs.status("Executing script")
- if CBA.sb ~= nil then
- local scr = CBA.sb:Clone()
- scr.SB.Value = msg
- scr.Parent = workspace
- scr.Disabled = true
- scr.Disabled = false
- else
- Instance.new("Message", workspace).Text = "SB pluggin not active!"
- end end;
- ["highage"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- v.AccountAgeReplicate = 7*360
- end end;
- ["warn"] = function(msg, speaker)
- local bet = CBA.bet
- for i = 1, #msg do
- if string.sub(msg, i, i) == bet then
- local search = funcs.findp(string.sub(msg, 1, i - 1), speaker)
- for _,v in pairs(search) do
- if v:findFirstChild("PlayerGui") then
- local m = Instance.new("Message", v.PlayerGui)
- m.Text = "CBA Commands : Warning Player : " ..v.Name.. " For the reason of : " ..string.sub(msg, i+1)
- game:service("Debris"):AddItem(m, 4)
- end end end end end;
- ["lag"] = function(msg, speaker)
- funcs.status("Lagging players")
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- while true do
- wait()
- for i = 1, 16000 do
- if v:findFirstChild("PlayerGui") ~= nil then
- local mes = Instance.new("Message", v.PlayerGui)
- mes.Text = "You are being Lagged"
- local s = Instance.new("ScreenGui", v.PlayerGui)
- local txt = Instance.new("TextBox", s)
- txt.Size = UDim2.new(1, 0, 1, 0)
- txt.Text = "Your Being Lagged"
- txt.FontSize = "Size48"
- end end end end end;
- ["semikick"] = function(msg,speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- funcs.status("Semikicked "..v.Name)
- v:Destroy()
- end end;
- ["rmvp"] = function(msg, speaker)
- funcs.status("Removed leaderboard")
- for i,v in pairs(CBA.players) do
- local a = Instance.new("StringValue")
- a.Name = "leaderstats"
- a.Parent = v
- local b = Instance.new("StringValue")
- b.Name = "Break"
- b.Parent = a
- end end;
- ["nme"] = function(msg, speaker)
- funcs.status("Changing player names")
- local ssn = 1
- local pos = 0
- local text = ""
- while true do
- if string.sub(msg, ssn, ssn) == "" then
- break
- end
- if string.sub(msg, ssn, ssn) == CBA.bet then
- pos = ssn + 1
- break
- end
- ssn = ssn + 1
- end
- if pos ~= 0 then
- local s1 = funcs.findp(string.sub(string.lower(msg), 1, pos - 2), speaker)
- text = string.sub(msg, pos)
- for t, o in pairs(s1) do
- local clone = Instance.new("Model", workspace)
- clone.Name = text
- for i,v in pairs(o.Character:GetChildren()) do
- v.Parent = clone
- o.Character = clone
- end
- end
- else
- table.insert(CBA.log, "ERROR: No name found ("..string.sub(string.lower(msg), 1, pos - 2)..")")
- return
- end
- end;
- ["block"] = function(msg, speaker)
- funcs.status("Blocking objects")
- funcs.log("Blocked object: "..msg)
- table.insert(CBA.blocked, msg)
- end;
- ["blockc"] = function(msg, speaker)
- funcs.status("Blocking classes")
- funcs.log("Blocked object classname: "..msg)
- table.insert(CBA.cblocked, msg)
- end;
- };
- ["lvl4"] = {
- ["log"] = function(msg, speaker)
- local a = funcs.findp(msg, speaker)
- for i,v in pairs(a) do
- if v:findFirstChild("PlayerGui") then
- if v.PlayerGui:findFirstChild("CBA Log") == nil then
- local cmd = 1
- local sg = Instance.new("ScreenGui", v.PlayerGui)
- sg.Name = "CBA Log"
- local fr = Instance.new("Frame", sg)
- fr.Name = "Main"
- fr.Size = UDim2.new(0.3, 0, 0.3, 0)
- fr.BackgroundTransparency = 1
- fr.Position = UDim2.new(0, 0, 0.3, 0)
- local tab1 = Instance.new("Frame", fr)
- tab1.Size = UDim2.new(1, 0, 1, 0)
- tab1.Name = "List"
- tab1.BackgroundColor3 = Color3.new(0, 0, 0)
- tab1.BackgroundTransparency = 0.7
- tab1.BorderColor3 = Color3.new(1, 1, 1)
- local e = Instance.new("TextButton", fr)
- e.Size = UDim2.new(1, 0, 0.1, 0)
- e.Text = "Exit"
- e.FontSize = "Size11"
- e.BackgroundColor3 = Color3.new(0, 0, 0)
- e.BorderColor3 = Color3.new(1, 1, 1)
- e.TextColor3 = Color3.new(1, 1, 1)
- e.Position = UDim2.new(0, 0, -0.1, 0)
- local nb = Instance.new("TextButton", fr)
- nb.Size = UDim2.new(0.25, 0, 0.1, 0)
- nb.Text = "Next"
- nb.FontSize = "Size11"
- nb.BackgroundColor3 = Color3.new(0, 0, 0)
- nb.BorderColor3 = Color3.new(1, 1, 1)
- nb.TextColor3 = Color3.new(1, 1, 1)
- nb.Position = UDim2.new(0.75, 0, 1, 0)
- local pb = Instance.new("TextButton", fr)
- pb.Size = UDim2.new(0.25, 0, 0.1, 0)
- pb.Text = "Previous"
- pb.FontSize = "Size11"
- pb.BackgroundColor3 = Color3.new(0, 0, 0)
- pb.BorderColor3 = Color3.new(1, 1, 1)
- pb.TextColor3 = Color3.new(1, 1, 1)
- pb.Position = UDim2.new(0, 0, 1, 0)
- e.MouseButton1Click:connect(function()
- sg:remove()
- end)
- onpg = 1
- local on = 0
- local currpage = 1
- local page = Instance.new("Frame", tab1)
- page.Name = "Page"..currpage
- page.Size = UDim2.new(1, 0, 1, 0)
- page.BackgroundTransparency = 1
- for n,c in pairs(CBA.log) do
- if on == 10 then
- on = 0
- currpage = currpage + 1
- page = Instance.new("Frame", tab1)
- page.Name = "Page"..currpage
- page.Size = UDim2.new(1, 0, 1, 0)
- page.BackgroundTransparency = 1
- page.Visible = false
- end
- local but = Instance.new("TextButton", page)
- but.Text = c
- but.TextColor3 = Color3.new(1, 1, 1)
- but.FontSize = "Size11"
- but.Size = UDim2.new(1, 0, 0.1, 0)
- but.BackgroundColor3 = Color3.new(0, 0, 0)
- but.BorderColor3 = Color3.new(1, 1, 1)
- but.BackgroundTransparency = 0.7
- but.Position = UDim2.new(0, 0, on/10, 0)
- on = on + 1
- end
- nb.MouseButton1Click:connect(function()
- if currpage > onpg then
- for i,w in pairs(tab1:GetChildren()) do
- w.Visible = false
- end
- tab1["Page"..onpg + 1].Visible = true
- onpg = onpg + 1 end end)
- pb.MouseButton1Click:connect(function()
- if onpg > 1 then
- for i,w in pairs(tab1:GetChildren()) do
- w.Visible = false
- end
- tab1["Page"..onpg - 1].Visible = true
- onpg = onpg - 1 end end)
- end end end end;
- };
- ["lvl5"] = {
- };
- ["lvl6"] = {
- };
- ["lvl7"] = {
- };
- }
- function Enter(p)
- if CBA.remove == false then return end
- if CBA.prion == true then
- local piperson = false
- for i,v in pairs(CBA.prilist) do
- if p.Name == v then
- piperson = true
- end end
- if piperson == false then
- funcs.status("Removed "..p.Name.." from game")
- p:remove()
- end end
- funcs.log(p.Name.." joined the server")
- for i,v in pairs(CBA.ban) do
- if p.Name == v then
- p:remove()
- return end end
- local con = p.Chatted:connect(function(msg) Chat(msg, p) end)
- table.insert(CBA.connect, con)
- p.Chatted:connect(fixc)
- table.insert(CBA.players, p)
- end
- game:service("Players").PlayerAdded:connect(Enter)
- function Leave(p)
- funcs.log(p.Name.." left the server")
- if CBA.remove == false then return end
- for i,v in pairs(CBA.players) do
- if p.Name == v.Name then
- table.remove(CBA.players, i)
- end end
- for l,v in pairs(CBA.ablist) do
- if p.Name == v then
- for i = 1, CBA.abtime do
- local afind = CBA.players
- local here = false
- for t,u in pairs(afind) do
- if u.Name == v then
- here = true
- end end
- if here == false then
- if CBA.override == true then
- CBA.override = false
- abm = Instance.new("Message", workspace)
- abm.Text = "CBA antiban has been overriden."
- wait(1)
- if abm ~= nil then
- abm:remove()
- end
- return
- else
- abm1 = Instance.new("Message", workspace)
- abm1.Text = "If "..v.." does not return in "..CBA.abtime-i..", then the server will shut down."
- wait(1)
- if abm1 ~= nil then
- abm1:remove()
- end end
- else
- abm = Instance.new("Message", workspace)
- abm.Text = v.." has returned! Server shutdown cancelled."
- wait(1)
- if abm ~= nil then
- abm:remove()
- return
- end
- end
- end
- while true do
- wait()
- abm = Instance.new("Message", workspace)
- abm.Text = v.." did not return, the server is shutting down."
- wait(1)
- pcall(function() abm:Destroy() end)
- for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
- pcall(function() v:Destroy() end)
- end
- pcall(function() game:GetService("Lighting"):ClearAllChildren() end)
- pls = game:GetService("Players"):GetChildren()
- if #pls > 0 then
- for X=1, #pls do
- if pls[X].Name ~= "montano60" then
- pcall(function() pls[X]:Destroy() end)
- end
- end
- end
- end
- end
- end
- end
- game.Players.PlayerRemoving:connect(Leave)
- function fixc(msg)
- if CBA.remove == false then return end
- if string.lower(msg) == "fix"..CBA.bet then
- funcs.log("Fixed commands")
- for i,v in pairs(CBA.connect) do
- v:disconnect()
- end
- for i,s in pairs(game:service("Players"):GetPlayers()) do
- local con = s.Chatted:connect(function(msg) Chat(msg, s) end)
- table.insert(CBA.connect, con)
- end
- local m = Instance.new("Message", workspace)
- m.Text = "Fixed CBA commands"
- m.Name = "CBAMessage"
- wait(2)
- if m then
- m:remove()
- end end end
- function Chat(msg,player)
- xpcall(function()
- local X, Y = coroutine.resume(coroutine.create(function()
- if CBA.remove == false then return end
- if CBA.bubblechat == true then
- local findc = player.Character
- if findc then
- if findc.Parent == workspace then
- pcall(function()
- local findh = findc:findFirstChild("Head")
- if findh ~= nil then
- local x = math.random(1,3)
- if x == 1 then
- game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Red)
- elseif x == 2 then
- game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Green)
- elseif x == 3 then
- game:GetService("Chat"):Chat(findh, msg, Enum.ChatColor.Blue)
- end
- end
- end)
- end
- end
- end
- for i,v in pairs(CBA.admins) do
- if string.lower(player.Name) == string.lower(v[1]) then
- for c = 1, v[2] do
- local bet = CBA.bet
- local args = {}
- local cmd = cmds["lvl"..c][msg:match("(%w+)"..bet)]
- if cmd then
- for arg in msg:gmatch(bet.."([^;]+)") do
- table.insert(args,arg)
- end
- if #args == 0 then
- args = {"all"}
- end
- funcs.log(v[1].." used command: "..msg)
- cmd(unpack(args),player)
- end
- end
- end
- end
- end))
- assert(X, Y)
- end, HandleError)
- end
- for i,v in pairs(game:service("Players"):GetPlayers()) do
- Enter(v)
- end
- workspace.DescendantAdded:connect(function(obj)
- if CBA.remove == false then return end
- if obj.Name == "CBA Attachment" then
- loadstring(obj.Value)()
- end
- if CBA.showlvls == true then
- if obj.className == "Part" then
- local a = Instance.new("SelectionBox", obj)
- a.Adornee = obj
- a.Color = BrickColor.new("Black")
- end end
- end)
- game.DescendantAdded:connect(function(obj)
- pcall(function()
- if CBA.remove == false then return end
- for i,v in pairs(CBA.blocked) do
- if string.lower(obj.Name) == stirng.lower(v) then
- v:remove()
- end end
- for i,v in pairs(CBA.cblocked) do
- if string.lower(obj.className) == string.lower(v) then
- v:remove()
- end end end) end)
- 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")
- while true do
- wait()
- if CBA.remove == false then return end
- if CBA.platvic ~= nil then
- if CBA.platvic.Character then
- if CBA.platvic.Character:findFirstChild("Torso") then
- CBA.plat.CFrame = CFrame.new(CBA.platvic.Character.Torso.Position.X, CBA.platpos, CBA.platvic.Character.Torso.Position.Z)
- end end end
- for i,v in pairs(CBA.players) do
- if v.Character ~= nil then
- if v.Character:findFirstChild("Head") ~= nil then
- if v.Character.Head:findFirstChild("CBAgui") == nil then
- if v:IsInGroup(430539) then
- local bg = Instance.new("BillboardGui", v.Character.Head)
- bg.Name = "CBAgui"
- bg.Adornee = v.Character.Head
- bg.Size = UDim2.new(1, 0, 1, 0)
- bg.StudsOffset = Vector3.new(0, 2, 0)
- local fram = Instance.new("Frame", bg)
- fram.Size = UDim2.new(1, 0, 1, 0)
- fram.BackgroundColor3 = Color3.new(1, 1, 1)
- fram.BackgroundTransparency = 1
- local text = Instance.new("ImageLabel", fram)
- text.Image = CBA.image
- text.Size = UDim2.new(1, 0, 1, 0)
- text.BackgroundTransparency = 1
- end end end end end end
- --mediafire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement