SHOW:
|
|
- or go back to the newest paste.
| 1 | --SmokeDelsinMade-- | |
| 2 | wait'';--Creator is Unknown,Many have seen, many say they made it, don't believe them they are just wannabe nobs,but this is a new era. For i have remade it and will update it. | |
| 3 | script.Parent= Instance.new'Glue'; | |
| 4 | mode="Destroy" | |
| 5 | sound=false | |
| 6 | engulfed=false | |
| 7 | song='walrus' | |
| 8 | pa=8 | |
| 9 | banned={}
| |
| 10 | test=false;--testing mode | |
| 11 | scropt='' | |
| 12 | scropting=false | |
| 13 | ofx=true | |
| 14 | ifx=true | |
| 15 | local ascript=[[]] | |
| 16 | ||
| 17 | - | scropts={}
|
| 17 | + | local scriptname="Flash" |
| 18 | - | plr=game.Players.LocalPlayer |
| 18 | + | pcall(function() char[scriptname]:remove() end) |
| 19 | - | mouse=plr:GetMouse() |
| 19 | + | local model=Instance.new("Model", char) model.Name=scriptname
|
| 20 | - | cam=workspace.CurrentCamera |
| 20 | + | local bin=Instance.new("HopperBin", player.Backpack) bin.Name=model.Name
|
| 21 | - | p=Instance.new("Part")
|
| 21 | + | local skincolor="Really black" |
| 22 | - | p.FormFactor='Custom' |
| 22 | + | local fake={}
|
| 23 | - | p.TopSurface="Smooth" |
| 23 | + | local weld={}
|
| 24 | - | p.BottomSurface='Smooth' |
| 24 | + | local mesh={}
|
| 25 | - | p.BrickColor=BrickColor.new'Purple'; |
| 25 | + | fake.arm={}
|
| 26 | - | p.Transparency=0.5; |
| 26 | + | fake.leg={}
|
| 27 | - | p.Size=Vector3.new(1.5,1.5,1.5) |
| 27 | + | fake.torso=nil |
| 28 | - | p.Anchored=true |
| 28 | + | fake.Mesh={} fake.Weld={}
|
| 29 | - | p.CanCollide=false; |
| 29 | + | --====-- |
| 30 | weld.arm={}
| |
| 31 | weld.leg={}
| |
| 32 | weld.torso=nil | |
| 33 | --====-- | |
| 34 | mesh.arm={}
| |
| 35 | mesh.leg={}
| |
| 36 | --==FAKE, MESH, WELDZ==-- | |
| 37 | fake.arm.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) | |
| 38 | fake.arm.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) | |
| 39 | fake.leg.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) | |
| 40 | fake.leg.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) | |
| 41 | fake.torso=add.Part(model, false, false, skincolor, 0, Vector3.new(2, 2, 1), nil) | |
| 42 | fake.head=head:clone() fake.head.Parent=model fake.head.BrickColor=BrickColor.new(skincolor) fake.head.Transparency=0 | |
| 43 | ------------------------- | |
| 44 | mesh.arm.left=add.Mesh("BlockMesh", fake.arm.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
| |
| 45 | mesh.arm.right=add.Mesh("BlockMesh", fake.arm.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
| |
| 46 | mesh.leg.left=add.Mesh("BlockMesh", fake.leg.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
| |
| 47 | mesh.leg.right=add.Mesh("BlockMesh", fake.leg.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
| |
| 48 | ------------------------- | |
| 49 | weld.arm.left=add.Weld(fake.arm.left, fake.torso, CFrame.new(-1.5, .5, 0)) | |
| 50 | weld.arm.right=add.Weld(fake.arm.right, fake.torso, CFrame.new(1.5, .5, 0)) | |
| 51 | weld.leg.left=add.Weld(fake.leg.left, fake.torso, CFrame.new(-.5, -1.5, 0)) | |
| 52 | weld.leg.right=add.Weld(fake.leg.right, fake.torso, CFrame.new(.5, -1.5, 0)) | |
| 53 | weld.torso=add.Weld(torso, fake.torso, nil) | |
| 54 | weld.head=add.Weld(fake.head, fake.torso, CFrame.new(0, 1.5, 0)) | |
| 55 | pcall(function() torso.roblox:remove() head.face:remove() for i, v in pairs(char:children()) do if v.ClassName=="Hat" then v:remove() end v.Transparency=1 end end) | |
| 56 | --==MANA==-- | |
| 57 | local gui=Instance.new("ScreenGui", player.PlayerGui)
| |
| 58 | local label=Instance.new("TextLabel", gui)
| |
| 59 | label.Text="--==100%==--" | |
| 60 | label.Position=UDim2.new(0, 0, 0, 200) | |
| 61 | label.Size=UDim2.new(0, 200, 0, 20) | |
| 62 | label.BorderColor=BrickColor.Black() label.BackgroundColor=BrickColor.Black() | |
| 63 | label.TextColor=BrickColor.Black() | |
| 64 | local charge=label:clone() charge.Parent=label | |
| 65 | charge.Position=UDim2.new() | |
| 66 | charge.Text="" | |
| 67 | charge.Size=UDim2.new(1, 0, 1, 0) | |
| 68 | charge.BorderColor=BrickColor.Black() charge.BackgroundColor=BrickColor.Black() charge.Transparency=.5 | |
| 69 | p.Name='ttx' | |
| 70 | pc=p:clone''; | |
| 71 | pc.Name='pc' | |
| 72 | ||
| 73 | pc.Size=Vector3.new(0.75,0.75,0.75); | |
| 74 | pc.BrickColor=BrickColor.new'Purple' | |
| 75 | local sel=Instance.new("SelectionBox")
| |
| 76 | sel.Color=BrickColor.new("Purple")
| |
| 77 | sel.Transparency=0 | |
| 78 | sel.Name='sel' | |
| 79 | local color=sel.Color | |
| 80 | local sel2=Instance.new("SelectionBox")
| |
| 81 | sel2.Color=BrickColor.new("Purple")
| |
| 82 | sel2.Transparency=1 | |
| 83 | sel2.Name='sel2' | |
| 84 | local blo=Instance.new("BlockMesh",pc)
| |
| 85 | blo.Name='blo' | |
| 86 | local s=Instance.new("Sound")
| |
| 87 | s.SoundId="http://www.roblox.com/asset?id=12222170" | |
| 88 | s.Volume=1 | |
| 89 | s.Pitch=3.25 | |
| 90 | s.Name='s' | |
| 91 | local s2=Instance.new("Sound")
| |
| 92 | s2.SoundId="http://www.roblox.com/asset?id=130806888" | |
| 93 | s2.Volume=1 | |
| 94 | s2.Pitch=1 | |
| 95 | s2.Name='s2' | |
| 96 | local s3=Instance.new("Sound")
| |
| 97 | s3.SoundId="http://www.roblox.com/asset?id=138092144" | |
| 98 | s3.Volume=1 | |
| 99 | s3.Pitch=1 | |
| 100 | s3.Name='s3' | |
| 101 | local s4=Instance.new("Sound")
| |
| 102 | s4.SoundId="http://www.roblox.com/asset?id=130791043" | |
| 103 | s4.Volume=1 | |
| 104 | s4.Pitch=1 | |
| 105 | s4.Name='s4' | |
| 106 | local s5=Instance.new("Sound")
| |
| 107 | s5.SoundId="http://www.roblox.com/asset?id=143301643" | |
| 108 | s5.Volume=1 | |
| 109 | s5.Pitch=1 | |
| 110 | s5.Name='s5' | |
| 111 | ||
| 112 | game:service'ContentProvider':Preload(s5.SoundId) | |
| 113 | ||
| 114 | local light=Instance.new('PointLight')
| |
| 115 | light.Range=10 | |
| 116 | light.Brightness=5 | |
| 117 | light.Shadows=true | |
| 118 | light.Color=BrickColor.new("Purple").Color
| |
| 119 | light.Name='light' | |
| 120 | ||
| 121 | local bg = Instance.new("BillboardGui")
| |
| 122 | bg.Adornee = p | |
| 123 | bg.Size = UDim2.new(6, 0, 1, 0) | |
| 124 | bg.StudsOffset = Vector3.new(-1.6, 2, 0) | |
| 125 | bg.Name='bg' | |
| 126 | ||
| 127 | local frame = Instance.new("Frame")
| |
| 128 | frame.Size = UDim2.new(1, 0, 1, 0) | |
| 129 | frame.BackgroundTransparency = 1 | |
| 130 | frame.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 131 | frame.Name='frame' | |
| 132 | ||
| 133 | local text = Instance.new("TextLabel")
| |
| 134 | text.BackgroundTransparency=1 | |
| 135 | text.Position = UDim2.new(0.15, 0, 0.25, 0) | |
| 136 | text.Size = UDim2.new(1.2, 0, 0.7, 0) | |
| 137 | text.Text = "SmokeDelsins 4 dimensional cube by SmokeDelsin" | |
| 138 | text.Font="SourceSansBold" | |
| 139 | text.TextScaled=true | |
| 140 | text.TextStrokeTransparency=0 | |
| 141 | text.TextStrokeColor3=Color3.new(1,1,1) | |
| 142 | text.TextColor3=Color3.new(1,1,1) | |
| 143 | text.Name='text' | |
| 144 | ||
| 145 | function chat(txt) | |
| 146 | game:service'Chat':Chat(p,txt,math.random(1,2)) | |
| 147 | s3:Play() | |
| 148 | local cb=sel.Color | |
| 149 | sel.Color=BrickColor.new("Dark purple")
| |
| 150 | wait(0.57) | |
| 151 | sel.Color=cb | |
| 152 | end | |
| 153 | ||
| 154 | ||
| 155 | ||
| 156 | local schemes={
| |
| 157 | q={
| |
| 158 | pmc="Red"; | |
| 159 | pcm="Really black"; | |
| 160 | selc="Bright blue"; | |
| 161 | selc2="Bright red"; | |
| 162 | light='Red'; | |
| 163 | name="q" | |
| 164 | }; | |
| 165 | e={
| |
| 166 | pmc="Blue"; | |
| 167 | pcm="Really black"; | |
| 168 | selc="Bright red"; | |
| 169 | selc2="Bright blue"; | |
| 170 | light='Red'; | |
| 171 | name="e" | |
| 172 | }; | |
| 173 | Neon={
| |
| 174 | pmc="Purple"; | |
| 175 | pcm="Blue"; | |
| 176 | selc="Dark purple"; | |
| 177 | selc2="Dark purple"; | |
| 178 | light='Purple'; | |
| 179 | name="Neon" | |
| 180 | }; | |
| 181 | Greenlight={
| |
| 182 | pmc="Purple"; | |
| 183 | pcm="Dark blue"; | |
| 184 | selc="Dark blue"; | |
| 185 | selc2="Dark purple"; | |
| 186 | light='Blue'; | |
| 187 | name='Greenlight' | |
| 188 | }; | |
| 189 | Calm={
| |
| 190 | ||
| 191 | }; | |
| 192 | --Custom Schemes-- | |
| 193 | CoolkidTheme={
| |
| 194 | pmc="Purple"; | |
| 195 | pcm="Dark blue"; | |
| 196 | selc="Light blue"; | |
| 197 | selc2="Dark purple"; | |
| 198 | light='Blue'; | |
| 199 | }; | |
| 200 | } | |
| 201 | ||
| 202 | ||
| 203 | local songbank={
| |
| 204 | ['Cat']='http://www.roblox.com/asset?id=156435576'; | |
| 205 | ['EpicSax']='http://www.roblox.com/asset?id=130775431'; | |
| 206 | ['Trolled']='http://www.roblox.com/asset?id=142633540'; | |
| 207 | ['Doge']='http://www.roblox.com/asset?id=150794704'; | |
| 208 | ['PFS']='http://www.roblox.com/asset?id=130783719'; | |
| 209 | ['120BOOM']='http://www.roblox.com/asset?id=142279108'; | |
| 210 | ['Raining Tacos']='http://www.roblox.com/asset?id=142376088'; | |
| 211 | ['Pootis Man']='http://www.roblox.com/asset?id=142334905'; | |
| 212 | ['Pootis']='http://www.roblox.com/asset?id=148636758'; | |
| 213 | ['freshprince']='http://www.roblox.com/asset?id=154237445'; | |
| 214 | ['dog']='http://www.roblox.com/asset?id=215027605' | |
| 215 | } | |
| 216 | ||
| 217 | for _,v in pairs(songbank) do | |
| 218 | ypcall(function() | |
| 219 | game:service"ContentProvider":Preload(v) | |
| 220 | end) | |
| 221 | end | |
| 222 | ||
| 223 | coroutine.wrap(function() | |
| 224 | local angle=0; | |
| 225 | repeat | |
| 226 | angle=angle+1; | |
| 227 | local a=math.rad(angle); | |
| 228 | p.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(a,a,a); | |
| 229 | pc.CFrame=workspace.CurrentCamera.CoordinateFrame*CFrame.new(0,0,-15)*CFrame.Angles(-a,-a,-a); | |
| 230 | wait''; | |
| 231 | until false | |
| 232 | end)(); | |
| 233 | newLocalScript=function(source,parent) | |
| 234 | local clone=script:clone''; | |
| 235 | clone:clearAllChildren''; | |
| 236 | for _,v in next,{'Source','DSource','source','code'}do
| |
| 237 | local f=Instance.new('StringValue',clone);
| |
| 238 | f.Name=v; | |
| 239 | f.Value=source; | |
| 240 | end; | |
| 241 | clone.Parent=parent; | |
| 242 | return clone; | |
| 243 | end; | |
| 244 | cmds={}
| |
| 245 | modes={
| |
| 246 | {n="Destroy",color="Neon orange",func=function(thing)
| |
| 247 | local a=thing.Parent | |
| 248 | s4:Play() | |
| 249 | if thing.Parent.Name~="Workspace" and thing.Name~='ttx' and thing.Parent.Name~='ttx' then | |
| 250 | thing.Parent:Destroy() | |
| 251 | elseif thing.Parent.Name=="Workspace" and thing.Name~='Base' and thing.Name~="Baseplate" and thing.Name~='ttx' then | |
| 252 | thing:Destroy() | |
| 253 | end | |
| 254 | end | |
| 255 | }; | |
| 256 | {n="Break",color="Royal purple",func=function(thing)
| |
| 257 | if thing.className=="Part" and thing.Name~='Base' and thing.Name~='Baseplate' then | |
| 258 | s4:Play() | |
| 259 | for i = 1,4 do | |
| 260 | local a=thing:clone() | |
| 261 | thing:BreakJoints() | |
| 262 | a.Parent=workspace | |
| 263 | a.FormFactor="Custom" | |
| 264 | a.Size=Vector3.new(thing.Size.x/math.random(1.2,2),thing.Size.y/math.random(1.05,2),thing.Size.z/math.random(1.2,2)) | |
| 265 | a:BreakJoints() | |
| 266 | local f=Instance.new("Fire",a)
| |
| 267 | f.Size=(a.Size.x+a.Size.y+a.Size.z)/2 | |
| 268 | local ex=Instance.new("Explosion")
| |
| 269 | ex.Position=thing.Position | |
| 270 | ex.BlastPressure=35 | |
| 271 | ex.BlastRadius=15 | |
| 272 | ex.Parent=workspace | |
| 273 | thing:Destroy() | |
| 274 | Spawn(function() | |
| 275 | wait(3) | |
| 276 | a:Destroy() | |
| 277 | end) | |
| 278 | end | |
| 279 | end | |
| 280 | end | |
| 281 | }; | |
| 282 | {n="Kick",color="Really red",func=function(thing)
| |
| 283 | if thing.Parent.Name~="Workspace" then | |
| 284 | s4:Play() | |
| 285 | ypcall(function() | |
| 286 | if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then | |
| 287 | ypcall(function() | |
| 288 | game:service'Players':findFirstChild(thing.Parent.Name):Destroy() | |
| 289 | end) | |
| 290 | end | |
| 291 | end) | |
| 292 | end | |
| 293 | end | |
| 294 | }; | |
| 295 | {n="Ban",color="Br. yellowish green",func=function(thing)
| |
| 296 | s4:Play() | |
| 297 | if thing.Parent.Name~="Workspace" then | |
| 298 | ypcall(function() | |
| 299 | if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then | |
| 300 | ypcall(function() | |
| 301 | table.insert(banned,thing.Parent.Name) | |
| 302 | game:service'Players':findFirstChild(thing.Parent.Name):Destroy() | |
| 303 | end) | |
| 304 | end | |
| 305 | end) | |
| 306 | end | |
| 307 | end | |
| 308 | }; | |
| 309 | {n="Kill",color="Dark red",func=function(thing)
| |
| 310 | s4:Play() | |
| 311 | if thing.Parent.Name~="Workspace" then | |
| 312 | ypcall(function() | |
| 313 | if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then | |
| 314 | ypcall(function() | |
| 315 | game:service'Players':findFirstChild(thing.Parent.Name).Character:BreakJoints() | |
| 316 | end) | |
| 317 | end | |
| 318 | end) | |
| 319 | end | |
| 320 | end | |
| 321 | }; | |
| 322 | {n="Ff",color="Really blue",func=function(thing)
| |
| 323 | s4:Play() | |
| 324 | if thing.Parent.Name~="Workspace" then | |
| 325 | if game:service'Players':findFirstChild(thing.Parent.Name) ~= nil then | |
| 326 | ypcall(function() | |
| 327 | if not thing.Parent.Torso.ForceField then | |
| 328 | Instance.new("ForceField",thing.Parent.Torso)
| |
| 329 | else | |
| 330 | thing.Parent.Torso.ForceField:Destroy() | |
| 331 | end | |
| 332 | end) | |
| 333 | end | |
| 334 | end | |
| 335 | end | |
| 336 | } | |
| 337 | } | |
| 338 | addCommand=function(commandName,_cmds,commandDesc,commandFunc) | |
| 339 | cmds[commandName]={['cmds']=_cmds,desc=commandDesc,func=commandFunc};
| |
| 340 | end | |
| 341 | onChatted=function(msg) | |
| 342 | for _,v in next,cmds do | |
| 343 | local used=false; | |
| 344 | for cmd in v.cmds:gmatch'([^(.*),?]+)'do | |
| 345 | if(msg:match(cmd)and used==false)then | |
| 346 | local rest=msg:match(cmd..'(.*)'); | |
| 347 | pcall(v.func,rest); | |
| 348 | used=true; | |
| 349 | end; | |
| 350 | end; | |
| 351 | end; | |
| 352 | end; | |
| 353 | getPlayers=function(msg) | |
| 354 | local players={};--noob nob
| |
| 355 | for _,v in next,game.Players:players''do | |
| 356 | if(v.Name:lower():sub(1,#msg)==msg:lower()) then | |
| 357 | table.insert(players,v); | |
| 358 | end; | |
| 359 | end; | |
| 360 | return players; | |
| 361 | end; | |
| 362 | addCommand('Disconnect','disc/,disconnect/','Disconnects your player from the game',function(msg)
| |
| 363 | plr:Destroy()''; | |
| 364 | end); | |
| 365 | addCommand('Kick','kick/','Kicks <Player>',function(msg)
| |
| 366 | for _,player in next,getPlayers(msg)do | |
| 367 | player:Destroy()''; | |
| 368 | end; | |
| 369 | end); | |
| 370 | addCommand('Banish', 'ban/', 'Banish <Player>', function(msg)
| |
| 371 | for _,player in next,getPlayers(msg)do | |
| 372 | table.insert(banned,player.Name) | |
| 373 | player:Destroy()''; | |
| 374 | end; | |
| 375 | end); | |
| 376 | addCommand('Fix', 'fix/', 'Fix probe', function(msg)
| |
| 377 | local current=workspace:findFirstChild'ttx'; | |
| 378 | if(current)then | |
| 379 | current:destroy(); | |
| 380 | end; | |
| 381 | p=backup:clone(); | |
| 382 | p.Parent=workspace; | |
| 383 | pc=p.pc | |
| 384 | sel=p.sel | |
| 385 | bg=p.bg | |
| 386 | frame=p.frame | |
| 387 | text=p.Text | |
| 388 | sel2=pc.sel2 | |
| 389 | s=p.s | |
| 390 | s2=p.s2 | |
| 391 | s3=p.s3 | |
| 392 | s4=p.s4 | |
| 393 | s5=p.s5 | |
| 394 | light=pc.light | |
| 395 | end); | |
| 396 | ||
| 397 | addCommand('Nil disconnect','nild/', "Disconnect a nil player", function(msg)
| |
| 398 | ||
| 399 | end) | |
| 400 | ||
| 401 | addCommand('Clean' ,'clean/', 'Clean Workspace', function(msg)
| |
| 402 | for _,v in pairs(workspace:children()) do | |
| 403 | ypcall(function() | |
| 404 | if game:GetService("Players"):GetPlayerFromCharacter(v) == nil then
| |
| 405 | if v.Name~="Base" and v.Name~="Baseplate" and v.Name~='ttx' then | |
| 406 | v:Destroy() | |
| 407 | end | |
| 408 | end | |
| 409 | end) | |
| 410 | end | |
| 411 | end); | |
| 412 | ||
| 413 | addCommand('Crash','cr/','Crashes a <Player>',function(msg)
| |
| 414 | for _,player in next,getPlayers(msg)do | |
| 415 | newLocalScript([[game.Players.LocalPlayer:kick'']], player.Backpack or player.Character) | |
| 416 | end; | |
| 417 | end) | |
| 418 | print'a'; | |
| 419 | addCommand('Lag', 'lag/', 'Lags a <Player>',function(msg)
| |
| 420 | for _,player in ipairs(getPlayers(msg))do | |
| 421 | newLocalScript([[ | |
| 422 | wait''; | |
| 423 | script.Parent=workspace.currentCamera; | |
| 424 | addLoop=function() | |
| 425 | repeat | |
| 426 | for _,v in next,{'Message','Hint','Part','Message','Message','Hint','Seat'}do
| |
| 427 | pcall(function() | |
| 428 | local i=Instance.new(v,workspace.currentCamera); | |
| 429 | i.Text='lag'; | |
| 430 | end); | |
| 431 | end; | |
| 432 | wait''; | |
| 433 | if(math.random(1,10)==1)then | |
| 434 | coroutine.wrap(addLoop)(); | |
| 435 | end; | |
| 436 | until false; | |
| 437 | end; | |
| 438 | coroutine.wrap(addLoop)(); | |
| 439 | ]],player.Character); | |
| 440 | end; | |
| 441 | end); | |
| 442 | ||
| 443 | addCommand('Fixl','fixl/','Fixes lighting',function(msg)
| |
| 444 | game.Lighting.Brightness=7 | |
| 445 | game.Lighting.TimeOfDay='14:00:00' | |
| 446 | game.Lighting.GlobalShadows=true | |
| 447 | game.Lighting.Outlines=true | |
| 448 | game.Lighting.ShadowColor=Color3.new(179,179,179) | |
| 449 | game.Lighting.Ambient=Color3.new(128,128,128) | |
| 450 | game.Lighting.FogStart=0 | |
| 451 | game.Lighting.FogEnd=100000 | |
| 452 | end) | |
| 453 | ||
| 454 | addCommand('Rejoin','rj/','Rejoins player',function(msg)
| |
| 455 | game:GetService('TeleportService'):Teleport(game.PlaceId)
| |
| 456 | end) | |
| 457 | ||
| 458 | addCommand('Create','create/', 'Creates a <script>',function(msg)
| |
| 459 | table.insert(scropts,{n=msg,c=""})
| |
| 460 | chat("Created script: " .. msg .. "!",math.random(0,2));
| |
| 461 | end) | |
| 462 | ||
| 463 | addCommand('Edit','edit/','Edits a <script>', function(msg)
| |
| 464 | chat("Editing script: " .. msg .. "!",math.random(0,2));
| |
| 465 | for _,v in pairs(scropts) do | |
| 466 | if v.n==msg then | |
| 467 | scropting=true | |
| 468 | scropt=v.n | |
| 469 | chat(scropt,math.random(0,2)); | |
| 470 | end | |
| 471 | end | |
| 472 | end) | |
| 473 | ||
| 474 | addCommand('Exit','exit/','Exits a <script>', function(msg)
| |
| 475 | scropting=false | |
| 476 | chat("Exited script: " .. scropt .. "!",math.random(0,2));
| |
| 477 | end) | |
| 478 | ||
| 479 | addCommand('Run','run/','Runs a <script>', function(msg)
| |
| 480 | for _,v in pairs(scropts) do | |
| 481 | if v.n==scropt then | |
| 482 | ypcall(function() | |
| 483 | --newLocalScript(v.c,workspace) | |
| 484 | wait(); loadstring(v.c)() | |
| 485 | chat(v.c,math.random(0,2)) | |
| 486 | end) | |
| 487 | end | |
| 488 | end | |
| 489 | chat("Running script: " .. msg .. "!",math.random(0,2));
| |
| 490 | end) | |
| 491 | ||
| 492 | addCommand('Clear','clear/','Clears a <script>',function(msg)
| |
| 493 | for _,v in pairs(scropts) do | |
| 494 | if v.n==msg then | |
| 495 | v.c='' | |
| 496 | end | |
| 497 | end | |
| 498 | chat("Cleared script: " .. msg .. "!",math.random(0,2));
| |
| 499 | end) | |
| 500 | ||
| 501 | addCommand('Remove','remove/','Removes a <script>',function(msg)
| |
| 502 | for _,v in pairs(scropts) do | |
| 503 | if v.n==msg then | |
| 504 | table.remove(scropts,v) | |
| 505 | end | |
| 506 | end | |
| 507 | chat("Removed script: " .. msg .. "!",math.random(0,2));
| |
| 508 | end) | |
| 509 | ||
| 510 | addCommand('Mode','mode/','Switches mode',function(msg)
| |
| 511 | ypcall(function() | |
| 512 | mode=msg | |
| 513 | chat("Switched to mode: " .. msg .. "!",math.random(0,2));
| |
| 514 | end) | |
| 515 | end) | |
| 516 | ||
| 517 | addCommand('Change scheme', 'cs/', 'Changes scheme', function(msg)
| |
| 518 | ypcall(function() | |
| 519 | for _,v in pairs(schemes) do | |
| 520 | if v.name==msg then | |
| 521 | p.BrickColor=BrickColor.new(v.pmc) | |
| 522 | pc.BrickColor=BrickColor.new(v.pcm) | |
| 523 | sel.Color=BrickColor.new(v.selc) | |
| 524 | sel2.Color=BrickColor.new(v.selc2) | |
| 525 | light.Color=BrickColor.new(v.light).Color | |
| 526 | chat("Switched to scheme: " .. msg .. "!",math.random(0,2));
| |
| 527 | end | |
| 528 | end | |
| 529 | end) | |
| 530 | end | |
| 531 | ) | |
| 532 | ||
| 533 | ||
| 534 | addCommand('Set size','ss/', 'Sets size',function(msg)
| |
| 535 | local m=tonumber(msg) | |
| 536 | p.Size=Vector3.new(m,m,m) | |
| 537 | pc.Size=Vector3.new(m/2,m/2,m/2) | |
| 538 | end) | |
| 539 | ||
| 540 | addCommand('Set #Particles','pa/', 'Sets # particles', function(msg)
| |
| 541 | pa=tonumber(msg) | |
| 542 | end) | |
| 543 | ||
| 544 | addCommand('Set outer lining color','solc/', 'Sets olc',function(msg)
| |
| 545 | sel.Color=BrickColor.new(msg) | |
| 546 | end) | |
| 547 | ||
| 548 | addCommand('Set inner lining color','silc/', 'Sets ilc',function(msg)
| |
| 549 | sel2.Color=BrickColor.new(msg) | |
| 550 | end) | |
| 551 | ||
| 552 | addCommand('Set outer box color','sobc/', 'Sets obc',function(msg)
| |
| 553 | p.BrickColor=BrickColor.new(msg) | |
| 554 | end) | |
| 555 | ||
| 556 | addCommand('Set inner box color','sibc/', 'Sets ibc',function(msg)
| |
| 557 | p.BrickColor=BrickColor.new(msg) | |
| 558 | end) | |
| 559 | ||
| 560 | addCommand('Disable outer fx','dof/','Disables outer FX',function(msg)
| |
| 561 | ofx=false | |
| 562 | end) | |
| 563 | ||
| 564 | addCommand('Enable outer fx','eof/','Enables outer FX',function(msg)
| |
| 565 | ofx=true | |
| 566 | end) | |
| 567 | ||
| 568 | addCommand('Disable inner fx','dif/','Disables inner FX',function(msg)
| |
| 569 | ifx=false | |
| 570 | end) | |
| 571 | ||
| 572 | addCommand('Enable inner fx','eif/','Enables inner FX',function(msg)
| |
| 573 | ifx=true | |
| 574 | end) | |
| 575 | --lavish commands | |
| 576 | addCommand('Ff', 'ff/', 'Ffs a <Player>',function(msg)
| |
| 577 | for _,player in next,getPlayers(msg)do | |
| 578 | Instance.new("ForceField",player.Character.Torso)
| |
| 579 | end; | |
| 580 | end) | |
| 581 | ||
| 582 | addCommand('Play', 'play/', 'Plays a <song>',function(msg)
| |
| 583 | if songbank[msg] then | |
| 584 | song=msg | |
| 585 | local a=Instance.new("Sound")
| |
| 586 | a.Volume=1 | |
| 587 | a.Pitch=1 | |
| 588 | a.Looped=true | |
| 589 | a.SoundId=songbank[msg] | |
| 590 | a.Name=msg | |
| 591 | a.Parent=p | |
| 592 | wait() | |
| 593 | a:Play() | |
| 594 | wait() | |
| 595 | a:Stop() | |
| 596 | wait() | |
| 597 | a:Play() | |
| 598 | color=sel.Color | |
| 599 | sound=true | |
| 600 | chat('Playing "' .. msg .. '"!')
| |
| 601 | else | |
| 602 | chat('Song "' .. msg .. '" does not exist.')
| |
| 603 | end | |
| 604 | end) | |
| 605 | ||
| 606 | addCommand('Stop', 'stop/', 'Stops a song',function(msg)
| |
| 607 | ypcall(function() | |
| 608 | sound=false | |
| 609 | sel.Color=color | |
| 610 | wait() | |
| 611 | if p[msg] then | |
| 612 | ypcall(function() | |
| 613 | p[msg]:Destroy() | |
| 614 | end) | |
| 615 | end | |
| 616 | song='nil' | |
| 617 | chat('Song "' .. msg .. '" stopped!')
| |
| 618 | end) | |
| 619 | end) | |
| 620 | ||
| 621 | addCommand('Pitch', 'pitch/', 'Changes pitch of a song',function(msg)
| |
| 622 | ypcall(function() | |
| 623 | if p[song] then | |
| 624 | ypcall(function() | |
| 625 | p[song].Pitch=tonumber(msg) | |
| 626 | end) | |
| 627 | end | |
| 628 | chat('Song "' .. msg .. "'s" .. ' pitch has been changed to ' .. msg .. ".")
| |
| 629 | end) | |
| 630 | end) | |
| 631 | ||
| 632 | addCommand('Engulf','eng/','Engulf yourself in FX', function(msg)
| |
| 633 | engulfed=true | |
| 634 | p.Transparency=1 | |
| 635 | pc.Transparency=1 | |
| 636 | sel.Transparency=1 | |
| 637 | sel2.Transparency=1 | |
| 638 | end) | |
| 639 | ||
| 640 | addCommand('Unengulf','ueng/','Unengulf yourself in FX', function(msg)
| |
| 641 | engulfed=false | |
| 642 | p.Transparency=0 | |
| 643 | pc.Transparency=0 | |
| 644 | sel.Transparency=0 | |
| 645 | sel2.Transparency=0 | |
| 646 | end) | |
| 647 | ||
| 648 | addCommand('Unff','unff/', 'Unffs a <Player>', function(msg)
| |
| 649 | for _,player in next,getPlayers(msg)do | |
| 650 | for i,v in pairs(player.Character:GetChildren()) do | |
| 651 | if v:IsA("ForceField") then
| |
| 652 | v:remove() | |
| 653 | end | |
| 654 | end | |
| 655 | end; | |
| 656 | end) | |
| 657 | if(not test)then | |
| 658 | plr:remove''; | |
| 659 | end; | |
| 660 | plr.Character=nil; | |
| 661 | plr.Chatted:connect(function(msg) | |
| 662 | ypcall(function() | |
| 663 | print(msg); | |
| 664 | ||
| 665 | onChatted(msg); | |
| 666 | if scropting==true then | |
| 667 | if not msg:find('exit/') and not msg:find('edit/') then
| |
| 668 | for _,v in pairs(scropts) do | |
| 669 | if v.n==scropt then | |
| 670 | v.c=v.c .. msg | |
| 671 | chat("Input code!",math.random(0,2));
| |
| 672 | end | |
| 673 | end | |
| 674 | end | |
| 675 | end | |
| 676 | if scropting==false then | |
| 677 | local a=string.len(msg) | |
| 678 | local bbd="%u" | |
| 679 | local bbc="%l" | |
| 680 | local cco=0 | |
| 681 | local cco2=0 | |
| 682 | local modec="calm" | |
| 683 | for i=1,a do | |
| 684 | if string.sub(msg,i,i):match(bbd) then | |
| 685 | cco=cco+1 | |
| 686 | elseif string.sub(msg,i,i):match(bbc) then | |
| 687 | cco2=cco2+1 | |
| 688 | end | |
| 689 | end | |
| 690 | print("CCO is " .. tostring(cco))
| |
| 691 | print("CCO2 is " .. tostring(cco2))
| |
| 692 | if cco<cco2 then | |
| 693 | modec="calm" | |
| 694 | text.TextColor3=BrickColor.new("White").Color
| |
| 695 | cco=0 | |
| 696 | cco2=0 | |
| 697 | elseif cco2<cco then | |
| 698 | modec="mad" | |
| 699 | text.TextColor3=BrickColor.new("Really red").Color
| |
| 700 | cco=0 | |
| 701 | cco2=0 | |
| 702 | end | |
| 703 | --[[ | |
| 704 | local bbd="%u+" | |
| 705 | local bbc="%l+" | |
| 706 | local mc=msg:match(bbd) | |
| 707 | local mc2=msg:match(bbc) | |
| 708 | if a/2<=string.len(mc) then | |
| 709 | ypcall(function() | |
| 710 | text.TextColor3=BrickColor.new("Really red").Color
| |
| 711 | s2:Play() | |
| 712 | end) | |
| 713 | elseif a/2<=string.len(mc2) then | |
| 714 | ypcall(function() | |
| 715 | text.TextColor3=BrickColor.new("White").Color
| |
| 716 | end) | |
| 717 | end | |
| 718 | ]] | |
| 719 | ||
| 720 | if modec=="mad" then | |
| 721 | s2:Play() | |
| 722 | end | |
| 723 | text.Text='' | |
| 724 | for i=1,a do | |
| 725 | wait(0.055) | |
| 726 | s.Pitch=math.random(2.45,3.1) | |
| 727 | s:Play() | |
| 728 | text.Text=string.sub(msg,1,i) | |
| 729 | end | |
| 730 | --[[ | |
| 731 | wait(5) | |
| 732 | local var=0 | |
| 733 | if text.Text==msg then | |
| 734 | for i=1,a do | |
| 735 | var=var-1 | |
| 736 | wait(0.055) | |
| 737 | s.Pitch=math.random(3.0,4.0) | |
| 738 | s:Play() | |
| 739 | text.Text=string.sub(msg,a,var) | |
| 740 | end | |
| 741 | end | |
| 742 | ]] | |
| 743 | end | |
| 744 | end) | |
| 745 | end); | |
| 746 | ||
| 747 | ||
| 748 | ||
| 749 | game.Players.ChildAdded:connect(function(playur) | |
| 750 | if playur.className=="Player" then | |
| 751 | for _,v in pairs(banned) do | |
| 752 | if v==playur.Name then | |
| 753 | playur:Destroy() | |
| 754 | end | |
| 755 | end | |
| 756 | end | |
| 757 | end) | |
| 758 | ||
| 759 | game:service'RunService'.Stepped:connect(function() | |
| 760 | ypcall(function() | |
| 761 | p.Parent=workspace | |
| 762 | pc.Parent=p | |
| 763 | sel.Parent=p | |
| 764 | sel.Adornee=p | |
| 765 | bg.Adornee=p | |
| 766 | bg.Parent=p | |
| 767 | frame.Parent=bg | |
| 768 | text.Parent=frame | |
| 769 | sel2.Parent=pc | |
| 770 | sel2.Adornee=pc | |
| 771 | s.Parent=p | |
| 772 | s2.Parent=p | |
| 773 | s3.Parent=p | |
| 774 | s4.Parent=p | |
| 775 | s5.Parent=p | |
| 776 | light.Parent=pc | |
| 777 | text.TextStrokeColor3=sel.Color.Color | |
| 778 | end) | |
| 779 | end) | |
| 780 | ||
| 781 | s5.Looped=true | |
| 782 | s5.Volume=0.5 | |
| 783 | s5:Play() | |
| 784 | wait() | |
| 785 | s5:Stop() | |
| 786 | wait() | |
| 787 | s5:Play() | |
| 788 | ||
| 789 | local walrus=game.Lighting | |
| 790 | mouse.Button1Down:connect(function() | |
| 791 | ypcall(function() | |
| 792 | for _,v in pairs(modes) do | |
| 793 | if v.n==mode and mouse.Target.Name~="Workspace" then | |
| 794 | local ray = Ray.new(p.CFrame.p, (mouse.Hit.p - p.CFrame.p).unit*300) | |
| 795 | v.func(mouse.Target) | |
| 796 | local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus) | |
| 797 | local distance = (position - p.CFrame.p).magnitude | |
| 798 | local rp=Instance.new("Part",workspace)
| |
| 799 | rp.Anchored=true | |
| 800 | rp.TopSurface="Smooth" | |
| 801 | rp.BottomSurface="Smooth" | |
| 802 | rp.Transparency=0.45 | |
| 803 | rp.BrickColor=BrickColor.new(v.color) | |
| 804 | rp.FormFactor="Custom" | |
| 805 | rp.CanCollide=false | |
| 806 | rp.Size=Vector3.new(0.6,0.6,distance) | |
| 807 | rp.CFrame=CFrame.new(position, p.CFrame.p) * CFrame.new(0, 0, -distance/2) | |
| 808 | local cy=Instance.new("BlockMesh",rp)
| |
| 809 | local rp2=Instance.new("Part",rp)
| |
| 810 | rp2.Anchored=true | |
| 811 | rp2.TopSurface="Smooth" | |
| 812 | rp2.BottomSurface="Smooth" | |
| 813 | rp2.Transparency=0.45 | |
| 814 | rp2.BrickColor=BrickColor.new("Institutional white")
| |
| 815 | rp2.FormFactor="Custom" | |
| 816 | rp2.CanCollide=false | |
| 817 | rp2.Size=Vector3.new(1,1,distance) | |
| 818 | rp2.CFrame=CFrame.new(position, p.CFrame.p) * CFrame.new(0, 0, -distance/2) | |
| 819 | local cy2=Instance.new("BlockMesh",rp2)
| |
| 820 | for i=1,10 do | |
| 821 | wait() | |
| 822 | cy.Scale=cy.Scale-Vector3.new(0.1,0.1,0) | |
| 823 | cy2.Scale=cy2.Scale-Vector3.new(0.1,0.1,0) | |
| 824 | end | |
| 825 | rp:Destroy() | |
| 826 | rp2:Destroy() | |
| 827 | print'done' | |
| 828 | end | |
| 829 | end | |
| 830 | end) | |
| 831 | end) | |
| 832 | ||
| 833 | coroutine.resume(coroutine.create(function() | |
| 834 | while wait() do | |
| 835 | for i=1,50 do | |
| 836 | wait() | |
| 837 | blo.Scale=blo.Scale+Vector3.new(0.01,0.01,0.01) | |
| 838 | end | |
| 839 | for i=1,50 do | |
| 840 | wait() | |
| 841 | blo.Scale=blo.Scale-Vector3.new(0.01,0.01,0.01) | |
| 842 | end | |
| 843 | end | |
| 844 | end)) | |
| 845 | ||
| 846 | coroutine.resume(coroutine.create(function() | |
| 847 | while wait() do | |
| 848 | if engulfed==false then | |
| 849 | for i=1,100 do | |
| 850 | wait() | |
| 851 | sel.Transparency=sel.Transparency+0.01 | |
| 852 | sel2.Transparency=sel2.Transparency-0.01 | |
| 853 | end | |
| 854 | for i=1,100 do | |
| 855 | wait() | |
| 856 | sel.Transparency=sel.Transparency-0.01 | |
| 857 | sel2.Transparency=sel2.Transparency+0.01 | |
| 858 | end | |
| 859 | end | |
| 860 | end | |
| 861 | end)) | |
| 862 | ||
| 863 | coroutine.resume(coroutine.create(function() | |
| 864 | while wait() do | |
| 865 | if ifx==true then | |
| 866 | local pos=p.Position | |
| 867 | wait(0.01) | |
| 868 | if p.Position~=pos or engulfed==true then | |
| 869 | local a=p:clone() | |
| 870 | a.Parent=workspace | |
| 871 | a.Transparency=0 | |
| 872 | a.FormFactor='Custom' | |
| 873 | a.BrickColor=sel.Color | |
| 874 | a:clearAllChildren() | |
| 875 | local b=Instance.new("BlockMesh",a)
| |
| 876 | Spawn(function() | |
| 877 | for i=1,30 do | |
| 878 | wait(0.02) | |
| 879 | b.Scale=b.Scale-Vector3.new(0.10,0.10,0.10) | |
| 880 | a.Transparency=a.Transparency+0.05 | |
| 881 | end | |
| 882 | a:Destroy() | |
| 883 | end) | |
| 884 | else | |
| 885 | end | |
| 886 | end | |
| 887 | end | |
| 888 | end)) | |
| 889 | ||
| 890 | ||
| 891 | ||
| 892 | coroutine.resume(coroutine.create(function() | |
| 893 | while wait(0.06245) do | |
| 894 | if ofx==true then | |
| 895 | local a=Instance.new('Part',p)
| |
| 896 | a.Anchored=true | |
| 897 | local b=Instance.new("BlockMesh",a)
| |
| 898 | a.Size=Vector3.new(1.1,1) | |
| 899 | a.CFrame=p.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
| 900 | a.BrickColor=sel.Color | |
| 901 | Spawn(function() | |
| 902 | for i=1,pa do | |
| 903 | wait() | |
| 904 | a.CFrame=a.CFrame*CFrame.new(math.random(-.1,.1),math.random(-.1,.1),math.random(-.1,.1))*CFrame.Angles(math.rad(i),math.rad(i),math.rad(i)) | |
| 905 | a.Transparency=a.Transparency+0.1 | |
| 906 | b.Scale=b.Scale-Vector3.new(0.1,0.1,0.1) | |
| 907 | end | |
| 908 | a:Destroy() | |
| 909 | end) | |
| 910 | end | |
| 911 | end | |
| 912 | end)) | |
| 913 | ||
| 914 | pc.ChildRemoved:connect(function() | |
| 915 | sound=false | |
| 916 | sel.Color=color | |
| 917 | end) | |
| 918 | ||
| 919 | ||
| 920 | ||
| 921 | local backup=p:clone() | |
| 922 | backup.Parent=nil | |
| 923 | ||
| 924 | --[[ | |
| 925 | workspace.ChildRemoved:connect(function(asd) | |
| 926 | if asd.Name=="ttx" then | |
| 927 | wait(5) | |
| 928 | if not workspace['ttx'] then | |
| 929 | local f=backup:clone() | |
| 930 | f.Parent=workspace | |
| 931 | p=f | |
| 932 | end | |
| 933 | end | |
| 934 | end) | |
| 935 | coroutine.resume(coroutine.create(function() | |
| 936 | while wait(4) do | |
| 937 | if not workspace['ttx'] then | |
| 938 | local abc=backup:clone() | |
| 939 | abc.Parent=workspace | |
| 940 | p=abc | |
| 941 | end | |
| 942 | end | |
| 943 | - | ]] |
| 943 | + | |
| 944 | ]] | |
| 945 | coroutine.resume(coroutine.create(function() | |
| 946 | local a=p.Position | |
| 947 | wait(0.02) | |
| 948 | if p.Position~=a then | |
| 949 | s5.Pitch=s5.Pitch+0.035 | |
| 950 | else | |
| 951 | s5.Pitch=1 | |
| 952 | end | |
| 953 | end)) | |
| 954 | --[[ | |
| 955 | while wait() do | |
| 956 | local fx=Instance.new("Part")
| |
| 957 | fx.FormFactor="Custom" | |
| 958 | fx.Anchored=true | |
| 959 | fx.TopSurface="Smooth" | |
| 960 | fx.BottomSurface="Smooth" | |
| 961 | fx.Size=Vector3.new(0.4,0.4,0.4) | |
| 962 | fx.CFrame=p.CFrame*CFrame.new(math.random(1,3),math.random(3,4),math.random(1,3)) | |
| 963 | if sound==true then | |
| 964 | sel.Color=BrickColor.Random() | |
| 965 | end | |
| 966 | if engulfed==true then | |
| 967 | p.Transparency=1 | |
| 968 | pc.Transparency=1 | |
| 969 | sel.Transparency=1 | |
| 970 | sel2.Transparency=1 | |
| 971 | end | |
| 972 | coroutine.wrap(function() | |
| 973 | local walrus=0 | |
| 974 | while fx~=nil do | |
| 975 | wait() | |
| 976 | walrus=walrus+0.02 | |
| 977 | fx.CFrame=fx.CFrame*(p.CFrame)*CFrame.new(0,walrus,0) | |
| 978 | end | |
| 979 | end)() | |
| 980 | game.Debris:addItem(fx,3) | |
| 981 | end | |
| 982 | ]] | |
| 983 | local player=game.Players.LocalPlayer | |
| 984 | local char=player.Character | |
| 985 | repeat wait() until player and char | |
| 986 | local torso=char.Torso | |
| 987 | local head=char.Head | |
| 988 | local human=char.Humanoid | |
| 989 | local hat | |
| 990 | for i, v in pairs(char:children()) do if v:isA("Hat") then hat=v end end
| |
| 991 | local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
| |
| 992 | local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
| |
| 993 | local c=function(f) coroutine.resume(coroutine.create(f)) end | |
| 994 | pcall(function() torso.roblox:clone().Parent=fake.Torso torso.roblox:remove() head.face:remove() for i, v in pairs(char:children()) do if v.ClassName=="Hat" then v:remove() end v.Transparency=1 end end) | |
| 995 | local add={
| |
| 996 | Part=function(par, a, c, col, t, s, cf) | |
| 997 | local p=Instance.new("Part", par) p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new()
| |
| 998 | return p | |
| 999 | end, | |
| 1000 | Weld=function(par, p1, cf) | |
| 1001 | local w=Instance.new("Weld", par) w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new()
| |
| 1002 | return w | |
| 1003 | end, | |
| 1004 | Mesh=function(ins, par, s, of, t) | |
| 1005 | local m=Instance.new(ins, par) m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() pcall(function() m.MeshType=t end) | |
| 1006 | return m | |
| 1007 | end | |
| 1008 | } | |
| 1009 | local scriptname="Flash" | |
| 1010 | pcall(function() char[scriptname]:remove() end) | |
| 1011 | local model=Instance.new("Model", char) model.Name=scriptname
| |
| 1012 | local bin=Instance.new("HopperBin", player.Backpack) bin.Name=model.Name
| |
| 1013 | local skincolor="Really black" | |
| 1014 | local fake={}
| |
| 1015 | local weld={}
| |
| 1016 | local mesh={}
| |
| 1017 | fake.arm={}
| |
| 1018 | fake.leg={}
| |
| 1019 | fake.torso=nil | |
| 1020 | fake.Mesh={} fake.Weld={}
| |
| 1021 | --====-- | |
| 1022 | weld.arm={}
| |
| 1023 | weld.leg={}
| |
| 1024 | weld.torso=nil | |
| 1025 | --====-- | |
| 1026 | mesh.arm={}
| |
| 1027 | mesh.leg={}
| |
| 1028 | --==FAKE, MESH, WELDZ==-- | |
| 1029 | fake.arm.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) | |
| 1030 | fake.arm.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) | |
| 1031 | fake.leg.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) | |
| 1032 | fake.leg.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) | |
| 1033 | fake.torso=add.Part(model, false, false, skincolor, 0, Vector3.new(2, 2, 1), nil) | |
| 1034 | fake.head=head:clone() fake.head.Parent=model fake.head.BrickColor=BrickColor.new(skincolor) fake.head.Transparency=0 | |
| 1035 | ------------------------- | |
| 1036 | mesh.arm.left=add.Mesh("BlockMesh", fake.arm.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
| |
| 1037 | mesh.arm.right=add.Mesh("BlockMesh", fake.arm.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
| |
| 1038 | mesh.leg.left=add.Mesh("BlockMesh", fake.leg.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
| |
| 1039 | mesh.leg.right=add.Mesh("BlockMesh", fake.leg.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
| |
| 1040 | ------------------------- | |
| 1041 | weld.arm.left=add.Weld(fake.arm.left, fake.torso, CFrame.new(-1.5, .5, 0)) | |
| 1042 | weld.arm.right=add.Weld(fake.arm.right, fake.torso, CFrame.new(1.5, .5, 0)) | |
| 1043 | weld.leg.left=add.Weld(fake.leg.left, fake.torso, CFrame.new(-.5, -1.5, 0)) | |
| 1044 | weld.leg.right=add.Weld(fake.leg.right, fake.torso, CFrame.new(.5, -1.5, 0)) | |
| 1045 | weld.torso=add.Weld(torso, fake.torso, nil) | |
| 1046 | weld.head=add.Weld(fake.head, fake.torso, CFrame.new(0, 1.5, 0)) | |
| 1047 | pcall(function() torso.roblox:remove() head.face:remove() for i, v in pairs(char:children()) do if v.ClassName=="Hat" then v:remove() end v.Transparency=1 end end) | |
| 1048 | --==MANA==-- | |
| 1049 | local gui=Instance.new("ScreenGui", player.PlayerGui)
| |
| 1050 | local label=Instance.new("TextLabel", gui)
| |
| 1051 | label.Text="--==100%==--" | |
| 1052 | label.Position=UDim2.new(0, 0, 0, 200) | |
| 1053 | label.Size=UDim2.new(0, 200, 0, 20) | |
| 1054 | label.BorderColor=BrickColor.Black() label.BackgroundColor=BrickColor.Black() | |
| 1055 | label.TextColor=BrickColor.Black() | |
| 1056 | local charge=label:clone() charge.Parent=label | |
| 1057 | charge.Position=UDim2.new() | |
| 1058 | charge.Text="" | |
| 1059 | charge.Size=UDim2.new(1, 0, 1, 0) | |
| 1060 | charge.BorderColor=BrickColor.Black() charge.BackgroundColor=BrickColor.Black() charge.Transparency=.5 | |
| 1061 | ---------------------------------------------------------------------------------------------- | |
| 1062 | local walkspeed=110 --Flash :D | |
| 1063 | local dmg=math.random(45, 78) | |
| 1064 | local rundeb=false | |
| 1065 | local tdeb=false | |
| 1066 | local hDeb=false | |
| 1067 | ||
| 1068 | function hit(h) | |
| 1069 | local humanoid=h.Parent:findFirstChild("Humanoid")
| |
| 1070 | if humanoid and h.Parent~=char and hDeb==false then | |
| 1071 | hDeb=true | |
| 1072 | --c(function() | |
| 1073 | local fakeP=add.Part(workspace, true, false, "Black", 0, Vector3.new(1, 1, 1), CFrame.new(h.CFrame.p, torso.CFrame.p)) | |
| 1074 | local mesh=add.Mesh("SpecialMesh", fakeP, Vector3.new(1, 1, 1), nil, "File") mesh.MeshId="http://www.roblox.com/asset/?id=3270017"
| |
| 1075 | c(function() | |
| 1076 | for i=0, 1, .05 do | |
| 1077 | wait() | |
| 1078 | fakeP.Mesh.Scale=fakeP.Mesh.Scale+Vector3.new(i, i, 0) | |
| 1079 | end | |
| 1080 | fakeP:remove() | |
| 1081 | end) | |
| 1082 | c(function() | |
| 1083 | for i=0, 1, .05 do | |
| 1084 | wait() | |
| 1085 | fakeP.Transparency=0.5 | |
| 1086 | end | |
| 1087 | end) | |
| 1088 | humanoid.Health=humanoid.Health-dmg | |
| 1089 | local fakeM=Instance.new("Model", workspace) fakeM.Name=dmg
| |
| 1090 | local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
| |
| 1091 | local fakeP=add.Part(fakeM, false, false, "Bright red", 0, Vector3.new(1, 1, 1), h.CFrame) fakeP.Name="Head" | |
| 1092 | local fakeMesh=add.Mesh("CylinderMesh", fakeP, Vector3.new(1, .2, 1), nil, nil)
| |
| 1093 | local bp=Instance.new("BodyPosition", fakeP) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=h.Position+Vector3.new(0, 4, 0)
| |
| 1094 | game.Debris:addItem(fakeM, 2) | |
| 1095 | pcall(function()h.Parent:findFirstChild("Torso").RotVelocity=fake.torso.RotVelocity*math.random(-1000, 1000)end)
| |
| 1096 | pcall(function()h.Parent:findFirstChild("Torso").Velocity=fake.torso.Velocity*math.random(-1000, 1000)end)
| |
| 1097 | wait() | |
| 1098 | hDeb=false | |
| 1099 | --end) | |
| 1100 | end | |
| 1101 | end | |
| 1102 | ||
| 1103 | function trail(pos, cf, col) | |
| 1104 | c(function() | |
| 1105 | local old=(pos.CFrame*cf).p | |
| 1106 | while tdeb==true do | |
| 1107 | wait() | |
| 1108 | local new=(pos.CFrame*cf).p | |
| 1109 | local mag=(old-new).magnitude | |
| 1110 | local dis=(old+new)/2 | |
| 1111 | local trail=add.Part(workspace, true, false, col, 0, Vector3.new(1, mag, 1), CFrame.new(dis, new)*CFrame.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))*CFrame.Angles(math.pi/2, 0, 0)) | |
| 1112 | local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(.5, 1, .5), nil, nil)
| |
| 1113 | trail.Touched:connect(hit) | |
| 1114 | old=new | |
| 1115 | c(function() | |
| 1116 | for i=1, 0, -.2 do | |
| 1117 | wait() | |
| 1118 | trail.Mesh.Scale=trail.Mesh.Scale*Vector3.new(i, 1, i) | |
| 1119 | end | |
| 1120 | trail:remove() | |
| 1121 | end) | |
| 1122 | c(function() | |
| 1123 | for i=0, 1, .2 do | |
| 1124 | wait() | |
| 1125 | trail.Transparency=i | |
| 1126 | end | |
| 1127 | end) | |
| 1128 | end | |
| 1129 | end) | |
| 1130 | end | |
| 1131 | bin.Selected:connect(function(mouse) | |
| 1132 | for i, v in pairs(model:children()) do tdeb=true trail(v, CFrame.new(), "Black") end | |
| 1133 | c(function() while true do wait() for i, v in pairs(model:children()) do v.Touched:connect(hit) end end end) | |
| 1134 | human.WalkSpeed=walkspeed | |
| 1135 | human.MaxHealth=math.huge | |
| 1136 | human.Running:connect(function(speed) | |
| 1137 | if speed>0 then | |
| 1138 | for i=0, 1, .1 do | |
| 1139 | wait() | |
| 1140 | weld.torso.C1=CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(15)*i, 0, 0) | |
| 1141 | weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45)*i) | |
| 1142 | weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, math.rad(45)*i) | |
| 1143 | end | |
| 1144 | while speed>0 do | |
| 1145 | wait() | |
| 1146 | for i=0, 1, .1 do | |
| 1147 | wait() | |
| 1148 | weld.leg.left.C1=CFrame.new(-.5, -1.5, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0) | |
| 1149 | weld.leg.right.C1=CFrame.new(.5, -1.5, 0)*CFrame.Angles(math.rad(45)*i, 0, 0) | |
| 1150 | weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45)) | |
| 1151 | weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)-(-math.rad(45)*i), 0, math.rad(45)) | |
| 1152 | end | |
| 1153 | for i=1, 0, -.1 do | |
| 1154 | wait() | |
| 1155 | weld.leg.left.C1=CFrame.new(-.5, -1.5, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0) | |
| 1156 | weld.leg.right.C1=CFrame.new(.5, -1.5, 0)*CFrame.Angles(math.rad(45)*i, 0, 0) | |
| 1157 | weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45)) | |
| 1158 | weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)-(-math.rad(45)*i), 0, math.rad(45)) | |
| 1159 | end | |
| 1160 | end | |
| 1161 | end | |
| 1162 | end) | |
| 1163 | end)--mediafire |