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