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