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