Advertisement
AxeuerAlt

Toxic Magic Script Part 2

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