Advertisement
AxeuerAlt

Untitled

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