SHOW:
|
|
- or go back to the newest paste.
| 1 | -----------/The final explosion\\----------- | |
| 2 | --[[Movelist | |
| 3 | Instant explosion. | |
| 4 | ---------]] | |
| 5 | ||
| 6 | Player=game:GetService("Players").LocalPlayer
| |
| 7 | Character=Player.Character | |
| 8 | Character.Humanoid.Name = "noneofurbusiness" | |
| 9 | hum = Character.noneofurbusiness | |
| 10 | LeftArm=Character["Left Arm"] | |
| 11 | LeftLeg=Character["Left Leg"] | |
| 12 | RightArm=Character["Right Arm"] | |
| 13 | RightLeg=Character["Right Leg"] | |
| 14 | Root=Character["HumanoidRootPart"] | |
| 15 | Head=Character["Head"] | |
| 16 | Torso=Character["Torso"] | |
| 17 | Neck=Torso["Neck"] | |
| 18 | place = Torso | |
| 19 | hum.WalkSpeed = 0 | |
| 20 | hum.JumpPower = 0 | |
| 21 | ||
| 22 | speechmusic = Instance.new("Sound",workspace)
| |
| 23 | speechmusic.SoundId = "rbxassetid://4675042328" | |
| 24 | speechmusic.Volume = 10 | |
| 25 | speechmusic:Play() | |
| 26 | ||
| 27 | wait(60) | |
| 28 | ||
| 29 | speechmusic:Stop() | |
| 30 | ||
| 31 | screenGui = Instance.new("ScreenGui")
| |
| 32 | screenGui.Parent = script.Parent | |
| 33 | speech = Instance.new("Sound",workspace)
| |
| 34 | speech.SoundId = "rbxassetid://2124080151" | |
| 35 | speech.Volume = 10 | |
| 36 | speech:Play() | |
| 37 | framee = Instance.new("Frame")
| |
| 38 | framee.Parent = screenGui | |
| 39 | framee.Position = UDim2.new(0, 8, 0, -500) | |
| 40 | framee.Size = UDim2.new(100000000,10000000,10000000,10000000) | |
| 41 | framee.BackgroundColor3 = BrickColor.new("White").Color
| |
| 42 | framee.BackgroundTransparency = 1 | |
| 43 | for i = 1, 10 do | |
| 44 | framee.BackgroundTransparency = framee.BackgroundTransparency - .1 | |
| 45 | wait() | |
| 46 | end | |
| 47 | imageLabelo = Instance.new("ImageLabel")
| |
| 48 | imageLabelo.Parent = screenGui | |
| 49 | imageLabelo.BackgroundTransparency = 1 | |
| 50 | imageLabelo.ImageTransparency = 0 | |
| 51 | imageLabelo.Position = UDim2.new(0, 0, 0, -50) | |
| 52 | imageLabelo.Size = UDim2.new(0, 1370, 0, 750) | |
| 53 | imageLabelo.Image = "rbxassetid://2124079039" | |
| 54 | wait(6) | |
| 55 | imageLabelo2 = Instance.new("ImageLabel")
| |
| 56 | imageLabelo2.Parent = screenGui | |
| 57 | imageLabelo2.BackgroundTransparency = 1 | |
| 58 | imageLabelo2.ImageTransparency = 1 | |
| 59 | imageLabelo2.Position = UDim2.new(0, 0, 0, -50) | |
| 60 | imageLabelo2.Size = UDim2.new(0, 1370, 0, 750) | |
| 61 | imageLabelo2.Image = "rbxassetid://2124078787" | |
| 62 | for i = 1, 50 do | |
| 63 | imageLabelo.ImageTransparency = imageLabelo.ImageTransparency + 0.025 | |
| 64 | imageLabelo2.ImageTransparency = imageLabelo2.ImageTransparency - 0.025 | |
| 65 | wait() | |
| 66 | end | |
| 67 | wait(2.9) | |
| 68 | for i = 1, 10 do | |
| 69 | framee.BackgroundTransparency = framee.BackgroundTransparency + .1 | |
| 70 | imageLabelo2.ImageTransparency = imageLabelo2.ImageTransparency + .1 | |
| 71 | wait() | |
| 72 | end | |
| 73 | imageLabelo:Remove() | |
| 74 | imageLabelo2:Remove() | |
| 75 | ||
| 76 | pcall(function() | |
| 77 | ||
| 78 | camera = workspace.CurrentCamera | |
| 79 | camera.CameraType = Enum.CameraType.Scriptable | |
| 80 | camera.CoordinateFrame = Torso.CFrame * CFrame.new(0,5,-15) * CFrame.Angles(0,math.rad(180),0) | |
| 81 | coroutine.wrap(function() | |
| 82 | for i = 1, 75 do | |
| 83 | wait() | |
| 84 | end | |
| 85 | gf = 5 | |
| 86 | fg = -30 | |
| 87 | for i = 1, 580 do | |
| 88 | gf = gf + 0 | |
| 89 | fg = fg + 2.5 | |
| 90 | camera.CoordinateFrame = Torso.CFrame * CFrame.new(0,5 + gf,-15 - fg ) * CFrame.Angles(0,math.rad(180),0) | |
| 91 | wait() | |
| 92 | end | |
| 93 | for i = 1, 250 do | |
| 94 | wait() | |
| 95 | end | |
| 96 | coroutine.wrap(function() | |
| 97 | for i = 1, 1000 do | |
| 98 | for i,v in pairs(hum.Parent:GetDescendants()) do | |
| 99 | if v:IsA("Part") then v.Transparency = v.Transparency + 0.025
| |
| 100 | end | |
| 101 | end | |
| 102 | wait() | |
| 103 | end | |
| 104 | end)() | |
| 105 | camera.CameraType = Enum.CameraType.Custom | |
| 106 | end)() | |
| 107 | end) | |
| 108 | ||
| 109 | local remote = NS ([==[ | |
| 110 | Player=owner | |
| 111 | Character=Player.Character | |
| 112 | Character.Humanoid.Name = "noneofurbusiness" | |
| 113 | hum = Character.noneofurbusiness | |
| 114 | LeftArm=Character["Left Arm"] | |
| 115 | LeftLeg=Character["Left Leg"] | |
| 116 | RightArm=Character["Right Arm"] | |
| 117 | RightLeg=Character["Right Leg"] | |
| 118 | Root=Character["HumanoidRootPart"] | |
| 119 | Head=Character["Head"] | |
| 120 | Torso=Character["Torso"] | |
| 121 | Neck=Torso["Neck"] | |
| 122 | walking = false | |
| 123 | jumping = false | |
| 124 | allowgrassy = false | |
| 125 | zxc = false | |
| 126 | matte = nil | |
| 127 | colori = nil | |
| 128 | bigball = false | |
| 129 | attacking = false | |
| 130 | laughing = false | |
| 131 | running = false | |
| 132 | downpress = false | |
| 133 | taim = nil | |
| 134 | change = 0 | |
| 135 | ws = 0 | |
| 136 | jp = 0 | |
| 137 | appi = false | |
| 138 | tauntdebounce = false | |
| 139 | position = nil | |
| 140 | lastexplosion = false | |
| 141 | staybooming = false | |
| 142 | MseGuide = true | |
| 143 | levitate = false | |
| 144 | firsttime5 = false | |
| 145 | notallowedtransform = false | |
| 146 | settime = 0 | |
| 147 | firsttime2 = false | |
| 148 | sine = 0 | |
| 149 | t = 0 | |
| 150 | combo1 = true | |
| 151 | dgs = 75 | |
| 152 | combo2 = false | |
| 153 | firsttime3 = false | |
| 154 | combo3 = false | |
| 155 | local bl = {907530553,907527750,907527912}
| |
| 156 | colortable = {"Really black","Really red"}
| |
| 157 | colors = #colortable | |
| 158 | blz = #bl | |
| 159 | local aces = {1880203893,1881287656,1881287420,1881288034}
| |
| 160 | ace = #aces | |
| 161 | local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475}
| |
| 162 | laugh = #laughs | |
| 163 | mouse = Player:GetMouse() | |
| 164 | RunSrv = game:GetService("RunService")
| |
| 165 | RenderStepped = game:GetService("RunService").RenderStepped
| |
| 166 | removeuseless = game:GetService("Debris")
| |
| 167 | damageall={}
| |
| 168 | Repeater={}
| |
| 169 | Repeater2={}
| |
| 170 | magictable={}
| |
| 171 | nonmeshRepeater={}
| |
| 172 | nonmeshRepeater2={}
| |
| 173 | dmgii={}
| |
| 174 | DamageAll2={}
| |
| 175 | SlowlyFade={}
| |
| 176 | th1={}
| |
| 177 | lolzor={}
| |
| 178 | lolzor2={}
| |
| 179 | th2={}
| |
| 180 | keyYsize={}
| |
| 181 | blocktrail={}
| |
| 182 | keyYtransparency={}
| |
| 183 | th3={}
| |
| 184 | laughingtable={}
| |
| 185 | Extreme={}
| |
| 186 | ExtremeM={}
| |
| 187 | ExtremeM2={}
| |
| 188 | m3={}
| |
| 189 | th4={}
| |
| 190 | th5={}
| |
| 191 | UpMover={}
| |
| 192 | openshocktable={}
| |
| 193 | LessSize={}
| |
| 194 | ForwardMover={}
| |
| 195 | FadeIn={}
| |
| 196 | signtransparency={}
| |
| 197 | signmover={}
| |
| 198 | signrotator={}
| |
| 199 | ||
| 200 | FireBall = Instance.new("Sound",LeftArm)
| |
| 201 | FireBall.SoundId = "rbxassetid://842332424" | |
| 202 | FireBall.Volume = 5 | |
| 203 | FireBall.Pitch = 2.5 | |
| 204 | ||
| 205 | BigFireBall = Instance.new("Sound",LeftArm)
| |
| 206 | BigFireBall.SoundId = "rbxassetid://842332424" | |
| 207 | BigFireBall.Volume = 8 | |
| 208 | BigFireBall.Pitch = 1.5 | |
| 209 | ||
| 210 | local HEADLERP = Instance.new("ManualWeld")
| |
| 211 | HEADLERP.Parent = Head | |
| 212 | HEADLERP.Part0 = Head | |
| 213 | HEADLERP.Part1 = Torso | |
| 214 | HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 215 | ||
| 216 | local TORSOLERP = Instance.new("ManualWeld")
| |
| 217 | TORSOLERP.Parent = Root | |
| 218 | TORSOLERP.Part0 = Torso | |
| 219 | TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 220 | ||
| 221 | local ROOTLERP = Instance.new("ManualWeld")
| |
| 222 | ROOTLERP.Parent = Root | |
| 223 | ROOTLERP.Part0 = Root | |
| 224 | ROOTLERP.Part1 = Torso | |
| 225 | ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 226 | ||
| 227 | local RIGHTARMLERP = Instance.new("ManualWeld")
| |
| 228 | RIGHTARMLERP.Parent = RightArm | |
| 229 | RIGHTARMLERP.Part0 = RightArm | |
| 230 | RIGHTARMLERP.Part1 = Torso | |
| 231 | RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 232 | ||
| 233 | local LEFTARMLERP = Instance.new("ManualWeld")
| |
| 234 | LEFTARMLERP.Parent = LeftArm | |
| 235 | LEFTARMLERP.Part0 = LeftArm | |
| 236 | LEFTARMLERP.Part1 = Torso | |
| 237 | LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 238 | ||
| 239 | local RIGHTLEGLERP = Instance.new("ManualWeld")
| |
| 240 | RIGHTLEGLERP.Parent = RightLeg | |
| 241 | RIGHTLEGLERP.Part0 = RightLeg | |
| 242 | RIGHTLEGLERP.Part1 = Torso | |
| 243 | RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 244 | ||
| 245 | local LEFTLEGLERP = Instance.new("ManualWeld")
| |
| 246 | LEFTLEGLERP.Parent = LeftLeg | |
| 247 | LEFTLEGLERP.Part0 = LeftLeg | |
| 248 | LEFTLEGLERP.Part1 = Torso | |
| 249 | LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 250 | ||
| 251 | local function weldBetween(a, b) | |
| 252 | local weld = Instance.new("ManualWeld", a)
| |
| 253 | weld.Part0 = a | |
| 254 | weld.Part1 = b | |
| 255 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 256 | return weld | |
| 257 | end | |
| 258 | ||
| 259 | function makeblockytrail() | |
| 260 | coroutine.wrap(function() | |
| 261 | while true do | |
| 262 | for i,v in pairs(blocktrail) do | |
| 263 | smke = Instance.new("Part",v)
| |
| 264 | smke.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
| 265 | smke.Material = "Neon" | |
| 266 | smke.Anchored = true | |
| 267 | smke.CanCollide = false | |
| 268 | removeuseless:AddItem(smke,2) | |
| 269 | end | |
| 270 | swait() | |
| 271 | end | |
| 272 | end)() | |
| 273 | end | |
| 274 | ||
| 275 | local function ci(x, c, y, n) | |
| 276 | so = Instance.new("Sound", x)
| |
| 277 | so.SoundId = c | |
| 278 | so.Volume = y | |
| 279 | so.Looped = n | |
| 280 | end | |
| 281 | ||
| 282 | function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR) | |
| 283 | A = Instance.new("Attachment", PARENT)
| |
| 284 | A.Position = POSITION1 | |
| 285 | A.Name = "A" | |
| 286 | B = Instance.new("Attachment", PARENT)
| |
| 287 | B.Position = POSITION2 | |
| 288 | B.Name = "B" | |
| 289 | tr1 = Instance.new("Trail", PARENT)
| |
| 290 | tr1.Attachment0 = A | |
| 291 | tr1.Attachment1 = B | |
| 292 | tr1.Enabled = true | |
| 293 | tr1.Lifetime = LIFETIME | |
| 294 | tr1.TextureMode = "Static" | |
| 295 | tr1.LightInfluence = 0 | |
| 296 | tr1.Color = COLOR | |
| 297 | tr1.Transparency = NumberSequence.new(0, 1) | |
| 298 | end | |
| 299 | ||
| 300 | function clean() | |
| 301 | damageall={}
| |
| 302 | Repeater={}
| |
| 303 | Repeater2={}
| |
| 304 | nonmeshRepeater={}
| |
| 305 | nonmeshRepeater2={}
| |
| 306 | dmgii={}
| |
| 307 | DamageAll2={}
| |
| 308 | SlowlyFade={}
| |
| 309 | th1={}
| |
| 310 | th2={}
| |
| 311 | th3={}
| |
| 312 | Extreme={}
| |
| 313 | ExtremeM={}
| |
| 314 | ExtremeM2={}
| |
| 315 | m3={}
| |
| 316 | th4={}
| |
| 317 | th5={}
| |
| 318 | UpMover={}
| |
| 319 | openshocktable={}
| |
| 320 | LessSize={}
| |
| 321 | ForwardMover={}
| |
| 322 | FadeIn={}
| |
| 323 | signtransparency={}
| |
| 324 | signmover={}
| |
| 325 | signrotator={}
| |
| 326 | end | |
| 327 | ||
| 328 | coroutine.wrap(function() | |
| 329 | while wait() do | |
| 330 | hum.WalkSpeed = ws | |
| 331 | hum.JumpPower = jp | |
| 332 | end | |
| 333 | end)() | |
| 334 | godmode = coroutine.wrap(function() | |
| 335 | for i,v in pairs(Character:GetChildren()) do | |
| 336 | if v:IsA("BasePart") and v ~= Root then
| |
| 337 | v.Anchored = false | |
| 338 | end | |
| 339 | end | |
| 340 | while true do | |
| 341 | hum.MaxHealth = math.huge | |
| 342 | wait(0.0000001) | |
| 343 | hum.Health = math.huge | |
| 344 | wait() | |
| 345 | end | |
| 346 | end) | |
| 347 | godmode() | |
| 348 | ff = Instance.new("ForceField", Character)
| |
| 349 | ff.Visible = false | |
| 350 | ||
| 351 | coroutine.wrap(function() | |
| 352 | for i,v in pairs(Character:GetChildren()) do | |
| 353 | if v.Name == "Animate" then v:Remove() | |
| 354 | end | |
| 355 | end | |
| 356 | end)() | |
| 357 | ||
| 358 | function damagealll(Radius,Position) | |
| 359 | local Returning = {}
| |
| 360 | for _,v in pairs(workspace:GetChildren()) do | |
| 361 | if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
| |
| 362 | if v:FindFirstChild("Torso") then
| |
| 363 | local Mag = (v.Torso.Position - Position).magnitude | |
| 364 | if Mag < Radius then | |
| 365 | table.insert(Returning,v) | |
| 366 | end | |
| 367 | elseif v:FindFirstChild("UpperTorso") then
| |
| 368 | local Mag = (v.UpperTorso.Position - Position).magnitude | |
| 369 | if Mag < Radius then | |
| 370 | table.insert(Returning,v) | |
| 371 | end | |
| 372 | end | |
| 373 | end | |
| 374 | end | |
| 375 | return Returning | |
| 376 | end | |
| 377 | ||
| 378 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 379 | ArtificialHB.Name = "Heartbeat" | |
| 380 | script:WaitForChild("Heartbeat")
| |
| 381 | ||
| 382 | frame = 1 / 60 | |
| 383 | tf = 0 | |
| 384 | allowframeloss = false | |
| 385 | tossremainder = false | |
| 386 | ||
| 387 | ||
| 388 | lastframe = tick() | |
| 389 | script.Heartbeat:Fire() | |
| 390 | ||
| 391 | ||
| 392 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 393 | tf = tf + s | |
| 394 | if tf >= frame then | |
| 395 | if allowframeloss then | |
| 396 | script.Heartbeat:Fire() | |
| 397 | lastframe = tick() | |
| 398 | else | |
| 399 | for i = 1, math.floor(tf / frame) do | |
| 400 | script.Heartbeat:Fire() | |
| 401 | end | |
| 402 | lastframe = tick() | |
| 403 | end | |
| 404 | if tossremainder then | |
| 405 | tf = 0 | |
| 406 | else | |
| 407 | tf = tf - frame * math.floor(tf / frame) | |
| 408 | end | |
| 409 | end | |
| 410 | end) | |
| 411 | ||
| 412 | function swait(num) | |
| 413 | if num == 0 or num == nil then | |
| 414 | game:service("RunService").Stepped:wait(0)
| |
| 415 | else | |
| 416 | for i = 0, num do | |
| 417 | game:service("RunService").Stepped:wait(0)
| |
| 418 | end | |
| 419 | end | |
| 420 | end | |
| 421 | ||
| 422 | ||
| 423 | function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
| 424 | so = Instance.new("Sound")
| |
| 425 | so.Parent = PARENT | |
| 426 | so.SoundId = "rbxassetid://"..ID | |
| 427 | so.Volume = VOL | |
| 428 | so.Looped = LOOP | |
| 429 | so:Play() | |
| 430 | removeuseless:AddItem(so,REMOVE) | |
| 431 | end | |
| 432 | ||
| 433 | warn("I'm gonna crush you, and throw you into the wind. Made by Supr14")
| |
| 434 | ||
| 435 | function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 436 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 437 | end | |
| 438 | ||
| 439 | function ray2(StartPos, EndPos, Distance, Ignore) | |
| 440 | local DIRECTION = CFrame.new(StartPos,EndPos).lookVector | |
| 441 | return ray(StartPos, DIRECTION, Distance, Ignore) | |
| 442 | end | |
| 443 | sacrifice = Instance.new("Sound",Torso)
| |
| 444 | sacrifice.SoundId = "rbxassetid://2123165301" | |
| 445 | sacrifice.Volume = 10 | |
| 446 | sacrifice:Play() | |
| 447 | explosiontable = {}
| |
| 448 | x = 0 | |
| 449 | coroutine.wrap(function() | |
| 450 | for i = 1, 400 do | |
| 451 | swait() | |
| 452 | x = x + 15 | |
| 453 | for i,v in pairs(explosiontable) do | |
| 454 | v.Scale = v.Scale + Vector3.new(4,.6,4) | |
| 455 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(x),0) | |
| 456 | v.Parent.Transparency = v.Parent.Transparency + .025 | |
| 457 | end | |
| 458 | end | |
| 459 | end)() | |
| 460 | coroutine.wrap(function() | |
| 461 | for i = 1, 25 do | |
| 462 | shockwave3 = Instance.new("Part", Torso)
| |
| 463 | shockwave3.Size = Vector3.new(1,1,1) | |
| 464 | shockwave3.CanCollide = false | |
| 465 | shockwave3.Anchored = true | |
| 466 | shockwave3.Name = "shockwav" | |
| 467 | shockwave3.Transparency = .5 | |
| 468 | shockwave3.BrickColor = BrickColor.new("White")
| |
| 469 | shockwave3.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0) | |
| 470 | shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
| |
| 471 | shockwavemesh3.Scale = Vector3.new(1,1,1) | |
| 472 | shockwavemesh3.MeshId = "rbxassetid://20329976" | |
| 473 | table.insert(explosiontable,shockwavemesh3) | |
| 474 | swait(5) | |
| 475 | end | |
| 476 | end)() | |
| 477 | for i = 1, 50 do | |
| 478 | settime = 0.05 | |
| 479 | sine = sine + change | |
| 480 | change = 1 | |
| 481 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.5) | |
| 482 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),.5) | |
| 483 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1,.3) * CFrame.Angles(math.rad(-100),math.rad(-13 + 2 *math.sin(sine/1)),math.rad(5 * math.sin(sine/1))), 0.5) | |
| 484 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1,.3) * CFrame.Angles(math.rad(-100),math.rad(13 + 2 *math.sin(sine/1)),math.rad(5 * math.sin(sine/1))), 0.5) | |
| 485 | RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.5) | |
| 486 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, -.25) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.5) | |
| 487 | LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.5) | |
| 488 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, -.25) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.5) | |
| 489 | swait() | |
| 490 | end | |
| 491 | explosiontable2={}
| |
| 492 | explosiontable3={}
| |
| 493 | TheExplosion = Instance.new("Part",LeftArm)
| |
| 494 | TheExplosion.BrickColor = BrickColor.new("Bright yellow")
| |
| 495 | TheExplosion.Material = "Neon" | |
| 496 | TheExplosion.Shape = "Ball" | |
| 497 | TheExplosion.Anchored = true | |
| 498 | TheExplosion.CanCollide = false | |
| 499 | TheExplosion.CFrame = CFrame.new(Torso.Position) | |
| 500 | TheExplosion.Size = Vector3.new(8,8,8) | |
| 501 | TheExplosion.Transparency = 0.5 | |
| 502 | shockwave2 = Instance.new("Part", LeftArm)
| |
| 503 | shockwave2.Size = Vector3.new(1,1,1) | |
| 504 | shockwave2.CanCollide = false | |
| 505 | shockwave2.Anchored = true | |
| 506 | shockwave2.Transparency = 1 | |
| 507 | shockwave2.BrickColor = BrickColor.new("White")
| |
| 508 | shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0) | |
| 509 | shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
| |
| 510 | shockwavemesh2.Scale = Vector3.new(3,1,3) | |
| 511 | shockwavemesh2.MeshId = "rbxassetid://20329976" | |
| 512 | table.insert(explosiontable2,shockwavemesh2) | |
| 513 | shockwave = Instance.new("Part", LeftArm)
| |
| 514 | shockwave.Size = Vector3.new(1,1,1) | |
| 515 | shockwave.CanCollide = false | |
| 516 | shockwave.Anchored = true | |
| 517 | shockwave.Transparency = 1 | |
| 518 | shockwave.BrickColor = BrickColor.new("White")
| |
| 519 | shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-3,0) | |
| 520 | shockwavemesh = Instance.new("SpecialMesh", shockwave)
| |
| 521 | shockwavemesh.Scale = Vector3.new(3,1,3) | |
| 522 | shockwavemesh.MeshId = "rbxassetid://20329976" | |
| 523 | table.insert(explosiontable3,shockwavemesh) | |
| 524 | coroutine.wrap(function() | |
| 525 | for i = 1, 23 do | |
| 526 | TheExplosion.Transparency = 1 | |
| 527 | swait(1) | |
| 528 | TheExplosion.Transparency = 0.5 | |
| 529 | swait(1) | |
| 530 | end | |
| 531 | coroutine.wrap(function() | |
| 532 | for i = 1, 50 do | |
| 533 | wait(2.5) | |
| 534 | shocks = TheExplosion:Clone() | |
| 535 | shocks.Parent = Torso | |
| 536 | shocks.Name = "shock" | |
| 537 | swait() | |
| 538 | end | |
| 539 | end)() | |
| 540 | n = 0 | |
| 541 | f = 0 | |
| 542 | dmgal = 0 | |
| 543 | shockwave.Transparency = .5 | |
| 544 | shockwave2.Transparency = .5 | |
| 545 | for i = 1, 125 do | |
| 546 | dmgal = dmgal + .25 | |
| 547 | local Hit = damagealll(dmgal,TheExplosion.Position) | |
| 548 | for _,v in pairs(Hit) do | |
| 549 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10+dmgal,20+dmgal))
| |
| 550 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 551 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 552 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 553 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20 | |
| 554 | removeuseless:AddItem(vel,.1) | |
| 555 | end | |
| 556 | n = n + 16 | |
| 557 | f = f - 16 | |
| 558 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(.25,.05,.25) | |
| 559 | ||
| 560 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(.25,.05,.25) | |
| 561 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+7),0) | |
| 562 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0-7),0) | |
| 563 | ||
| 564 | TheExplosion.Transparency = TheExplosion.Transparency - .0040 | |
| 565 | TheExplosion.Size = TheExplosion.Size + Vector3.new(.25,.25,.25) | |
| 566 | swait() | |
| 567 | end | |
| 568 | for i = 1, 920 do | |
| 569 | dmgal = dmgal + 1 | |
| 570 | local Hit = damagealll(dmgal/1.5,TheExplosion.Position) | |
| 571 | for _,v in pairs(Hit) do | |
| 572 | v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10+dmgal,20+dmgal))
| |
| 573 | vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
| |
| 574 | vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999) | |
| 575 | torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
| |
| 576 | vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20 | |
| 577 | removeuseless:AddItem(vel,.1) | |
| 578 | end | |
| 579 | n = n + 4 | |
| 580 | f = f - 4 | |
| 581 | for i,v in pairs(explosiontable2) do | |
| 582 | v.Scale = v.Scale + Vector3.new(1,.1,1) | |
| 583 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0) | |
| 584 | end | |
| 585 | for i,v in pairs(explosiontable3) do | |
| 586 | v.Scale = v.Scale + Vector3.new(1,.1,1) | |
| 587 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(f),0) | |
| 588 | end | |
| 589 | TheExplosion.Transparency = TheExplosion.Transparency - .0025 | |
| 590 | TheExplosion.Size = TheExplosion.Size + Vector3.new(1,1,1) | |
| 591 | swait() | |
| 592 | end | |
| 593 | for i = 1, 850 do | |
| 594 | n = n + 18 | |
| 595 | f = f - 18 | |
| 596 | shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(1,.1,1) | |
| 597 | shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(1,.1,1) | |
| 598 | shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+14),0) | |
| 599 | shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0-14),0) | |
| 600 | TheExplosion.Transparency = TheExplosion.Transparency - .0025 | |
| 601 | swait() | |
| 602 | end | |
| 603 | coroutine.wrap(function() | |
| 604 | for i = 1, 1000 do | |
| 605 | for i,v in pairs(hum.Parent:GetDescendants()) do | |
| 606 | if v:IsA("Part") then v.Transparency = v.Transparency + 0.025
| |
| 607 | end | |
| 608 | end | |
| 609 | wait() | |
| 610 | end | |
| 611 | end)() | |
| 612 | for i = 1, 50 do | |
| 613 | n = n + 4 | |
| 614 | f = f - 4 | |
| 615 | for i,v in pairs(explosiontable2) do | |
| 616 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0) | |
| 617 | v.Parent.Transparency = v.Parent.Transparency + 0.05 | |
| 618 | end | |
| 619 | for i,v in pairs(explosiontable3) do | |
| 620 | v.Parent.CFrame = v.Parent.CFrame * CFrame.Angles(math.rad(0),math.rad(f),0) | |
| 621 | v.Parent.Transparency = v.Parent.Transparency + 0.05 | |
| 622 | end | |
| 623 | TheExplosion.Transparency = TheExplosion.Transparency + .015 | |
| 624 | swait() | |
| 625 | end | |
| 626 | for i,v in pairs(explosiontable2) do | |
| 627 | v:Remove() | |
| 628 | end | |
| 629 | for i,v in pairs(explosiontable3) do | |
| 630 | v:Remove() | |
| 631 | end | |
| 632 | TheExplosion:Remove() | |
| 633 | for i,v in pairs(Torso:GetChildren()) do | |
| 634 | if v.Name == "shocks" then | |
| 635 | v:Remove() | |
| 636 | end | |
| 637 | end | |
| 638 | hum.Parent:BreakJoints() | |
| 639 | for i = 1, 1500 do | |
| 640 | for i,v in pairs(Torso:GetChildren()) do | |
| 641 | if v.Name == "shocks" then | |
| 642 | for i = 1, 20 do | |
| 643 | v.Transparency = v.Transparency + 0.05 | |
| 644 | swait() | |
| 645 | end | |
| 646 | end | |
| 647 | end | |
| 648 | swait() | |
| 649 | end | |
| 650 | end)() | |
| 651 | for i = 1, 25 do | |
| 652 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 653 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4) | |
| 654 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1,0,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.4) | |
| 655 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.4) | |
| 656 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.4, 1.8, -.4) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-10)), 0.4) | |
| 657 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.4, 1.8, -.4) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(10)), 0.4) | |
| 658 | swait() | |
| 659 | end | |
| 660 | lastexplosion = true | |
| 661 | for i = 1, 400 do | |
| 662 | HEADLERP.C0 = HEADLERP.C0:lerp(CFrame.new(0, -1.45, .1) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05) | |
| 663 | ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.25,0) * CFrame.Angles(math.rad(30),math.rad(0),math.rad(0)),.05) | |
| 664 | LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5, 2, .3) * CFrame.Angles(math.rad(14), math.rad(-20), math.rad(90)), 0.05) | |
| 665 | RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, .3) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.05) | |
| 666 | RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3, 2, .5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-10)), 0.05) | |
| 667 | LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3, 2, .5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(10)), 0.05) | |
| 668 | swait() | |
| 669 | end | |
| 670 | ]==], owner.Character):WaitForChild 'ServerRemote'; | |
| 671 | mouse = owner:GetMouse (); |