Advertisement
MysteriousL

Transform test

Jul 22nd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 165.91 KB | None | 0 0
  1. local p = game.Players.LocalPlayer
  2. local char = p.Character
  3. local mouse = p:GetMouse()
  4. local larm = char["Left Arm"]
  5. local rarm = char["Right Arm"]
  6. local lleg = char["Left Leg"]
  7. local rleg = char["Right Leg"]
  8. local hed = char.Head
  9. local torso = char.Torso
  10. local hum = char.Humanoid
  11. local cam = game.Workspace.CurrentCamera
  12. local root = char.HumanoidRootPart
  13.  
  14. local particleemitter = Instance.new("ParticleEmitter", torso)
  15. particleemitter.VelocitySpread = 180
  16. particleemitter.LockedToPart = true
  17. particleemitter.Lifetime = NumberRange.new(0.1)
  18. particleemitter.Speed = NumberRange.new(2)
  19. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  20. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  21. particleemitter.Rate = 100
  22. particleemitter.Rotation = NumberRange.new(-45, 45)
  23. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  24. particleemitter.LightEmission = 0
  25. particleemitter.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(0, 0, 255))
  26.  
  27. s = Instance.new('Sound',char)
  28. s.SoundId = "rbxassetid://367193208" -- 356686094 = megalotrousle,414711562 = here we are,367193208 = SharaX DDYD
  29. s.Volume=3
  30. s.Pitch = 1
  31. s.Looped = true
  32. s:Play()
  33. local deb = false
  34. local shot = 0
  35. local debris=game:service"Debris"
  36. local l = game:GetService("Lighting")
  37. local rs = game:GetService("RunService").RenderStepped
  38. hum.MaxHealth = math.huge
  39. hum.Health = math.huge
  40. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  41. math.randomseed(os.time())
  42. for i,v in pairs (hed:GetChildren()) do
  43. if v:IsA("Sound") then
  44. v:Destroy()
  45. end
  46. end
  47.  
  48.  
  49. ----------------------------------------------------
  50. Debounces = {
  51. CanAttack = true;
  52. NoIdl = false;
  53. Slashing = false;
  54. Slashed = false;
  55. RPunch = false;
  56. RPunched = false;
  57. LPunch = false;
  58. LPunched = false;
  59. }
  60. local Touche = {char.Name, }
  61. ----------------------------------------------------
  62. hed.face.Texture = "rbxassetid://257837512"
  63. ----------------------------------------------------
  64. ypcall(function()
  65. char.Shirt:Destroy()
  66. char.Pants:Destroy()
  67. shirt = Instance.new("Shirt", char)
  68. shirt.Name = "Shirt"
  69. pants = Instance.new("Pants", char)
  70. pants.Name = "Pants"
  71. char.Shirt.ShirtTemplate = "rbxassetid://345371561"
  72. char.Pants.PantsTemplate = "rbxassetid://345372241"
  73. end)
  74. ----------------------------------------------------
  75. function lerp(a, b, t) -- Linear interpolation
  76. return a + (b - a)*t
  77. end
  78.  
  79. function slerp(a, b, t) --Spherical interpolation
  80. dot = a:Dot(b)
  81. if dot > 0.99999 or dot < -0.99999 then
  82. return t <= 0.5 and a or b
  83. else
  84. r = math.acos(dot)
  85. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  86. end
  87. end
  88.  
  89. function matrixInterpolate(a, b, t)
  90. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  91. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  92. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  93. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  94. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  95. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  96. local t = v1:Dot(v2)
  97. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  98. return CFrame.new()
  99. end
  100. return CFrame.new(
  101. v0.x, v0.y, v0.z,
  102. v1.x, v1.y, v1.z,
  103. v2.x, v2.y, v2.z,
  104. v3.x, v3.y, v3.z)
  105. end
  106. ----------------------------------------------------
  107. function genWeld(a,b)
  108. local w = Instance.new("Weld",a)
  109. w.Part0 = a
  110. w.Part1 = b
  111. return w
  112. end
  113. function weld(a, b)
  114. local weld = Instance.new("Weld")
  115. weld.Name = "W"
  116. weld.Part0 = a
  117. weld.Part1 = b
  118. weld.C0 = a.CFrame:inverse() * b.CFrame
  119. weld.Parent = a
  120. return weld;
  121. end
  122. ----------------------------------------------------
  123. function Lerp(c1,c2,al)
  124. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  125. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  126. for i,v in pairs(com1) do
  127. com1[i] = v+(com2[i]-v)*al
  128. end
  129. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  130. end
  131. ----------------------------------------------------
  132. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  133. local wld = Instance.new("Weld", wp1)
  134. wld.Part0 = wp0
  135. wld.Part1 = wp1
  136. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  137. end
  138. ----------------------------------------------------
  139. function weld5(part0, part1, c0, c1)
  140. weeld=Instance.new("Weld", part0)
  141. weeld.Part0=part0
  142. weeld.Part1=part1
  143. weeld.C0=c0
  144. weeld.C1=c1
  145. return weeld
  146. end
  147. ----------------------------------------------------
  148. function HasntTouched(plrname)
  149. local ret = true
  150. for _, v in pairs(Touche) do
  151. if v == plrname then
  152. ret = false
  153. end
  154. end
  155. return ret
  156. end
  157. ----------------------------------------------------
  158. newWeld(torso, larm, -1.5, 0.5, 0)
  159. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  160. newWeld(torso, rarm, 1.5, 0.5, 0)
  161. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  162. newWeld(torso, hed, 0, 1.5, 0)
  163. newWeld(torso, lleg, -0.5, -1, 0)
  164. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  165. newWeld(torso, rleg, 0.5, -1, 0)
  166. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  167. newWeld(root, torso, 0, -1, 0)
  168. torso.Weld.C1 = CFrame.new(0, -1, 0)
  169. ----------------------------------------------------
  170. --[[z = Instance.new("Sound", char)
  171. z.SoundId = "rbxassetid://303570180"--303570180
  172. z.Looped = true
  173. z.Pitch = 1
  174. z.Volume = 1
  175. wait(.1)
  176. z:Play()]]
  177. ----------------------------------------------------
  178. local Transforming = true
  179. hum.WalkSpeed = 0
  180. local fx = Instance.new("Part",torso)
  181. fx.Anchored = true
  182. fx.Material = "Neon"
  183. fx.CanCollide = false
  184. fx.Locked = true
  185. fx.Transparency = 1
  186. fx.Material = "SmoothPlastic"
  187. fx.Size = Vector3.new(1,1,1)
  188. fx.TopSurface = "SmoothNoOutlines"
  189. fx.BottomSurface = "SmoothNoOutlines"
  190. fx.BrickColor = BrickColor.new("Really black")
  191. fxm = Instance.new("SpecialMesh",fx)
  192. fxm.MeshId = "http://www.roblox.com/asset/?id=9982590"
  193. fxm.Scale = Vector3.new(1,1,1)
  194. for i = 1, 20 do rs:wait()
  195. fx.Transparency = fx.Transparency - (1/20)
  196. fx.CFrame = torso.CFrame
  197. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  198. rs:wait()
  199. end
  200.  
  201.  
  202.  
  203.  
  204.  
  205. GroundWave1 = function()
  206. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  207. local Colors = {"Toothpaste", "Really black"}
  208. local wave = Instance.new("Part", torso)
  209. wave.BrickColor = BrickColor.new('Really red')
  210. wave.Anchored = true
  211. wave.CanCollide = false
  212. wave.Locked = true
  213. wave.Size = Vector3.new(1, 1, 1)
  214. wave.TopSurface = "Smooth"
  215. wave.BottomSurface = "Smooth"
  216. wave.Transparency = 0.35
  217. wave.CFrame = HandCF
  218. wm = Instance.new("SpecialMesh", wave)
  219. wm.MeshId = "rbxassetid://3270017"
  220. coroutine.wrap(function()
  221. for i = 1, 30, 1 do
  222. wm.Scale = Vector3.new(10 + i*20.4, 10 + i*20.4, 1)
  223. wave.Size = wm.Scale
  224. wave.CFrame = HandCF
  225. wave.Transparency = i/10
  226. wait()
  227. end
  228. wait()
  229. wave:Destroy()
  230. end)()
  231. end
  232. ----------------------------------------------------
  233. GroundWave = function()
  234. if Transforming == true then
  235. local wave = Instance.new("Part", torso)
  236. wave.BrickColor = BrickColor.new("Really black")
  237. wave.Anchored = true
  238. wave.CanCollide = false
  239. wave.Locked = true
  240. wave.Size = Vector3.new(1, 1, 1)
  241. wave.TopSurface = "Smooth"
  242. wave.BottomSurface = "Smooth"
  243. wave.Transparency = 0.35
  244. wave.CFrame = fx.CFrame
  245. wm = Instance.new("SpecialMesh", wave)
  246. wm.MeshType = "Sphere"
  247. wm.Scale = Vector3.new(1,1,1)
  248. coroutine.wrap(function()
  249. for i = 1, 18, 1 do
  250. wm.Scale = Vector3.new(8 + i*8, 8 + i*8, 8 + i*8)
  251. --wave.Size = wm.Scale
  252. wave.CFrame = fx.CFrame
  253. wave.Transparency = i/001
  254. wait()
  255. end
  256. wait()
  257. wave:Destroy()
  258. end)()
  259. elseif Transforming == false then
  260. wait()
  261. end
  262. end
  263.  
  264. for i = 1, 100 do rs:wait()
  265. fx.CFrame = torso.CFrame
  266. end
  267.  
  268. Spawn(function()
  269. while wait(1) do
  270. GroundWave()
  271. end
  272. end)
  273.  
  274. wait(4)
  275.  
  276. Transforming = false
  277.  
  278. for i = 1, 20 do rs:wait()
  279. fx.Transparency = fx.Transparency + (1/20)
  280. fx.CFrame = torso.CFrame
  281. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  282. rs:wait()
  283. end
  284.  
  285. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  286. local wave = Instance.new("Part", torso)
  287. wave.BrickColor = BrickColor.new("Institutional white")
  288. wave.Anchored = true
  289. wave.CanCollide = false
  290. wave.Locked = true
  291. wave.Size = Vector3.new(1, 1, 1)
  292. wave.TopSurface = "Smooth"
  293. wave.BottomSurface = "Smooth"
  294. wave.Transparency = 0.35
  295. wave.CFrame = HandCF
  296. wm = Instance.new("SpecialMesh", wave)
  297. wm.MeshId = "rbxassetid://3270017"
  298. coroutine.wrap(function()
  299. for i = 1, 14, 1 do
  300. wm.Scale = Vector3.new(10 + i*10.1, 10 + i*10.1, 10)
  301. wave.Size = wm.Scale
  302. wave.CFrame = HandCF
  303. wave.Transparency = i/14
  304. wait()
  305. end
  306. wait()
  307. wave:Destroy()
  308. end)()
  309. hum.WalkSpeed = 16
  310. ----------------------------------------------------
  311. Blast = function()
  312. local Colors = {"Toothpaste", "Really black"}
  313. local wave = Instance.new("Part", torso)
  314. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  315. wave.Anchored = true
  316. wave.CanCollide = false
  317. wave.Locked = true
  318. wave.Size = Vector3.new(1, 1, 1)
  319. wave.TopSurface = "Smooth"
  320. wave.BottomSurface = "Smooth"
  321. wave.Transparency = 0.35
  322. wave.CFrame = rarm.CFrame
  323. wm = Instance.new("SpecialMesh", wave)
  324. wm.MeshType = "Sphere"
  325. wm.Scale = Vector3.new(1,1,1)
  326. z = Instance.new("Sound",wave)
  327. z.SoundId = "rbxassetid://237035051"
  328. z.Volume = 1
  329. z.Pitch = .9
  330. z:Play()
  331. coroutine.wrap(function()
  332. for i = 1, 30, 1 do
  333. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  334. --wave.Size = wm.Scale
  335. wave.CFrame = rarm.CFrame
  336. wave.Transparency = (1/14)
  337. rs:wait()
  338. end
  339. rs:wait()
  340. wave:Destroy()
  341. z:Destroy()
  342. end)()
  343. end
  344.  
  345. rarm.Touched:connect(function(ht)
  346. hit = ht.Parent
  347. if ht and hit:IsA("Model") then
  348. if hit:FindFirstChild("Humanoid") then
  349. if hit.Name ~= p.Name then
  350. if Debounces.RPunch == true and Debounces.RPunched == false then
  351. Debounces.RPunched = true
  352. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  353. if Debounces.ks==true then
  354. z = Instance.new("Sound",hed)
  355. z.SoundId = "rbxassetid://169380525"
  356. z.Pitch = ptz[math.random(1,#ptz)]
  357. z.Volume = 1
  358. z:Play()
  359. end
  360. wait(.2)
  361. Debounces.RPunched = false
  362. end
  363. end
  364. end
  365. elseif ht and hit:IsA("Hat") then
  366. if hit.Parent.Name ~= p.Name then
  367. if hit.Parent:FindFirstChild("Humanoid") then
  368. if Debounces.RPunch == true and Debounces.RPunched == false then
  369. Debounces.RPunched = true
  370. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  371. if Debounces.ks==true then
  372. z = Instance.new("Sound",hed)
  373. z.SoundId = "rbxassetid://169380525"
  374. z.Pitch = ptz[math.random(1,#ptz)]
  375. z.Volume = 1
  376. z:Play()
  377. end
  378. wait(.2)
  379. Debounces.RPunched = false
  380. end
  381. end
  382. end
  383. end
  384. end)
  385. larm.Touched:connect(function(ht)
  386. hit = ht.Parent
  387. if ht and hit:IsA("Model") then
  388. if hit:FindFirstChild("Humanoid") then
  389. if hit.Name ~= p.Name then
  390. if Debounces.LPunch == true and Debounces.LPunched == false then
  391. Debounces.LPunched = true
  392. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  393. if Debounces.ks2==true then
  394. z = Instance.new("Sound",hed)
  395. z.SoundId = "rbxassetid://169380525"
  396. z.Pitch = ptz[math.random(1,#ptz)]
  397. z.Volume = 1
  398. z:Play()
  399. end
  400. wait(.2)
  401. Debounces.LPunched = false
  402. end
  403. end
  404. end
  405. elseif ht and hit:IsA("Hat") then
  406. if hit.Parent.Name ~= p.Name then
  407. if hit.Parent:FindFirstChild("Humanoid") then
  408. if Debounces.LPunch == true and Debounces.LPunched == false then
  409. Debounces.LPunched = true
  410. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  411. if Debounces.ks2==true then
  412. z = Instance.new("Sound",hed)
  413. z.SoundId = "rbxassetid://169380525"
  414. z.Pitch = ptz[math.random(1,#ptz)]
  415. z.Volume = 1
  416. z:Play()
  417. end
  418. wait(.2)
  419. Debounces.LPunched = false
  420. end
  421. end
  422. end
  423. end
  424. end)
  425. ----------------------------------------------------
  426. mod4 = Instance.new("Model",char)
  427.  
  428. ptez = {0.7, 0.8, 0.9, 1}
  429.  
  430. function FindNearestTorso(Position,Distance,SinglePlayer)
  431. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  432. local List = {}
  433. for i,v in pairs(workspace:GetChildren())do
  434. if v:IsA("Model")then
  435. if v:findFirstChild("Torso")then
  436. if v ~= char then
  437. if(v.Torso.Position -Position).magnitude <= Distance then
  438. table.insert(List,v)
  439. end
  440. end
  441. end
  442. end
  443. end
  444. return List
  445. end
  446.  
  447. function Punch()
  448. part=Instance.new('Part',mod4)
  449. part.Anchored=true
  450. part.CanCollide=false
  451. part.FormFactor='Custom'
  452. part.Size=Vector3.new(.2,.2,.2)
  453. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  454. part.Transparency=.7
  455. part.BrickColor=BrickColor.new('Toothpaste')
  456. mesh=Instance.new('SpecialMesh',part)
  457. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  458. mesh.Scale=Vector3.new(3,3,3)
  459. part2=Instance.new('Part',mod4)
  460. part2.Anchored=true
  461. part2.CanCollide=false
  462. part2.FormFactor='Custom'
  463. part2.Size=Vector3.new(.2,.2,.2)
  464. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  465. part2.Transparency=.7
  466. part2.BrickColor=BrickColor.new('Toothpaste')
  467. mesh2=Instance.new('SpecialMesh',part2)
  468. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  469. mesh2.Scale=Vector3.new(3,1.5,3)
  470. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  471. if v:FindFirstChild('Humanoid') then
  472. v.Humanoid:TakeDamage(math.random(2,6))
  473. end
  474. end
  475. coroutine.resume(coroutine.create(function()
  476. for i=0,0.62,0.4 do
  477. wait()
  478. part.CFrame=part.CFrame
  479. part.Transparency=i
  480. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  481. part2.CFrame=part2.CFrame
  482. part2.Transparency=i
  483. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  484. end
  485. part.Parent=nil
  486. part2.Parent=nil
  487. end))
  488. end
  489. ----------------------------------------------------
  490. rarm.Touched:connect(function(ht)
  491. hit = ht.Parent
  492. if ht and hit:IsA("Model") then
  493. if hit:FindFirstChild("Humanoid") then
  494. if hit.Name ~= p.Name then
  495. if Debounces.RPunch == true and Debounces.RPunched == false then
  496. Debounces.RPunched = true
  497. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  498. if Debounces.ks==true then
  499. z = Instance.new("Sound",hed)
  500. z.SoundId = "rbxassetid://169380525"
  501. z.Pitch = ptz[math.random(1,#ptz)]
  502. z.Volume = 1
  503. z:Play()
  504. end
  505. wait(.2)
  506. Debounces.RPunched = false
  507. end
  508. end
  509. end
  510. elseif ht and hit:IsA("Hat") then
  511. if hit.Parent.Name ~= p.Name then
  512. if hit.Parent:FindFirstChild("Humanoid") then
  513. if Debounces.RPunch == true and Debounces.RPunched == false then
  514. Debounces.RPunched = true
  515. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  516. if Debounces.ks==true then
  517. z = Instance.new("Sound",hed)
  518. z.SoundId = "rbxassetid://169380525"
  519. z.Pitch = ptz[math.random(1,#ptz)]
  520. z.Volume = 1
  521. z:Play()
  522. end
  523. wait(.2)
  524. Debounces.RPunched = false
  525. end
  526. end
  527. end
  528. end
  529. end)
  530. larm.Touched:connect(function(ht)
  531. hit = ht.Parent
  532. if ht and hit:IsA("Model") then
  533. if hit:FindFirstChild("Humanoid") then
  534. if hit.Name ~= p.Name then
  535. if Debounces.LPunch == true and Debounces.LPunched == false then
  536. Debounces.LPunched = true
  537. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  538. if Debounces.ks2==true then
  539. z = Instance.new("Sound",hed)
  540. z.SoundId = "rbxassetid://169380525"
  541. z.Pitch = ptz[math.random(1,#ptz)]
  542. z.Volume = 1
  543. z:Play()
  544. end
  545. wait(.2)
  546. Debounces.LPunched = false
  547. end
  548. end
  549. end
  550. elseif ht and hit:IsA("Hat") then
  551. if hit.Parent.Name ~= p.Name then
  552. if hit.Parent:FindFirstChild("Humanoid") then
  553. if Debounces.LPunch == true and Debounces.LPunched == false then
  554. Debounces.LPunched = true
  555. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  556. if Debounces.ks2==true then
  557. z = Instance.new("Sound",hed)
  558. z.SoundId = "rbxassetid://169380525"
  559. z.Pitch = ptz[math.random(1,#ptz)]
  560. z.Volume = 1
  561. z:Play()
  562. end
  563. wait(.2)
  564. Debounces.LPunched = false
  565. end
  566. end
  567. end
  568. end
  569. end)
  570. ----------------------------------------------------
  571. local player = game.Players.LocalPlayer
  572. local pchar = player.Character
  573. local mouse = player:GetMouse()
  574. local cam = workspace.CurrentCamera
  575.  
  576. local rad = math.rad
  577.  
  578. local keysDown = {}
  579. local flySpeed = 0
  580. local MAX_FLY_SPEED = 150
  581.  
  582. local canFly = false
  583. local flyToggled = false
  584.  
  585. local forward, side = 0, 0
  586. local lastForward, lastSide = 0, 0
  587.  
  588. local floatBP = Instance.new("BodyPosition")
  589. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  590. local flyBV = Instance.new("BodyVelocity")
  591. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  592. local turnBG = Instance.new("BodyGyro")
  593. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  594.  
  595. mouse.KeyDown:connect(function(key)
  596. keysDown[key] = true
  597.  
  598. if key == "f" then
  599. flyToggled = not flyToggled
  600.  
  601. if not flyToggled then
  602. stanceToggle = "Normal"
  603. floatBP.Parent = nil
  604. flyBV.Parent = nil
  605. turnBG.Parent = nil
  606. root.Velocity = Vector3.new()
  607. pchar.Humanoid.PlatformStand = false
  608. end
  609. end
  610.  
  611. end)
  612. mouse.KeyUp:connect(function(key)
  613. keysDown[key] = nil
  614. end)
  615.  
  616. local function updateFly()
  617.  
  618. if not flyToggled then return end
  619.  
  620. lastForward = forward
  621. lastSide = side
  622.  
  623. forward = 0
  624. side = 0
  625.  
  626. if keysDown.w then
  627. forward = forward + 1
  628. end
  629. if keysDown.s then
  630. forward = forward - 1
  631. end
  632. if keysDown.a then
  633. side = side - 1
  634. end
  635. if keysDown.d then
  636. side = side + 1
  637. end
  638.  
  639. canFly = (forward ~= 0 or side ~= 0)
  640.  
  641. if canFly then
  642. stanceToggle = "Floating"
  643. turnBG.Parent = root
  644. floatBP.Parent = nil
  645. flyBV.Parent = root
  646.  
  647. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  648. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  649. else
  650. floatBP.position = root.Position
  651. floatBP.Parent = root
  652.  
  653. flySpeed = flySpeed - 1
  654. if flySpeed < 0 then flySpeed = 0 end
  655. end
  656.  
  657. local camCF = cam.CoordinateFrame
  658. local in_forward = canFly and forward or lastForward
  659. local in_side = canFly and side or lastSide
  660.  
  661. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  662. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  663.  
  664. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, 0)
  665. end
  666.  
  667. game:service'RunService'.RenderStepped:connect(function()
  668. if flyToggled then
  669. pchar.Humanoid.PlatformStand = true
  670. end
  671. updateFly()
  672. end)
  673. -------------------------------
  674. mouse.KeyDown:connect(function(key)
  675. if key == "q" then
  676. if Debounces.CanAttack == true then
  677. Debounces.CanAttack = false
  678. Debounces.NoIdl = true
  679. Debounces.on = true
  680. function FindNearestTorso(Position,Distance,SinglePlayer)
  681. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  682. local List = {}
  683. for i,v in pairs(workspace:GetChildren())do
  684. if v:IsA("Model")then
  685. if v:findFirstChild("Torso")then
  686. if v ~= char then
  687. if(v.Torso.Position -Position).magnitude <= Distance then
  688. table.insert(List,v)
  689. end
  690. end
  691. end
  692. end
  693. end
  694. return List
  695. end
  696. z = Instance.new("Sound",hed)
  697. z.SoundId = "rbxassetid://232213955"
  698. z.Pitch = 1
  699. z.Volume = 1
  700. wait(0.2)
  701. z:Play()
  702. sp = Instance.new("Part",rarm)
  703. sp.Anchored = true
  704. sp.CanCollide = false
  705. sp.Locked = true
  706. sp.Transparency = 0
  707. sp.Material = "Neon"
  708. sp.Size = Vector3.new(1,1,1)
  709. sp.TopSurface = "SmoothNoOutlines"
  710. sp.BottomSurface = "SmoothNoOutlines"
  711. sp.BrickColor = BrickColor.new("Toothpaste")
  712. spm = Instance.new("SpecialMesh",sp)
  713. spm.MeshId = "http://www.roblox.com/asset/?id=9756362"
  714. spm.Scale = Vector3.new(21,21,21)
  715. sp2 = Instance.new("Part", rarm)
  716. sp2.Name = "Energy"
  717. sp2.BrickColor = BrickColor.new("Toothpaste")
  718. sp2.Size = Vector3.new(1, 1, 1)
  719. sp2.Shape = "Ball"
  720. sp2.CanCollide = false
  721. sp2.Anchored = true
  722. sp2.Locked = true
  723. sp2.TopSurface = 0
  724. sp2.BottomSurface = 0
  725. sp2.Transparency = 1
  726. spm2 = Instance.new("SpecialMesh",sp2)
  727. spm2.MeshId = "rbxassetid://9756362"
  728. spm2.Scale = Vector3.new(2,2,2)
  729. for i = 1, 20 do
  730. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  731. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  732. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  733. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  734. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  735. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  736. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  737. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  738. if Debounces.on == false then break end
  739. rs:wait()
  740. end
  741. for i = 1, 100, 20 do rs:wait()
  742. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  743. end
  744. for i = 1, 20 do
  745. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  746. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  747. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4)
  748. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  749. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  750. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  751. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  752. if Debounces.on == false then break end
  753. rs:wait()
  754. end
  755. sp.Transparency = 1
  756. for i = 1, 20 do
  757. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  758. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)
  759. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  760. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  761. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  762. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  763. if Debounces.on == false then break end
  764. rs:wait()
  765. end
  766. wait(1)
  767. sp.Transparency = 0
  768. sp2.Transparency = 0.84
  769. for i = 1, 20 do
  770. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  771. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  772. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  773. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  774. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  775. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  776. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  777. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  778. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  779. if Debounces.on == false then break end
  780. rs:wait()
  781. end
  782. for i = 1, 2880, 50 do
  783. rs:wait()
  784. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  785. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  786. rs:wait()
  787. end
  788. sp:Destroy()
  789. sp2:Destroy()
  790. local X = Instance.new("Part",char)
  791. local O = Instance.new("ObjectValue",X)
  792. O.Name = "creator"
  793. X.Locked = true
  794. X.Name = "Shell"
  795. X.Anchored = false
  796. X.CanCollide = false
  797. X.Transparency = 0
  798. X.Reflectance = 0
  799. X.BottomSurface = 0
  800. X.TopSurface = 0
  801. X.Shape = 0
  802. local V = Instance.new("ObjectValue",X)
  803. V.Value = char
  804. V.Name = "creator"
  805. X.BrickColor = BrickColor.new("Toothpaste")
  806. X.Size = Vector3.new(2,2,2)
  807. X.Material = "Neon"
  808. local Z = Instance.new("SpecialMesh",X)
  809. Z.MeshId = "http://www.roblox.com/asset/?id=9982590"
  810. Z.Scale = Vector3.new(0.5,0.5,1)
  811. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  812. local bv = Instance.new("BodyVelocity",X)
  813. bv.maxForce = Vector3.new(99999,99999,99999)
  814. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  815. bv.velocity = X.CFrame.lookVector*500
  816.  
  817. Explode = X.Touched:connect(function(hit)
  818. if hit ~= char and hit.Name ~= "Shell" then
  819. local cf = X.CFrame
  820. bv:Destroy()
  821. X.Anchored = true
  822. Z:Remove()
  823. Explode:disconnect()
  824. X.Size = Vector3.new(3,3,3)
  825. X.Touched:connect(function(hit) end)
  826. X.CanCollide = false
  827. local part3 = Instance.new("Part", rarm)
  828. part3.Anchored=true
  829. part3.CanCollide=false
  830. part3.Locked = true
  831. part3.TopSurface = "SmoothNoOutlines"
  832. part3.BottomSurface = "SmoothNoOutlines"
  833. part3.FormFactor='Custom'
  834. part3.Size=Vector3.new(1,1, 1)
  835. part3.CFrame=X.CFrame
  836. part3.Transparency=0
  837. part3.BrickColor=BrickColor.new("Toothpaste")
  838. local mesh3 = Instance.new("SpecialMesh",part3)
  839. mesh3.MeshId = "http://www.roblox.com/asset/?id=9756362"
  840. mesh3.Scale = Vector3.new(1,1,1)
  841. --debris:AddItem(X,8)
  842. local part4 = Instance.new("Part", rarm)
  843. part4.Material = "Neon"
  844. part4.Anchored=true
  845. part4.CanCollide=false
  846. part4.Locked = true
  847. part4.TopSurface = "SmoothNoOutlines"
  848. part4.BottomSurface = "SmoothNoOutlines"
  849. part4.FormFactor='Custom'
  850. part4.Size=Vector3.new(1,1, 1)
  851. part4.CFrame=X.CFrame
  852. part4.Transparency=0
  853. part4.BrickColor=BrickColor.new("Hot pink")
  854. local mesh4 = Instance.new("SpecialMesh",part4)
  855. mesh4.MeshId = "http://www.roblox.com/asset/?id=9756362"
  856. mesh4.Scale = Vector3.new(.5,.5,.5)
  857. local part7 = Instance.new("Part", rarm)
  858. part7.Material = "Neon"
  859. part7.Anchored=true
  860. part7.CanCollide=false
  861. part7.Locked = true
  862. part7.TopSurface = "SmoothNoOutlines"
  863. part7.BottomSurface = "SmoothNoOutlines"
  864. part7.FormFactor='Custom'
  865. part7.Size=Vector3.new(1,1, 1)
  866. part7.CFrame=X.CFrame
  867. part7.Transparency=0
  868. part7.BrickColor=BrickColor.new("Really black")
  869. local mesh7 = Instance.new("SpecialMesh",part7)
  870. mesh7.MeshId = "http://www.roblox.com/asset/?id=9756362"
  871. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  872. --[[X.Touched:connect(function(ht)
  873. hit = ht.Parent
  874. if ht and hit:IsA("Model") then
  875. if hit:FindFirstChild("Humanoid") then
  876. if hit.Name ~= p.Name then
  877. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  878. wait(.3)
  879. end
  880. end
  881. elseif ht and hit:IsA("Hat") then
  882. if hit.Parent.Name ~= p.Name then
  883. if hit.Parent:FindFirstChild("Humanoid") then
  884. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  885. wait(.3)
  886. end
  887. end
  888. end
  889. end)
  890. part3.Touched:connect(function(ht)
  891. hit = ht.Parent
  892. if ht and hit:IsA("Model") then
  893. if hit:FindFirstChild("Humanoid") then
  894. if hit.Name ~= p.Name then
  895. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  896. wait(.3)
  897. end
  898. end
  899. elseif ht and hit:IsA("Hat") then
  900. if hit.Parent.Name ~= p.Name then
  901. if hit.Parent:FindFirstChild("Humanoid") then
  902. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  903. wait(.3)
  904. end
  905. end
  906. end
  907. end)]]--
  908. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  909. if v:FindFirstChild('Humanoid') then
  910. v.Humanoid:TakeDamage(math.random(60,90))
  911. v.Humanoid.PlatformStand = true
  912. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  913. end
  914. end
  915.  
  916. local acos = math.acos
  917. local sqrt = math.sqrt
  918. local Vec3 = Vector3.new
  919. local fromAxisAngle = CFrame.fromAxisAngle
  920.  
  921. local function toAxisAngle(CFr)
  922. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  923. local Angle = math.acos((R00+R11+R22-1)/2)
  924. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  925. A = A == 0 and 0.00001 or A
  926. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  927. B = B == 0 and 0.00001 or B
  928. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  929. C = C == 0 and 0.00001 or C
  930. local x = (R21-R12)/sqrt(A)
  931. local y = (R02-R20)/sqrt(B)
  932. local z = (R10-R01)/sqrt(C)
  933. return Vec3(x,y,z),Angle
  934. end
  935.  
  936. function ApplyTrig(Num,Func)
  937. local Min,Max = Func(0),Func(1)
  938. local i = Func(Num)
  939. return (i-Min)/(Max-Min)
  940. end
  941.  
  942. function LerpCFrame(CFrame1,CFrame2,Num)
  943. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  944. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  945. end
  946.  
  947. function Crater(Torso,Radius)
  948. Spawn(function()
  949. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  950. local Ignore = {}
  951. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  952. if v.Character ~= nil then
  953. Ignore[#Ignore+1] = v.Character
  954. end
  955. end
  956. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  957. if Hit == nil then return end
  958. local Parts = {}
  959. for i = 1,360,10 do
  960. local P = Instance.new("Part",Torso.Parent)
  961. P.Anchored = true
  962. P.FormFactor = "Custom"
  963. P.BrickColor = Hit.BrickColor
  964. P.Material = Hit.Material
  965. P.TopSurface = "Smooth"
  966. P.BottomSurface = "Smooth"
  967. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  968. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  969. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  970. if math.random(0,5) == 0 then -- rubble
  971. local P = Instance.new("Part",Torso.Parent)
  972. P.Anchored = true
  973. P.FormFactor = "Custom"
  974. P.BrickColor = Hit.BrickColor
  975. P.Material = Hit.Material
  976. P.TopSurface = "Smooth"
  977. P.BottomSurface = "Smooth"
  978. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  979. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  980. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  981. end
  982. end
  983. for i = 0,1,0.05 do
  984. for i2,v in pairs(Parts) do
  985. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  986. end
  987. wait(0.02)
  988. end
  989. for i,v in pairs(Parts) do
  990. if v[1].Size.X > 2.1 then
  991. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  992. end
  993. v[1].Anchored = false
  994. end
  995. for i = 0,1,0.05 do
  996. for i2,v in pairs(Parts) do
  997. v[1].Transparency = i
  998. if i == 1 then
  999. v[1]:Destroy()
  1000. elseif i >= 0.25 then
  1001. v[1].CanCollide = false
  1002. end
  1003. end
  1004. wait(0.02)
  1005. end
  1006. Parts = nil
  1007. end)
  1008. end
  1009.  
  1010. ROW = function(out, trans, s, wt, t, ang, plus)
  1011. for i = 1, 360, 360/t do
  1012. local c = Instance.new("Part", game.Workspace)
  1013. c.FormFactor = 3
  1014. c.TopSurface = 0
  1015. c.BottomSurface = 0
  1016. c.Size = s
  1017. c.Anchored = true
  1018. c.CanCollide = wt
  1019. c.Material=workspace.Base.Material
  1020. c.Transparency = trans
  1021. c.BrickColor = workspace.Base.BrickColor
  1022. c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  1023. c.Locked=true
  1024. game.Debris:AddItem(c,15)
  1025. end
  1026. end
  1027.  
  1028. Part = function(x,y,z,color,tr,cc,an,parent)
  1029. local p = Instance.new('Part',parent or Weapon)
  1030. p.formFactor = 'Custom'
  1031. p.Size = Vector3.new(x,y,z)
  1032. p.BrickColor = BrickColor.new(color)
  1033. p.CanCollide = cc
  1034. p.Transparency = tr
  1035. p.Anchored = an
  1036. p.TopSurface,p.BottomSurface = 0,0
  1037. p.Locked=true
  1038. p:BreakJoints()
  1039. return p end
  1040.  
  1041. Mesh = function(par,num,x,y,z)
  1042. local msh = _
  1043. if num == 1 then msh = Instance.new("CylinderMesh",par)
  1044. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  1045. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  1046. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  1047. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  1048. end msh.Scale = Vector3.new(x,y,z)
  1049. return msh end
  1050.  
  1051. function explosion(col1,col2,cfr,sz,rng,dmg)
  1052. local a= Part(1,1,1,col1,.5,false,true,workspace)
  1053. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  1054. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  1055. v1,v2,v3=sz.x,sz.y,sz.z
  1056. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  1057. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  1058. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  1059. a.CFrame=cfr
  1060. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1061. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1062.  
  1063. Spawn(function()
  1064. while wait() do
  1065. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  1066. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  1067. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  1068. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  1069. a.Transparency=a.Transparency+0.05
  1070. a2.Transparency=a2.Transparency+0.05
  1071. a3.Transparency=a3.Transparency+0.05
  1072. end
  1073. end)
  1074. end
  1075.  
  1076. Crater(X,20)
  1077. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  1078. z = Instance.new("Sound",X)
  1079. z.SoundId = "rbxassetid://231917744"
  1080. z.Pitch = .5
  1081. z.Volume = 10
  1082. z1 = Instance.new("Sound",X)
  1083. z1.SoundId = "rbxassetid://231917744"
  1084. z1.Pitch = .5
  1085. z1.Volume = 10
  1086. z2 = Instance.new("Sound",X)
  1087. z2.SoundId = "rbxassetid://231917744"
  1088. z2.Pitch = .5
  1089. z2.Volume = 10
  1090. z3 = Instance.new("Sound",X)
  1091. z3.SoundId = "rbxassetid://245537790"
  1092. z3.Pitch = .7
  1093. z3.Volume = 1
  1094. z4 = Instance.new("Sound",X)
  1095. z4.SoundId = "rbxassetid://245537790"
  1096. z4.Pitch = .7
  1097. z4.Volume = 1
  1098. wait(0.1)
  1099. z:Play()
  1100. z1:Play()
  1101. z2:Play()
  1102. z3:Play()
  1103. z4:Play()
  1104.  
  1105. local part=Instance.new('Part',rarm)
  1106. part.Anchored=true
  1107. part.CanCollide=false
  1108. part.Locked = true
  1109. part.FormFactor='Custom'
  1110. part.Size=Vector3.new(1,1,1)
  1111. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  1112. part.Transparency=0
  1113. part.BrickColor=BrickColor.new('Really black')
  1114. local mesh=Instance.new('SpecialMesh',part)
  1115. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1116. mesh.Scale=Vector3.new(2,2,2)
  1117. local part2=part:clone()
  1118. part2.Parent = rarm
  1119. part2.BrickColor=BrickColor.new("Toothpaste")
  1120. local part5=part:clone()
  1121. part5.Parent = rarm
  1122. part5.BrickColor=BrickColor.new("Toothpaste")
  1123. local part6=part:clone()
  1124. part6.Parent = rarm
  1125. part6.BrickColor=BrickColor.new("Black")
  1126. local mesh2=mesh:clone()
  1127. mesh2.Parent=part2
  1128. mesh2.Scale=Vector3.new(3, 3, 3)
  1129. local mesh5=mesh:clone()
  1130. mesh5.Parent=part5
  1131. mesh5.Scale=Vector3.new(3, 3, 3)
  1132. local mesh6=mesh:clone()
  1133. mesh6.Parent=part6
  1134. mesh6.Scale=Vector3.new(3, 3, 3)
  1135. local blast = Instance.new("Part", rarm)
  1136. blast.BrickColor = BrickColor.new("Really black")
  1137. blast.Anchored = true
  1138. blast.CanCollide = false
  1139. blast.Locked = true
  1140. blast.Size = Vector3.new(1, 1, 1)
  1141. blast.TopSurface = "Smooth"
  1142. blast.BottomSurface = "Smooth"
  1143. blast.Transparency = 0
  1144. blast.CFrame = HandCF
  1145. local bm = Instance.new("SpecialMesh", blast)
  1146. bm.Scale = Vector3.new(5,1,5)
  1147. bm.MeshId = "rbxassetid://156292343"
  1148. local blast2 = Instance.new("Part", rarm)
  1149. blast2.BrickColor = BrickColor.new("Really black")
  1150. blast2.Anchored = true
  1151. blast2.CanCollide = false
  1152. blast2.Locked = true
  1153. blast2.Size = Vector3.new(1, 1, 1)
  1154. blast2.TopSurface = "Smooth"
  1155. blast2.BottomSurface = "Smooth"
  1156. blast2.Transparency = 0
  1157. blast2.CFrame = HandCF
  1158. local bm2 = Instance.new("SpecialMesh", blast2)
  1159. bm2.Scale = Vector3.new(3,1,3)
  1160. bm2.MeshId = "rbxassetid://156292343"
  1161. local blast3 = Instance.new("Part", rarm)
  1162. blast3.BrickColor = BrickColor.new("Really black")
  1163. blast3.Anchored = true
  1164. blast3.CanCollide = false
  1165. blast3.Locked = true
  1166. blast3.Size = Vector3.new(1, 1, 1)
  1167. blast3.TopSurface = "Smooth"
  1168. blast3.BottomSurface = "Smooth"
  1169. blast3.Transparency = 0
  1170. blast3.CFrame = HandCF
  1171. local bm3 = Instance.new("SpecialMesh", blast3)
  1172. bm3.Scale = Vector3.new(3,1,3)
  1173. bm3.MeshId = "rbxassetid://3270017"
  1174. for i = 1,120 do rs:wait()
  1175. X.Transparency = X.Transparency + (1/120)
  1176. part.Transparency = part.Transparency + (1/120)
  1177. part2.Transparency = part2.Transparency + (1/120)
  1178. part3.Transparency = part3.Transparency + (1/120)
  1179. part4.Transparency = part4.Transparency + (1/120)
  1180. part5.Transparency = part5.Transparency + (1/120)
  1181. part6.Transparency = part6.Transparency + (1/120)
  1182. part7.Transparency = part7.Transparency + (1/120)
  1183. blast.Transparency = blast.Transparency + (1/120)
  1184. blast2.Transparency = blast2.Transparency + (1/120)
  1185. blast3.Transparency = blast3.Transparency + (1/120)
  1186. X.Size = X.Size + Vector3.new(.8,.8,.8)
  1187. --part3.Size = part3.Size + Vector3.new(3,3,3)
  1188. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  1189. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  1190. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  1191. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  1192. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  1193. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  1194. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  1195. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  1196. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  1197. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  1198. X.CFrame = cf
  1199. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  1200. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  1201. part3.CFrame=X.CFrame
  1202. part4.CFrame=X.CFrame
  1203. part7.CFrame=X.CFrame
  1204. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  1205. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  1206. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1207. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  1208. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  1209. rs:wait()
  1210. end
  1211. X:Destroy()
  1212. part:Destroy()
  1213. part2:Destroy()
  1214. part3:Destroy()
  1215. part4:Destroy()
  1216. part5:Destroy()
  1217. part6:Destroy()
  1218. blast:Destroy()
  1219. blast2:Destroy()
  1220. blast3:Destroy()
  1221. z:Destroy()
  1222. z1:Destroy()
  1223. z2:Destroy()
  1224. z3:Destroy()
  1225. z4:Destroy()
  1226. end
  1227. end)
  1228. for i = 1, 20 do
  1229. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  1230. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  1231. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  1232. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  1233. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  1234. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  1235. if Debounces.on == false then break end
  1236. rs:wait()
  1237. end
  1238. if Debounces.CanAttack == false then
  1239. Debounces.CanAttack = true
  1240. Debounces.NoIdl = false
  1241. Debounces.on = false
  1242. end
  1243. end
  1244. end
  1245. end)
  1246.  
  1247. -----------------------------------------------------------------------------
  1248.  
  1249. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  1250. --[[Part0 = Vector3 (Start pos)
  1251. Part1 = Vector3 (End pos)
  1252. Times = number (Amount of lightning parts)
  1253. Offset = number (Offset)
  1254. Color = color (brickcolor value)
  1255. Thickness = number (thickness)
  1256. Trans = number (transparency)
  1257. ]]--
  1258. local magz = (Part0 - Part1).magnitude
  1259. local curpos = Part0
  1260. local trz = {-Offset,Offset}
  1261. for i=1,Times do
  1262. local li = Instance.new("Part", torso)
  1263. li.Name = "Lightning"
  1264. li.TopSurface =0
  1265. li.Material = "Neon"
  1266. li.BottomSurface = 0
  1267. li.Anchored = true
  1268. li.Locked = true
  1269. li.Transparency = Trans or 0.4
  1270. li.BrickColor = BrickColor.new(Color)
  1271. li.formFactor = "Custom"
  1272. li.CanCollide = false
  1273. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  1274. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1275. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  1276. if Times == i then
  1277. local magz2 = (curpos - Part1).magnitude
  1278. li.Size = Vector3.new(Thickness,Thickness,magz2)
  1279. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  1280. else
  1281. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1282. end
  1283. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  1284. game.Debris:AddItem(li,.1)
  1285. end
  1286. end
  1287.  
  1288. BodyParts = {} -- Parts to emit lightning effects from
  1289. for _, v in pairs(char:GetChildren()) do
  1290. if v:IsA("Part") then
  1291. table.insert(BodyParts, v)
  1292. end
  1293. end
  1294.  
  1295. Bounding = {} -- Calculate the bounding boxes
  1296. for _, v in pairs(BodyParts) do
  1297. local temp = {X=nil, Y=nil, Z=nil}
  1298. temp.X = v.Size.X/2 * 15
  1299. temp.Y = v.Size.Y/2 * 15
  1300. temp.Z = v.Size.Z/2 * 15
  1301. Bounding[v.Name] = temp
  1302. --table.insert(Bounding, v.Name, temp)
  1303. end
  1304.  
  1305. while wait(0) do -- Emit the Lightning effects randomly, (math.random(1,10)/10) if you want original
  1306. local Body1 = BodyParts[math.random(#BodyParts)]
  1307. local Body2 = BodyParts[math.random(#BodyParts)]
  1308. local Pos1 = Vector3.new(
  1309. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  1310. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  1311. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  1312. )
  1313. local Pos2 = Vector3.new(
  1314. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  1315. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  1316. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  1317. )
  1318. local SPos1 = Body1.Position + Pos1
  1319. local SPos2 = Body2.Position + Pos2
  1320. Lightning(SPos1, SPos2, 4, 3, "Really red", .3, .56)
  1321. end
  1322.  
  1323. --fixed by Scenius
  1324. plr = game.Players.LocalPlayer
  1325. repeat
  1326. wait(0.4)
  1327. until plr.Character
  1328. chr = plr.Character
  1329. human = chr:FindFirstChild("Humanoid")
  1330. mouse = plr:GetMouse()
  1331. selected = false
  1332. equipd = false
  1333. tors = chr.Torso
  1334. rarm = chr["Right Arm"]
  1335. larm = chr["Left Arm"]
  1336. rleg = chr["Right Leg"]
  1337. lleg = chr["Left Leg"]
  1338. hrp = chr.HumanoidRootPart
  1339. head = chr.Head
  1340. anim = human.Animator
  1341. activu = false
  1342. Heartbeat = Instance.new("BindableEvent")
  1343. Heartbeat.Name = "Heartbeat"
  1344. Heartbeat.Parent = script
  1345. frame = 0.03333333333333333
  1346. tf = 0
  1347. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1348. tf = tf + s
  1349. if tf >= frame then
  1350. for i = 1, math.floor(tf / frame) do
  1351. Heartbeat:Fire()
  1352. end
  1353. tf = tf - frame * math.floor(tf / frame)
  1354. end
  1355. end)
  1356. function swait(num)
  1357. if num == 0 or num == nil then
  1358. Heartbeat.Event:wait()
  1359. else
  1360. for i = 1, num do
  1361. Heartbeat.Event:wait()
  1362. end
  1363. end
  1364. end
  1365. tool = Instance.new("Tool")
  1366. tool.CanBeDropped = false
  1367. tool.RequiresHandle = false
  1368. tool.Name = "fir"
  1369. tool.Parent = plr.Backpack
  1370. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1371. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1372. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1373. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1374. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1375. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1376. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1377. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1378. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1379. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1380. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1381. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1382. RS = tors:FindFirstChild("Right Shoulder")
  1383. LS = tors:FindFirstChild("Left Shoulder")
  1384. RH = tors:FindFirstChild("Right Hip")
  1385. LH = tors:FindFirstChild("Left Hip")
  1386. RJ = hrp:FindFirstChild("RootJoint")
  1387. N = tors:FindFirstChild("Neck")
  1388. cf = CFrame.new
  1389. ang = CFrame.Angles
  1390. rd = math.rad
  1391. rd2 = math.random
  1392. function nooutline(p)
  1393. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  1394. end
  1395. function makepart(color, name, reflec, mater, parnt, cfram)
  1396. local port = Instance.new("Part")
  1397. port.BrickColor = BrickColor.new(color)
  1398. port.Name = name
  1399. nooutline(port)
  1400. port.Reflectance = reflec
  1401. port.Material = mater
  1402. port.Anchored = false
  1403. port.CanCollide = false
  1404. port.Locked = true
  1405. port.Size = Vector3.new(0.2, 0.2, 0.2)
  1406. port.Parent = parnt
  1407. return port
  1408. end
  1409. function makemesh(meshtype, scale, meshid, parent)
  1410. local mes = Instance.new("SpecialMesh")
  1411. mes.MeshType = meshtype
  1412. mes.Scale = scale
  1413. if meshtype == "FileMesh" then
  1414. mes.MeshId = meshid
  1415. end
  1416. mes.Parent = parent
  1417. return mes
  1418. end
  1419. function makeweld(parent, p0, p1, c0, c1)
  1420. local wel = Instance.new("Weld")
  1421. wel.Part0 = p0
  1422. wel.Part1 = p1
  1423. wel.C0 = c0
  1424. if c1 ~= nil then
  1425. wel.C1 = c1
  1426. end
  1427. wel.Parent = parent
  1428. return wel
  1429. end
  1430. function smokz(prnt)
  1431. s = Instance.new("Smoke")
  1432. s.Color = Color3.new(1, 1, 1)
  1433. s.Enabled = false
  1434. s.Name = "smok"
  1435. s.Opacity = 0.5
  1436. s.RiseVelocity = 0.2
  1437. s.Size = 0.1
  1438. s.Parent = prnt
  1439. end
  1440. function glow(tz, paz, smokinz, length)
  1441. if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
  1442. do
  1443. local s = Instance.new("Sound")
  1444. s.SoundId = "rbxassetid://298181829"
  1445. s.Volume = 0.25
  1446. s.Pitch = math.random(9, 11) / 10
  1447. s.Parent = paz
  1448. s:Play()
  1449. paz.Transparency = 0.7
  1450. if smokinz == true then
  1451. paz.smok.Enabled = true
  1452. end
  1453. delay(length, function()
  1454. paz.Transparency = 1
  1455. paz.smok.Enabled = false
  1456. s:Destroy()
  1457. end)
  1458. end
  1459. end
  1460. end
  1461. function makeglow()
  1462. for _, p in pairs(chr:GetChildren()) do
  1463. if p.ClassName == "Accessory" then
  1464. do
  1465. local h = p:FindFirstChildOfClass("Part")
  1466. local nh = h:Clone()
  1467. nh.Parent = nil
  1468. nh.CFrame = h.CFrame
  1469. nh.Transparency = 1
  1470. nh.Name = "Glow"
  1471. nh.Material = "Neon"
  1472. nh.BrickColor = BrickColor.new("Crimson")
  1473. nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  1474. nh.Parent = h
  1475. makeweld(nh, nh, h, cf(0, 0, 0))
  1476. local m = nh:FindFirstChildOfClass("SpecialMesh")
  1477. m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06)
  1478. m.TextureId = ""
  1479. smokz(nh)
  1480. nh.Touched:connect(function(po)
  1481. glow(po, nh, true, 0.8)
  1482. end)
  1483. end
  1484. elseif p.ClassName == "Part" and p ~= hrp then
  1485. do
  1486. local n = p:Clone()
  1487. n.Parent = nil
  1488. n.Transparency = 1
  1489. n.Material = "Neon"
  1490. n.Name = "Glow"
  1491. n.BrickColor = BrickColor.new("Crimson")
  1492. n.CFrame = p.CFrame
  1493. n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  1494. n.Parent = p
  1495. makeweld(n, n, p, cf(0, 0, 0))
  1496. smokz(n)
  1497. n.Touched:connect(function(po)
  1498. glow(po, n, true, 0.8)
  1499. end)
  1500. if n:FindFirstChildOfClass("Decal") then
  1501. n:FindFirstChildOfClass("Decal"):Destroy()
  1502. end
  1503. if p:FindFirstChildOfClass("SpecialMesh") then
  1504. local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
  1505. c.Parent = nil
  1506. c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05)
  1507. c.Parent = n
  1508. else
  1509. local m = Instance.new("BlockMesh")
  1510. m.Scale = Vector3.new(1.05, 1.025, 1.05)
  1511. if p == tors then
  1512. m.Scale = Vector3.new(1.05, 1.05, 1.05)
  1513. end
  1514. m.Parent = n
  1515. end
  1516. end
  1517. end
  1518. end
  1519. end
  1520. makeglow()
  1521. function fglow(glopart, duration)
  1522. for _ = 1, 4 do
  1523. swait()
  1524. glopart.Transparency = glopart.Transparency - 0.075
  1525. end
  1526. delay(duration, function()
  1527. for _ = 1, 4 do
  1528. swait()
  1529. glopart.Transparency = glopart.Transparency + 0.075
  1530. end
  1531. end)
  1532. end
  1533. function lerpz(joint, prop, cfrmz, alp)
  1534. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  1535. end
  1536. function resetlerp()
  1537. RJ.C0 = RJC0
  1538. RJ.C1 = RJC1
  1539. N.C0 = NC0
  1540. N.C1 = NC1
  1541. RS.C0 = RSC0
  1542. RS.C1 = RSC1
  1543. LS.C0 = LSC0
  1544. LS.C1 = LSC1
  1545. RH.C0 = RHC0
  1546. RH.C1 = RHC1
  1547. LH.C0 = LHC0
  1548. end
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560. function RFistDamage()
  1561.  
  1562. end
  1563. function rsmash()
  1564. if activu == true or selected == false then
  1565. return
  1566. end
  1567. coroutine.resume(coroutine.create(function()
  1568. fglow(rarm.Glow, 3)
  1569. end))
  1570. activu = true
  1571.  
  1572. human.WalkSpeed = human.WalkSpeed - 13
  1573. animo(false)
  1574. local Mus = Instance.new("Sound",workspace)
  1575. Mus.SoundId = "rbxassetid://264080811"
  1576. Mus.Pitch = 1
  1577. Mus.Volume = 90000
  1578. Mus.Looped = false
  1579. wait(0.3)
  1580. Mus:Play()
  1581. local pe = Instance.new("ParticleEmitter")
  1582. pe.Color = ColorSequence.new(Color3.new(255, 0, 0))
  1583. pe.LightEmission = 0.9
  1584. pe.Size = NumberSequence.new(0.5)
  1585. pe.Texture = "rbxassetid://272050333"
  1586. pe.Transparency = NumberSequence.new(0.1)
  1587. pe.Lifetime = NumberRange.new(0.1)
  1588. pe.Rate = 1
  1589. pe.RotSpeed = NumberRange.new(360)
  1590. pe.Speed = NumberRange.new(3)
  1591. pe.VelocitySpread = 360
  1592. pe.Parent = rarm.Glow
  1593. local pe2 = Instance.new("ParticleEmitter")
  1594. pe2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  1595. pe2.LightEmission = 0.9
  1596. pe2.Size = NumberSequence.new(5)
  1597. pe2.Texture = "rbxassetid://516107903"
  1598. pe2.Transparency = NumberSequence.new(0.4)
  1599. pe2.ZOffset = 2
  1600. pe2.Enabled = false
  1601. pe2.LockedToPart = true
  1602. pe2.Lifetime = NumberRange.new(0.07)
  1603. pe2.Rate = 8
  1604. pe2.Rotation = NumberRange.new(0, 360)
  1605. pe2.RotSpeed = NumberRange.new(0)
  1606. pe2.Speed = NumberRange.new(0)
  1607. pe2.VelocitySpread = 180
  1608. pe2.Parent = rarm.Glow
  1609. for _ = 1, 45 do
  1610. swait()
  1611. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
  1612. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
  1613. lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2)
  1614. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1615. lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
  1616. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
  1617. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
  1618. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1619. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  1620. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1621. pe.Rate = pe.Rate + 25
  1622. end
  1623. pe2.Enabled = true
  1624. pe.Speed = NumberRange.new(10)
  1625. for _ = 1, 30 do
  1626. swait()
  1627. lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2)
  1628. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2)
  1629. lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(10, 20)), rd(rd2(-25, -15)), rd(rd2(100, 110))), 0.2)
  1630. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2)
  1631. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2)
  1632. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2)
  1633. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  1634. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2)
  1635.  
  1636. end
  1637. for l = 1, 3 do
  1638. swait()
  1639. lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4)
  1640. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4)
  1641. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4)
  1642. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4)
  1643. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4)
  1644. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4)
  1645. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4)
  1646. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4)
  1647. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4)
  1648. end
  1649. pe:Destroy()
  1650. pe2:Destroy()
  1651. KABOOMZ()
  1652. rarm.Glow.smok.Enabled = true
  1653. for _ = 1, 8 do
  1654. swait()
  1655. lerpz(RJ, "C0", RJC0 * cf(1.5, -1.6, -0.7) * ang(rd(5), rd(18), rd(95)), 0.8)
  1656. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-10), rd(-15)), 0.8)
  1657. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(40), rd(65)), 0.8)
  1658. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.8)
  1659. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-86)), 0.8)
  1660. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.8)
  1661. lerpz(RH, "C0", RHC0 * cf(0, 0.7, 0) * ang(rd(-6), rd(-39), rd(24)), 0.8)
  1662. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-20)), 0.8)
  1663. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.8)
  1664. end
  1665. wait(1.5)
  1666. animo(true)
  1667. human.WalkSpeed = human.WalkSpeed + 13
  1668. for _ = 1, 24 do
  1669. swait()
  1670. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1671. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1672. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1673. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1674. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1675. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1676. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1677. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1678. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1679. end
  1680. resetlerp()
  1681. rarm.Glow.smok.Enabled = false
  1682. activu = false
  1683. end
  1684.  
  1685.  
  1686.  
  1687.  
  1688. local debris=game:service"Debris"
  1689. vt = Vector3.new
  1690. bc = BrickColor.new
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703. function Ring()
  1704.  
  1705.  
  1706. local effspwn = Instance.new("Part")
  1707. local model = Instance.new("Model")
  1708. game.Debris:AddItem(model, 20)
  1709. model.Name = "smasheffects"
  1710. model.Parent = workspace
  1711. effspwn.Name = "spwnr"
  1712. effspwn.Size = Vector3.new(1, 1, 1)
  1713. effspwn.Anchored = true
  1714. effspwn.CanCollide = false
  1715. effspwn.Transparency = 1
  1716. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  1717. effspwn.Parent = model
  1718.  
  1719. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  1720. if v:FindFirstChild('Humanoid') then
  1721. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1722. v.Humanoid.PlatformStand = true
  1723. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  1724. end
  1725. end
  1726. coroutine.resume(coroutine.create(function()
  1727. local shok = Instance.new("Part")
  1728. shok.Name = "wring1"
  1729. shok.BrickColor = BrickColor.new("Crimson")
  1730. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1731. shok.Size = Vector3.new(1, 1, 1)
  1732. shok.Anchored = true
  1733. shok.Material = "Neon"
  1734. shok.Transparency = 0.25
  1735. shok.CanCollide = false
  1736. shok.Parent = model
  1737. game.Debris:AddItem(shok, 12)
  1738. local mesh = Instance.new("SpecialMesh")
  1739. mesh.MeshType = "FileMesh"
  1740. mesh.MeshId = "rbxassetid://3270017"
  1741. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  1742. mesh.Parent = shok
  1743. for e = 1, 30 do
  1744. wait()
  1745. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  1746. shok.Transparency = shok.Transparency + 0.002
  1747. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1748. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1749. end
  1750. for e = 1, 38 do
  1751. wait()
  1752. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1753. shok.Transparency = shok.Transparency + 0.002
  1754. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1755. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1756. end
  1757. for e = 1, 24 do
  1758. wait()
  1759. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1760. shok.Transparency = shok.Transparency + 0.03
  1761. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1762. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1763. end
  1764. end))
  1765. coroutine.resume(coroutine.create(function()
  1766. local shok = Instance.new("Part")
  1767. shok.Name = "wring2"
  1768. shok.BrickColor = BrickColor.new("Crimson")
  1769. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1770. shok.Size = Vector3.new(1, 1, 1)
  1771. shok.Anchored = true
  1772. shok.Material = "Neon"
  1773. shok.Transparency = 0.25
  1774. shok.CanCollide = false
  1775. shok.Parent = model
  1776. game.Debris:AddItem(shok, 12)
  1777. local mesh = Instance.new("SpecialMesh")
  1778. mesh.MeshType = "FileMesh"
  1779. mesh.MeshId = "rbxassetid://3270017"
  1780. mesh.Scale = Vector3.new(12, 12, 0.05)
  1781. mesh.Parent = shok
  1782. for e = 1, 30 do
  1783. wait()
  1784. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  1785. shok.Transparency = shok.Transparency + 0.002
  1786. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1787. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1788. end
  1789. for e = 1, 38 do
  1790. wait()
  1791. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1792. shok.Transparency = shok.Transparency + 0.002
  1793. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1794. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1795. end
  1796. for e = 1, 24 do
  1797. wait()
  1798. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1799. shok.Transparency = shok.Transparency + 0.03
  1800. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1801. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1802. end
  1803. end))
  1804.  
  1805. coroutine.resume(coroutine.create(function()
  1806. local shok = Instance.new("Part")
  1807. shok.Name = "shokwve"
  1808. shok.BrickColor = BrickColor.new("Crimson")
  1809. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  1810. shok.Size = Vector3.new(1, 1, 1)
  1811. shok.Anchored = true
  1812. shok.Material = "Neon"
  1813. shok.Transparency = 0.6
  1814. shok.CanCollide = false
  1815. shok.Parent = model
  1816. game.Debris:AddItem(shok, 12)
  1817. local mesh = Instance.new("SpecialMesh")
  1818. mesh.MeshType = "FileMesh"
  1819. mesh.MeshId = "rbxassetid://489415447"
  1820. mesh.Scale = Vector3.new(1, 1, 1)
  1821. mesh.Parent = shok
  1822. for e = 1, 12 do
  1823. wait()
  1824. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  1825. shok.Transparency = shok.Transparency + 0.002
  1826. end
  1827. for e = 1, 32 do
  1828. wait()
  1829. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1830. shok.Transparency = shok.Transparency + 0.002
  1831. end
  1832. for e = 1, 24 do
  1833. wait()
  1834. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1835. shok.Transparency = shok.Transparency + 0.03
  1836. end
  1837. end))
  1838. coroutine.resume(coroutine.create(function()
  1839. local shok = Instance.new("Part")
  1840. shok.Name = "shock2"
  1841. shok.BrickColor = BrickColor.new("Crimson")
  1842. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1843. shok.Size = Vector3.new(1, 1, 1)
  1844. shok.Anchored = true
  1845. shok.Material = "Neon"
  1846. shok.Transparency = 0.35
  1847. shok.CanCollide = false
  1848. shok.Parent = model
  1849. game.Debris:AddItem(shok, 12)
  1850. local mesh = Instance.new("SpecialMesh")
  1851. mesh.MeshType = "FileMesh"
  1852. mesh.MeshId = "rbxassetid://489415447"
  1853. mesh.Scale = Vector3.new(12, 12, 12)
  1854. mesh.Parent = shok
  1855. for e = 1, 15 do
  1856. wait()
  1857. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1858. shok.Transparency = shok.Transparency + 0.004
  1859. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1860. end
  1861. for e = 1, 16 do
  1862. wait()
  1863. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1864. shok.Transparency = shok.Transparency + 0.004
  1865. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1866. end
  1867. for e = 1, 12 do
  1868. wait()
  1869. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1870. shok.Transparency = shok.Transparency + 0.06
  1871. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1872. end
  1873. end))
  1874. coroutine.resume(coroutine.create(function()
  1875. local shok = Instance.new("Part")
  1876. shok.Name = "shock3"
  1877. shok.BrickColor = BrickColor.new("Crimson")
  1878. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1879. shok.Size = Vector3.new(1, 1, 1)
  1880. shok.Anchored = true
  1881. shok.Material = "Neon"
  1882. shok.Transparency = 0.35
  1883. shok.CanCollide = false
  1884. shok.Parent = model
  1885. game.Debris:AddItem(shok, 12)
  1886. local mesh = Instance.new("SpecialMesh")
  1887. mesh.MeshType = "FileMesh"
  1888. mesh.MeshId = "rbxassetid://489415447"
  1889. mesh.Scale = Vector3.new(12, 12, 12)
  1890. mesh.Parent = shok
  1891. for e = 1, 15 do
  1892. wait()
  1893. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1894. shok.Transparency = shok.Transparency + 0.004
  1895. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1896. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1897. end
  1898. for e = 1, 16 do
  1899. wait()
  1900. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1901. shok.Transparency = shok.Transparency + 0.004
  1902. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1903. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1904. end
  1905. for e = 1, 12 do
  1906. wait()
  1907. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  1908. shok.Transparency = shok.Transparency + 0.06
  1909. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1910. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1911. end
  1912. end))
  1913.  
  1914. end
  1915. function Landing()
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922. ROW = function(out, trans, s, wt, t, ang, plus)
  1923. for i = 1, 360, 360/t do
  1924. local c = Instance.new("Part", game.Workspace)
  1925. c.FormFactor = 3
  1926. c.TopSurface = 0
  1927. c.BottomSurface = 0
  1928. c.Size = s
  1929. c.Anchored = true
  1930. c.CanCollide = wt
  1931. c.Material=workspace.Base.Material
  1932. c.Transparency = trans
  1933. c.BrickColor = workspace.Base.BrickColor
  1934. c.CFrame = CFrame.new(tors.CFrame.x,0,tors.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  1935. c.Locked=true
  1936. game.Debris:AddItem(c,15)
  1937. end
  1938. end
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  1945. Ring()
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951. end
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959. function newRay(start,face,range,wat)
  1960. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  1961. hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  1962. return rey,hit,pos
  1963. end
  1964.  
  1965.  
  1966.  
  1967.  
  1968. function jum()
  1969. if activu == true or selected == false then
  1970. return
  1971. end
  1972. coroutine.resume(coroutine.create(function()
  1973. fglow(rleg.Glow, 1)
  1974. fglow(lleg.Glow, 1)
  1975. end))
  1976. activu = true
  1977. human.WalkSpeed = human.WalkSpeed - 13
  1978. local pe = Instance.new("ParticleEmitter")
  1979. pe.Color = ColorSequence.new(Color3.new(255, 0, 0))
  1980. pe.LightEmission = 0.9
  1981. pe.Size = NumberSequence.new(0.5)
  1982. pe.Texture = "rbxassetid://272050333"
  1983. pe.Transparency = NumberSequence.new(0.1)
  1984. pe.Lifetime = NumberRange.new(0.1)
  1985. pe.Rate = 250
  1986. pe.RotSpeed = NumberRange.new(360)
  1987. pe.Speed = NumberRange.new(3)
  1988. pe.VelocitySpread = 360
  1989. pe.Parent = rleg.Glow
  1990. local pea = pe:Clone()
  1991. pea.Parent = lleg.Glow
  1992. local pe2 = Instance.new("ParticleEmitter")
  1993. pe2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  1994. pe2.LightEmission = 0.9
  1995. pe2.Size = NumberSequence.new(5)
  1996. pe2.Texture = "rbxassetid://516107903"
  1997. pe2.Transparency = NumberSequence.new(0.4)
  1998. pe2.ZOffset = 2
  1999. pe2.Enabled = true
  2000. pe2.LockedToPart = true
  2001. pe2.Lifetime = NumberRange.new(0.07)
  2002. pe2.Rate = 8
  2003. pe2.Rotation = NumberRange.new(0, 360)
  2004. pe2.RotSpeed = NumberRange.new(0)
  2005. pe2.Speed = NumberRange.new(0)
  2006. pe2.VelocitySpread = 180
  2007. pe2.Parent = lleg.Glow
  2008. local pea2 = pe2:Clone()
  2009. pea2.Parent = rleg.Glow
  2010. for l = 1, 30 do
  2011. swait()
  2012. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  2013. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  2014. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  2015. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2016. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  2017. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2018. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  2019. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2020. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  2021. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2022. end
  2023. pe:Destroy()
  2024. pe2:Destroy()
  2025. pea:Destroy()
  2026. pea2:Destroy()
  2027. human.WalkSpeed = 50
  2028. BV = Instance.new("BodyVelocity", tors)
  2029. BV.maxForce = Vector3.new(0,100000,0)
  2030. BV.P = 100000
  2031. BV.velocity = Vector3.new(0,800,0)
  2032. KABOOMZ2()
  2033. coroutine.resume(coroutine.create(function()
  2034. swait(3)
  2035. BV:Destroy()
  2036. end))
  2037. for _ = 1, 18 do
  2038. swait()
  2039. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-3), rd(0), rd(0)), 0.6)
  2040. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-12), rd(0), rd(0)), 0.6)
  2041. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-9), rd(-9), rd(-15)), 0.6)
  2042. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  2043. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-9), rd(9), rd(15)), 0.6)
  2044. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  2045. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(-12)), 0.6)
  2046. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  2047. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6)
  2048. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  2049. end
  2050. for _ = 1, 18 do
  2051. swait()
  2052. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2053. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2054. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2055. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2056. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2057. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2058. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2059. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2060. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2061. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2062. end
  2063. resetlerp()
  2064. local ry,ht,ps=nil,nil,nil
  2065. while ht==nil do
  2066. ry,ht,ps=newRay(hrp.CFrame*CFrame.new(0,-2,0),hrp.CFrame*CFrame.new(0,-3,0),4.1,{chr})
  2067. wait()
  2068. end
  2069. human.WalkSpeed = 0
  2070. Landing()
  2071. z = Instance.new("Sound",tors)
  2072. z.SoundId = "rbxassetid://514867425"
  2073. z.Volume = 2
  2074. wait(.1)
  2075. z:Play()
  2076.  
  2077. for l = 1, 30 do
  2078. swait()
  2079. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  2080. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  2081. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  2082. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2083. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  2084. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2085. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  2086. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2087. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  2088. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2089. end
  2090. resetlerp()
  2091. human.WalkSpeed = 16
  2092.  
  2093. activu = false
  2094. end
  2095.  
  2096.  
  2097.  
  2098. local acos = math.acos
  2099. local sqrt = math.sqrt
  2100. local Vec3 = Vector3.new
  2101. local fromAxisAngle = CFrame.fromAxisAngle
  2102.  
  2103. local function toAxisAngle(CFr)
  2104. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  2105. local Angle = math.acos((R00+R11+R22-1)/2)
  2106. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2107. A = A == 0 and 0.00001 or A
  2108. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2109. B = B == 0 and 0.00001 or B
  2110. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  2111. C = C == 0 and 0.00001 or C
  2112. local x = (R21-R12)/sqrt(A)
  2113. local y = (R02-R20)/sqrt(B)
  2114. local z = (R10-R01)/sqrt(C)
  2115. return Vec3(x,y,z),Angle
  2116. end
  2117.  
  2118. function ApplyTrig(Num,Func)
  2119. local Min,Max = Func(0),Func(1)
  2120. local i = Func(Num)
  2121. return (i-Min)/(Max-Min)
  2122. --[[if Func == "sin" then
  2123. return (math.sin((1-Num)*math.pi)+1)/2
  2124. elseif Func == "cos" then
  2125. return (math.cos((1-Num)*math.pi)+1)/2
  2126. end]]
  2127. end
  2128.  
  2129. function LerpCFrame(CFrame1,CFrame2,Num)
  2130. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  2131. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  2132. end
  2133.  
  2134. function Crater(Torso,Radius)
  2135. spawn(function()
  2136. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  2137. local Ignore = {}
  2138. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2139. if v.Character ~= nil then
  2140. Ignore[#Ignore+1] = v.Character
  2141. end
  2142. end
  2143. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  2144. if Hit == nil then return end
  2145. local Parts = {}
  2146. for i = 1,360,10 do
  2147. local P = Instance.new("Part",Torso.Parent)
  2148. P.Anchored = true
  2149. P.FormFactor = "Custom"
  2150. P.BrickColor = Hit.BrickColor
  2151. P.Material = Hit.Material
  2152. P.TopSurface = "Smooth"
  2153. P.BottomSurface = "Smooth"
  2154. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  2155. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  2156. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  2157. if math.random(0,5) == 0 then -- rubble
  2158. local P = Instance.new("Part",Torso.Parent)
  2159. P.Anchored = true
  2160. P.FormFactor = "Custom"
  2161. P.BrickColor = Hit.BrickColor
  2162. P.Material = Hit.Material
  2163. P.TopSurface = "Smooth"
  2164. P.BottomSurface = "Smooth"
  2165. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  2166. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  2167. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  2168. end
  2169. end
  2170. for i = 0,1,0.05 do
  2171. for i2,v in pairs(Parts) do
  2172. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  2173. end
  2174. wait(0.02)
  2175. end
  2176. for i,v in pairs(Parts) do
  2177. if v[1].Size.X > 2.1 then
  2178. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  2179. end
  2180. v[1].Anchored = false
  2181. end
  2182. for i = 0,1,0.05 do
  2183. for i2,v in pairs(Parts) do
  2184. v[1].Transparency = i
  2185. if i == 1 then
  2186. v[1]:Destroy()
  2187. elseif i >= 0.25 then
  2188. v[1].CanCollide = false
  2189. end
  2190. end
  2191. wait(0.02)
  2192. end
  2193. Parts = nil
  2194. end)
  2195. end
  2196.  
  2197.  
  2198. function FindNearestTorso(Position,Distance,SinglePlayer)
  2199. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2200. local List = {}
  2201. for i,v in pairs(workspace:GetChildren())do
  2202. if v:IsA("Model")then
  2203. if v:findFirstChild("Torso")then
  2204. if v ~= chr then
  2205. if(v.Torso.Position -Position).magnitude <= Distance then
  2206. table.insert(List,v)
  2207. end
  2208. end
  2209. end
  2210. end
  2211. end
  2212. return List
  2213. end
  2214.  
  2215. function KABOOMZ()
  2216. local effspwn = Instance.new("Part")
  2217. coroutine.resume(coroutine.create(function()
  2218. local sound1 = Instance.new("Sound")
  2219. sound1.SoundId = "rbxassetid://138137702"
  2220. sound1.MaxDistance = 300
  2221. sound1.EmitterSize = 20
  2222. sound1.Volume = 5
  2223. sound1.Pitch = 0.95
  2224. sound1.Parent = effspwn
  2225. local sound2 = Instance.new("Sound")
  2226. sound2.SoundId = "rbxassetid://157878578"
  2227. sound2.MaxDistance = 300
  2228. sound2.EmitterSize = 20
  2229. sound2.Volume = 2
  2230. sound2.Pitch = 0.9
  2231. sound2.Parent = effspwn
  2232. local sound3 = Instance.new("Sound")
  2233. sound3.SoundId = "rbxassetid://138250406"
  2234. sound2.MaxDistance = 400
  2235. sound2.EmitterSize = 30
  2236. sound2.Volume = 1.5
  2237. sound2.Pitch = 0.6
  2238. sound2.Parent = effspwn
  2239. sound2:Play()
  2240. wait()
  2241. sound1:Play()
  2242. sound3:Play()
  2243. end))
  2244. local model = Instance.new("Model")
  2245. game.Debris:AddItem(model, 20)
  2246. model.Name = "smasheffects"
  2247. model.Parent = workspace
  2248. effspwn.Name = "spwnr"
  2249. effspwn.Size = Vector3.new(1, 1, 1)
  2250. effspwn.Anchored = true
  2251. effspwn.CanCollide = false
  2252. effspwn.Transparency = 1
  2253. effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0)
  2254. effspwn.Parent = model
  2255.  
  2256. Crater(head,60)
  2257.  
  2258. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  2259. if v:FindFirstChild('Humanoid') then
  2260. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  2261. v.Humanoid.PlatformStand = true
  2262. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  2263. end
  2264. end
  2265. coroutine.resume(coroutine.create(function()
  2266. local shok = Instance.new("Part")
  2267. shok.Name = "whoosh"
  2268. shok.BrickColor = BrickColor.new("Crimson")
  2269. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2270. shok.Size = Vector3.new(1, 1, 1)
  2271. shok.Anchored = true
  2272. shok.Material = "Neon"
  2273. shok.Transparency = 0.1
  2274. shok.CanCollide = false
  2275. shok.Parent = model
  2276. game.Debris:AddItem(shok, 12)
  2277. local mesh = Instance.new("SpecialMesh")
  2278. mesh.MeshType = "FileMesh"
  2279. mesh.MeshId = "rbxassetid://437347603"
  2280. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  2281. mesh.Parent = shok
  2282. for e = 1, 8 do
  2283. wait()
  2284. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  2285. shok.Transparency = shok.Transparency + 0.035
  2286. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4)
  2287. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  2288. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2289. end
  2290. for e = 1, 16 do
  2291. wait()
  2292. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  2293. shok.Transparency = shok.Transparency + 0.11
  2294. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4)
  2295. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  2296. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2297. end
  2298. end))
  2299. coroutine.resume(coroutine.create(function()
  2300. local shok = Instance.new("Part")
  2301. shok.Name = "wring1"
  2302. shok.BrickColor = BrickColor.new("Crimson")
  2303. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2304. shok.Size = Vector3.new(1, 1, 1)
  2305. shok.Anchored = true
  2306. shok.Material = "Neon"
  2307. shok.Transparency = 0.25
  2308. shok.CanCollide = false
  2309. shok.Parent = model
  2310. game.Debris:AddItem(shok, 12)
  2311. local mesh = Instance.new("SpecialMesh")
  2312. mesh.MeshType = "FileMesh"
  2313. mesh.MeshId = "rbxassetid://3270017"
  2314. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  2315. mesh.Parent = shok
  2316. for e = 1, 30 do
  2317. wait()
  2318. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  2319. shok.Transparency = shok.Transparency + 0.002
  2320. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2321. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2322. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2323.  
  2324. end
  2325. for e = 1, 38 do
  2326. wait()
  2327. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  2328. shok.Transparency = shok.Transparency + 0.002
  2329. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2330. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2331. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2332.  
  2333. end
  2334. for e = 1, 24 do
  2335. wait()
  2336. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  2337. shok.Transparency = shok.Transparency + 0.03
  2338. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2339. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2340. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2341.  
  2342. end
  2343. end))
  2344. coroutine.resume(coroutine.create(function()
  2345. local shok = Instance.new("Part")
  2346. shok.Name = "wring2"
  2347. shok.BrickColor = BrickColor.new("Crimson")
  2348. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2349. shok.Size = Vector3.new(1, 1, 1)
  2350. shok.Anchored = true
  2351. shok.Material = "Neon"
  2352. shok.Transparency = 0.25
  2353. shok.CanCollide = false
  2354. shok.Parent = model
  2355. game.Debris:AddItem(shok, 12)
  2356. local mesh = Instance.new("SpecialMesh")
  2357. mesh.MeshType = "FileMesh"
  2358. mesh.MeshId = "rbxassetid://3270017"
  2359. mesh.Scale = Vector3.new(12, 12, 0.05)
  2360. mesh.Parent = shok
  2361. for e = 1, 30 do
  2362. wait()
  2363. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  2364. shok.Transparency = shok.Transparency + 0.002
  2365. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2366. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2367. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2368.  
  2369. end
  2370. for e = 1, 38 do
  2371. wait()
  2372. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  2373. shok.Transparency = shok.Transparency + 0.002
  2374. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2375. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2376. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2377.  
  2378. end
  2379. for e = 1, 24 do
  2380. wait()
  2381. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  2382. shok.Transparency = shok.Transparency + 0.03
  2383. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2384. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2385. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2386.  
  2387. end
  2388. end))
  2389. coroutine.resume(coroutine.create(function()
  2390. local shok = Instance.new("Part")
  2391. shok.Name = "coil1"
  2392. shok.BrickColor = BrickColor.new("Crimson")
  2393. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2394. shok.Size = Vector3.new(1, 1, 1)
  2395. shok.Anchored = true
  2396. shok.Material = "Neon"
  2397. shok.Transparency = 0.25
  2398. shok.CanCollide = false
  2399. shok.Parent = model
  2400. game.Debris:AddItem(shok, 12)
  2401. local mesh = Instance.new("SpecialMesh")
  2402. mesh.MeshType = "FileMesh"
  2403. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2404. mesh.Scale = Vector3.new(12, 12, 12)
  2405. mesh.Parent = shok
  2406. for e = 1, 15 do
  2407. wait()
  2408. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2409. shok.Transparency = shok.Transparency + 0.004
  2410. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2411. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2412. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2413.  
  2414. end
  2415. for e = 1, 16 do
  2416. wait()
  2417. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2418. shok.Transparency = shok.Transparency + 0.004
  2419. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2420. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2421. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2422.  
  2423. end
  2424. for e = 1, 12 do
  2425. wait()
  2426. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2427. shok.Transparency = shok.Transparency + 0.06
  2428. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2429. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2430. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2431.  
  2432. end
  2433. end))
  2434. coroutine.resume(coroutine.create(function()
  2435. local shok = Instance.new("Part")
  2436. shok.Name = "coil2"
  2437. shok.BrickColor = BrickColor.new("Crimson")
  2438. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2439. shok.Size = Vector3.new(1, 1, 1)
  2440. shok.Anchored = true
  2441. shok.Material = "Neon"
  2442. shok.Transparency = 0.25
  2443. shok.CanCollide = false
  2444. shok.Parent = model
  2445. game.Debris:AddItem(shok, 12)
  2446. local mesh = Instance.new("SpecialMesh")
  2447. mesh.MeshType = "FileMesh"
  2448. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2449. mesh.Scale = Vector3.new(6, 12, 6)
  2450. mesh.Parent = shok
  2451. for e = 1, 15 do
  2452. wait()
  2453. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  2454. shok.Transparency = shok.Transparency + 0.005
  2455. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2456. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  2457. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2458.  
  2459. end
  2460. for e = 1, 16 do
  2461. wait()
  2462. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  2463. shok.Transparency = shok.Transparency + 0.005
  2464. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2465. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  2466. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2467.  
  2468. end
  2469. for e = 1, 12 do
  2470. wait()
  2471. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  2472. shok.Transparency = shok.Transparency + 0.09
  2473. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2474. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  2475. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2476.  
  2477. end
  2478. end))
  2479. coroutine.resume(coroutine.create(function()
  2480. local shok = Instance.new("Part")
  2481. shok.Name = "shokwve"
  2482. shok.BrickColor = BrickColor.new("Crimson")
  2483. shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0)
  2484. shok.Size = Vector3.new(1, 1, 1)
  2485. shok.Anchored = true
  2486. shok.Material = "Neon"
  2487. shok.Transparency = 0.6
  2488. shok.CanCollide = false
  2489. shok.Parent = model
  2490. game.Debris:AddItem(shok, 12)
  2491. local mesh = Instance.new("SpecialMesh")
  2492. mesh.MeshType = "FileMesh"
  2493. mesh.MeshId = "rbxassetid://489415447"
  2494. mesh.Scale = Vector3.new(1, 1, 1)
  2495. mesh.Parent = shok
  2496. for e = 1, 12 do
  2497. wait()
  2498. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  2499. shok.Transparency = shok.Transparency + 0.002
  2500. end
  2501. for e = 1, 32 do
  2502. wait()
  2503. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  2504. shok.Transparency = shok.Transparency + 0.002
  2505. end
  2506. for e = 1, 24 do
  2507. wait()
  2508. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  2509. shok.Transparency = shok.Transparency + 0.03
  2510. end
  2511. end))
  2512. coroutine.resume(coroutine.create(function()
  2513. local shok = Instance.new("Part")
  2514. shok.Name = "shock2"
  2515. shok.BrickColor = BrickColor.new("Crimson")
  2516. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2517. shok.Size = Vector3.new(1, 1, 1)
  2518. shok.Anchored = true
  2519. shok.Material = "Neon"
  2520. shok.Transparency = 0.35
  2521. shok.CanCollide = false
  2522. shok.Parent = model
  2523. game.Debris:AddItem(shok, 12)
  2524. local mesh = Instance.new("SpecialMesh")
  2525. mesh.MeshType = "FileMesh"
  2526. mesh.MeshId = "rbxassetid://489415447"
  2527. mesh.Scale = Vector3.new(12, 12, 12)
  2528. mesh.Parent = shok
  2529. for e = 1, 15 do
  2530. wait()
  2531. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2532. shok.Transparency = shok.Transparency + 0.004
  2533. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2534. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2535.  
  2536. end
  2537. for e = 1, 16 do
  2538. wait()
  2539. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2540. shok.Transparency = shok.Transparency + 0.004
  2541. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2542. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2543.  
  2544. end
  2545. for e = 1, 12 do
  2546. wait()
  2547. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2548. shok.Transparency = shok.Transparency + 0.06
  2549. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2550. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2551.  
  2552. end
  2553. end))
  2554. coroutine.resume(coroutine.create(function()
  2555. local shok = Instance.new("Part")
  2556. shok.Name = "shock3"
  2557. shok.BrickColor = BrickColor.new("Crimson")
  2558. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2559. shok.Size = Vector3.new(1, 1, 1)
  2560. shok.Anchored = true
  2561. shok.Material = "Neon"
  2562. shok.Transparency = 0.35
  2563. shok.CanCollide = false
  2564. shok.Parent = model
  2565. game.Debris:AddItem(shok, 12)
  2566. local mesh = Instance.new("SpecialMesh")
  2567. mesh.MeshType = "FileMesh"
  2568. mesh.MeshId = "rbxassetid://489415447"
  2569. mesh.Scale = Vector3.new(12, 12, 12)
  2570. mesh.Parent = shok
  2571. for e = 1, 15 do
  2572. wait()
  2573. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2574. shok.Transparency = shok.Transparency + 0.004
  2575. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2576. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2577. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2578.  
  2579. end
  2580. for e = 1, 16 do
  2581. wait()
  2582. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2583. shok.Transparency = shok.Transparency + 0.004
  2584. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2585. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2586. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2587.  
  2588. end
  2589. for e = 1, 12 do
  2590. wait()
  2591. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  2592. shok.Transparency = shok.Transparency + 0.06
  2593. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2594. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2595. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2596.  
  2597. end
  2598. end))
  2599. end
  2600. function KABOOMZ2()
  2601. local effspwn = Instance.new("Part")
  2602. coroutine.resume(coroutine.create(function()
  2603. local sound1 = Instance.new("Sound")
  2604. sound1.SoundId = "rbxassetid://138137702"
  2605. sound1.MaxDistance = 300
  2606. sound1.EmitterSize = 20
  2607. sound1.Volume = 2.5
  2608. sound1.Pitch = 0.65
  2609. sound1.Parent = effspwn
  2610. local sound2 = Instance.new("Sound")
  2611. sound2.SoundId = "rbxassetid://157878578"
  2612. sound2.MaxDistance = 300
  2613. sound2.EmitterSize = 20
  2614. sound2.Volume = 1
  2615. sound2.Pitch = 0.7
  2616. sound2.Parent = effspwn
  2617. local sound3 = Instance.new("Sound")
  2618. sound3.SoundId = "rbxassetid://138250406"
  2619. sound2.MaxDistance = 400
  2620. sound2.EmitterSize = 30
  2621. sound2.Volume = 0.5
  2622. sound2.Pitch = 0.5
  2623. sound2.Parent = effspwn
  2624. sound2:Play()
  2625. wait()
  2626. sound1:Play()
  2627. sound3:Play()
  2628. end))
  2629. local model = Instance.new("Model")
  2630. game.Debris:AddItem(model, 20)
  2631. model.Name = "smasheffects"
  2632. model.Parent = workspace
  2633. effspwn.Name = "spwnr"
  2634. effspwn.Size = Vector3.new(1, 1, 1)
  2635. effspwn.Anchored = true
  2636. effspwn.CanCollide = false
  2637. effspwn.Transparency = 1
  2638. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  2639. effspwn.Parent = model
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645. Crater(head,60)
  2646. Crater(head,120)
  2647.  
  2648. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  2649. if v:FindFirstChild('Humanoid') then
  2650. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  2651. v.Humanoid.PlatformStand = true
  2652. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  2653. end
  2654. end
  2655.  
  2656. coroutine.resume(coroutine.create(function()
  2657. local shok = Instance.new("Part")
  2658. shok.Name = "whoosh"
  2659. shok.BrickColor = BrickColor.new("Crimson")
  2660. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2661. shok.Size = Vector3.new(1, 1, 1)
  2662. shok.Anchored = true
  2663. shok.Material = "Neon"
  2664. shok.Transparency = 0.1
  2665. shok.CanCollide = false
  2666. shok.Parent = model
  2667. game.Debris:AddItem(shok, 12)
  2668. local mesh = Instance.new("SpecialMesh")
  2669. mesh.MeshType = "FileMesh"
  2670. mesh.MeshId = "rbxassetid://437347603"
  2671. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  2672. mesh.Parent = shok
  2673.  
  2674.  
  2675.  
  2676.  
  2677.  
  2678. for e = 1, 8 do
  2679. wait()
  2680. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  2681. shok.Transparency = shok.Transparency + 0.035
  2682. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  2683. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  2684. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2685.  
  2686. end
  2687. for e = 1, 16 do
  2688. wait()
  2689. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  2690. shok.Transparency = shok.Transparency + 0.11
  2691. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  2692. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  2693. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  2694.  
  2695. end
  2696. end))
  2697. coroutine.resume(coroutine.create(function()
  2698. local shok = Instance.new("Part")
  2699. shok.Name = "wring1"
  2700. shok.BrickColor = BrickColor.new("Crimson")
  2701. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2702. shok.Size = Vector3.new(1, 1, 1)
  2703. shok.Anchored = true
  2704. shok.Material = "Neon"
  2705. shok.Transparency = 0.25
  2706. shok.CanCollide = false
  2707. shok.Parent = model
  2708. game.Debris:AddItem(shok, 12)
  2709. local mesh = Instance.new("SpecialMesh")
  2710. mesh.MeshType = "FileMesh"
  2711. mesh.MeshId = "rbxassetid://3270017"
  2712. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  2713. mesh.Parent = shok
  2714. for e = 1, 30 do
  2715. wait()
  2716. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  2717. shok.Transparency = shok.Transparency + 0.002
  2718. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2719. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2720. end
  2721. for e = 1, 38 do
  2722. wait()
  2723. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  2724. shok.Transparency = shok.Transparency + 0.002
  2725. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2726. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2727. end
  2728. for e = 1, 24 do
  2729. wait()
  2730. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  2731. shok.Transparency = shok.Transparency + 0.03
  2732. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2733. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2734. end
  2735. end))
  2736. coroutine.resume(coroutine.create(function()
  2737. local shok = Instance.new("Part")
  2738. shok.Name = "wring2"
  2739. shok.BrickColor = BrickColor.new("Crimson")
  2740. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2741. shok.Size = Vector3.new(1, 1, 1)
  2742. shok.Anchored = true
  2743. shok.Material = "Neon"
  2744. shok.Transparency = 0.25
  2745. shok.CanCollide = false
  2746. shok.Parent = model
  2747. game.Debris:AddItem(shok, 12)
  2748. local mesh = Instance.new("SpecialMesh")
  2749. mesh.MeshType = "FileMesh"
  2750. mesh.MeshId = "rbxassetid://3270017"
  2751. mesh.Scale = Vector3.new(12, 12, 0.05)
  2752. mesh.Parent = shok
  2753. for e = 1, 30 do
  2754. wait()
  2755. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  2756. shok.Transparency = shok.Transparency + 0.002
  2757. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2758. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2759. end
  2760. for e = 1, 38 do
  2761. wait()
  2762. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  2763. shok.Transparency = shok.Transparency + 0.002
  2764. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2765. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2766. end
  2767. for e = 1, 24 do
  2768. wait()
  2769. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  2770. shok.Transparency = shok.Transparency + 0.03
  2771. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2772. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2773. end
  2774. end))
  2775. coroutine.resume(coroutine.create(function()
  2776. local shok = Instance.new("Part")
  2777. shok.Name = "coil1"
  2778. shok.BrickColor = BrickColor.new("Crimson")
  2779. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2780. shok.Size = Vector3.new(1, 1, 1)
  2781. shok.Anchored = true
  2782. shok.Material = "Neon"
  2783. shok.Transparency = 0.25
  2784. shok.CanCollide = false
  2785. shok.Parent = model
  2786. game.Debris:AddItem(shok, 12)
  2787. local mesh = Instance.new("SpecialMesh")
  2788. mesh.MeshType = "FileMesh"
  2789. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2790. mesh.Scale = Vector3.new(12, 12, 12)
  2791. mesh.Parent = shok
  2792. for e = 1, 15 do
  2793. wait()
  2794. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2795. shok.Transparency = shok.Transparency + 0.004
  2796. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2797. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2798. end
  2799. for e = 1, 16 do
  2800. wait()
  2801. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2802. shok.Transparency = shok.Transparency + 0.004
  2803. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2804. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2805. end
  2806. for e = 1, 12 do
  2807. wait()
  2808. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2809. shok.Transparency = shok.Transparency + 0.06
  2810. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2811. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2812. end
  2813. end))
  2814. coroutine.resume(coroutine.create(function()
  2815. local shok = Instance.new("Part")
  2816. shok.Name = "coil2"
  2817. shok.BrickColor = BrickColor.new("Crimson")
  2818. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2819. shok.Size = Vector3.new(1, 1, 1)
  2820. shok.Anchored = true
  2821. shok.Material = "Neon"
  2822. shok.Transparency = 0.25
  2823. shok.CanCollide = false
  2824. shok.Parent = model
  2825. game.Debris:AddItem(shok, 12)
  2826. local mesh = Instance.new("SpecialMesh")
  2827. mesh.MeshType = "FileMesh"
  2828. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2829. mesh.Scale = Vector3.new(6, 12, 6)
  2830. mesh.Parent = shok
  2831. for e = 1, 15 do
  2832. wait()
  2833. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  2834. shok.Transparency = shok.Transparency + 0.005
  2835. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2836. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  2837. end
  2838. for e = 1, 16 do
  2839. wait()
  2840. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  2841. shok.Transparency = shok.Transparency + 0.005
  2842. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2843. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  2844. end
  2845. for e = 1, 12 do
  2846. wait()
  2847. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  2848. shok.Transparency = shok.Transparency + 0.09
  2849. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2850. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  2851. end
  2852. end))
  2853. coroutine.resume(coroutine.create(function()
  2854. local shok = Instance.new("Part")
  2855. shok.Name = "shokwve"
  2856. shok.BrickColor = BrickColor.new("Crimson")
  2857. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  2858. shok.Size = Vector3.new(1, 1, 1)
  2859. shok.Anchored = true
  2860. shok.Material = "Neon"
  2861. shok.Transparency = 0.6
  2862. shok.CanCollide = false
  2863. shok.Parent = model
  2864. game.Debris:AddItem(shok, 12)
  2865. local mesh = Instance.new("SpecialMesh")
  2866. mesh.MeshType = "FileMesh"
  2867. mesh.MeshId = "rbxassetid://489415447"
  2868. mesh.Scale = Vector3.new(1, 1, 1)
  2869. mesh.Parent = shok
  2870. for e = 1, 12 do
  2871. wait()
  2872. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  2873. shok.Transparency = shok.Transparency + 0.002
  2874. end
  2875. for e = 1, 32 do
  2876. wait()
  2877. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  2878. shok.Transparency = shok.Transparency + 0.002
  2879. end
  2880. for e = 1, 24 do
  2881. wait()
  2882. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  2883. shok.Transparency = shok.Transparency + 0.03
  2884. end
  2885. end))
  2886. coroutine.resume(coroutine.create(function()
  2887. local shok = Instance.new("Part")
  2888. shok.Name = "shock2"
  2889. shok.BrickColor = BrickColor.new("Crimson")
  2890. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2891. shok.Size = Vector3.new(1, 1, 1)
  2892. shok.Anchored = true
  2893. shok.Material = "Neon"
  2894. shok.Transparency = 0.35
  2895. shok.CanCollide = false
  2896. shok.Parent = model
  2897. game.Debris:AddItem(shok, 12)
  2898. local mesh = Instance.new("SpecialMesh")
  2899. mesh.MeshType = "FileMesh"
  2900. mesh.MeshId = "rbxassetid://489415447"
  2901. mesh.Scale = Vector3.new(12, 12, 12)
  2902. mesh.Parent = shok
  2903. for e = 1, 15 do
  2904. wait()
  2905. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2906. shok.Transparency = shok.Transparency + 0.004
  2907. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2908. end
  2909. for e = 1, 16 do
  2910. wait()
  2911. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2912. shok.Transparency = shok.Transparency + 0.004
  2913. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2914. end
  2915. for e = 1, 12 do
  2916. wait()
  2917. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2918. shok.Transparency = shok.Transparency + 0.06
  2919. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2920. end
  2921. end))
  2922. coroutine.resume(coroutine.create(function()
  2923. local shok = Instance.new("Part")
  2924. shok.Name = "shock3"
  2925. shok.BrickColor = BrickColor.new("Crimson")
  2926. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2927. shok.Size = Vector3.new(1, 1, 1)
  2928. shok.Anchored = true
  2929. shok.Material = "Neon"
  2930. shok.Transparency = 0.35
  2931. shok.CanCollide = false
  2932. shok.Parent = model
  2933. game.Debris:AddItem(shok, 12)
  2934. local mesh = Instance.new("SpecialMesh")
  2935. mesh.MeshType = "FileMesh"
  2936. mesh.MeshId = "rbxassetid://489415447"
  2937. mesh.Scale = Vector3.new(12, 12, 12)
  2938. mesh.Parent = shok
  2939. for e = 1, 15 do
  2940. wait()
  2941. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2942. shok.Transparency = shok.Transparency + 0.004
  2943. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2944. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2945. end
  2946. for e = 1, 16 do
  2947. wait()
  2948. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2949. shok.Transparency = shok.Transparency + 0.004
  2950. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2951. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2952. end
  2953. for e = 1, 12 do
  2954. wait()
  2955. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  2956. shok.Transparency = shok.Transparency + 0.06
  2957. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2958. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2959. end
  2960. end))
  2961. end
  2962.  
  2963.  
  2964.  
  2965. tor = chr.Torso
  2966. Debounce = false
  2967.  
  2968. Invis = function()
  2969. for i = 1,20 do
  2970. chr['Right Arm'].Transparency = chr['Right Arm'].Transparency + .05
  2971. chr['Left Arm'].Transparency = chr['Left Arm'].Transparency + .05
  2972. chr['Right Leg'].Transparency = chr['Right Leg'].Transparency + .05
  2973. chr['Left Leg'].Transparency = chr['Left Leg'].Transparency + .05
  2974. chr['Head'].Transparency = chr['Head'].Transparency + .05
  2975. chr['Torso'].Transparency = chr['Torso'].Transparency + .05
  2976. chr.Head['face'].Transparency = chr.Head['face'].Transparency + .05
  2977. game["Run Service"].RenderStepped:wait()
  2978. end
  2979. end
  2980.  
  2981. Vis = function()
  2982. for i = 1,20 do
  2983. chr['Right Arm'].Transparency = chr['Right Arm'].Transparency - .05
  2984. chr['Left Arm'].Transparency = chr['Left Arm'].Transparency - .05
  2985. chr['Right Leg'].Transparency = chr['Right Leg'].Transparency - .05
  2986. chr['Left Leg'].Transparency = chr['Left Leg'].Transparency - .05
  2987. chr['Head'].Transparency = chr['Head'].Transparency - .05
  2988. chr['Torso'].Transparency = chr['Torso'].Transparency - .05
  2989. chr.Head['face'].Transparency = chr.Head['face'].Transparency - .05
  2990. game["Run Service"].RenderStepped:wait()
  2991. end
  2992. end
  2993.  
  2994. Fade = function(Part)
  2995. if Part:IsA'Part' then
  2996. for i = 1,20 do
  2997. Part.Transparency = Part.Transparency + .05
  2998. Part.Size = Part.Size - Vector3.new(.04,.04,.04)
  2999. Part.CFrame = Part.CFrame * CFrame.new(0,-.1,0)
  3000. wait()
  3001. end
  3002. Part:Destroy()
  3003. end
  3004. end
  3005.  
  3006. Teleport = function(cx,cy,cz)
  3007. Debounce = true
  3008. tor.Anchored = true
  3009. Invis()
  3010. --MakeTpPart()
  3011. tor.Anchored = false
  3012. tor.CFrame = CFrame.new(cx,cy,cz) * CFrame.new(0,3,0)
  3013. tor.Anchored = true
  3014. Vis()
  3015. tor.Anchored = false
  3016. Debounce = false
  3017. end;
  3018.  
  3019.  
  3020.  
  3021. tps = Instance.new("Sound",chr)
  3022. tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
  3023. tps.Volume = 30
  3024.  
  3025.  
  3026. function Tele()
  3027. human.WalkSpeed = 0
  3028. if activu == true or selected == false then
  3029. return
  3030. end
  3031. coroutine.resume(coroutine.create(function()
  3032. fglow(rleg.Glow, 1)
  3033. fglow(lleg.Glow, 1)
  3034. end))
  3035. activu = true
  3036. local pe = Instance.new("ParticleEmitter")
  3037. pe.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3038. pe.LightEmission = 0.9
  3039. pe.Size = NumberSequence.new(0.5)
  3040. pe.Texture = "rbxassetid://272050333"
  3041. pe.Transparency = NumberSequence.new(0.1)
  3042. pe.Lifetime = NumberRange.new(0.1)
  3043. pe.Rate = 250
  3044. pe.RotSpeed = NumberRange.new(360)
  3045. pe.Speed = NumberRange.new(3)
  3046. pe.VelocitySpread = 360
  3047. pe.Parent = rleg.Glow
  3048. local pea = pe:Clone()
  3049. pea.Parent = lleg.Glow
  3050. local pe2 = Instance.new("ParticleEmitter")
  3051. pe2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3052. pe2.LightEmission = 0.9
  3053. pe2.Size = NumberSequence.new(5)
  3054. pe2.Texture = "rbxassetid://516107903"
  3055. pe2.Transparency = NumberSequence.new(0.4)
  3056. pe2.ZOffset = 2
  3057. pe2.Enabled = true
  3058. pe2.LockedToPart = true
  3059. pe2.Lifetime = NumberRange.new(0.07)
  3060. pe2.Rate = 8
  3061. pe2.Rotation = NumberRange.new(0, 360)
  3062. pe2.RotSpeed = NumberRange.new(0)
  3063. pe2.Speed = NumberRange.new(0)
  3064. pe2.VelocitySpread = 180
  3065. pe2.Parent = lleg.Glow
  3066. local pea2 = pe2:Clone()
  3067. pea2.Parent = rleg.Glow
  3068.  
  3069. for l = 1, 30 do
  3070. swait()
  3071. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  3072. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  3073. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  3074. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  3075. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  3076. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  3077. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  3078. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  3079. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  3080. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  3081. end
  3082.  
  3083. pe:Destroy()
  3084. pe2:Destroy()
  3085. pea:Destroy()
  3086. pea2:Destroy()
  3087. local rng = Instance.new("Part", chr)
  3088. rng.Anchored = true
  3089. rng.BrickColor = BrickColor.new("Crimson")
  3090. rng.CanCollide = false
  3091. rng.FormFactor = 3
  3092. rng.Name = "Ring"
  3093. rng.Size = Vector3.new(1, 1, 1)
  3094. rng.Transparency = 0.5
  3095. rng.TopSurface = 0
  3096. rng.BottomSurface = 0
  3097. rng.Position = tors.Position - Vector3.new(0,2,0)
  3098. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  3099. local rngm = Instance.new("SpecialMesh", rng)
  3100. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3101. rngm.Scale = Vector3.new(1, 1, 2)
  3102. coroutine.wrap(function()
  3103. for i = 1, 60, 8 do
  3104. rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1)
  3105. rng.Transparency = i/60
  3106. wait()
  3107. end
  3108. wait()
  3109. rng:Destroy()
  3110. end)()
  3111. tps:Play()
  3112. Teleport(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z)
  3113. resetlerp()
  3114. human.WalkSpeed = 16
  3115. activu = false
  3116.  
  3117. end
  3118.  
  3119.  
  3120.  
  3121.  
  3122. boom3 = Instance.new("Sound",chr)
  3123. boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
  3124. boom3.Volume = 50
  3125.  
  3126.  
  3127.  
  3128.  
  3129.  
  3130. gprop = {}
  3131. function materialhit(hit)
  3132. if hit.Parent ~= chr and hit.Parent.Parent ~= chr and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
  3133. gprop = {hit.BrickColor,hit.Material}
  3134. end
  3135. end
  3136. chr["Left Leg"].Touched:connect(materialhit)
  3137. chr["Right Leg"].Touched:connect(materialhit)
  3138.  
  3139.  
  3140. function KickBoom()
  3141. local effspwn = Instance.new("Part")
  3142. local model = Instance.new("Model")
  3143. game.Debris:AddItem(model, 20)
  3144. model.Name = "smasheffects"
  3145. model.Parent = chr
  3146. effspwn.Name = "spwnr"
  3147. effspwn.Size = Vector3.new(1, 1, 1)
  3148. effspwn.Anchored = true
  3149. effspwn.CanCollide = false
  3150. effspwn.Transparency = 1
  3151. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  3152. effspwn.Parent = model
  3153.  
  3154. for i = 1, 15 do
  3155. local gtrace = Instance.new("Part",game.Workspace)
  3156. gtrace.BrickColor = gprop[1]
  3157. gtrace.Material = gprop[2]
  3158. gtrace.Size = Vector3.new(16,16,16)
  3159. gtrace.Anchored = true
  3160. gtrace.CanCollide = false
  3161. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  3162. local gdisp = coroutine.wrap(function()
  3163. wait(3)
  3164. for i = 1, 9 do
  3165. wait(.1)
  3166. gtrace.Transparency = gtrace.Transparency + .1
  3167. end
  3168. gtrace:Destroy()
  3169. end)
  3170. gdisp()
  3171. end
  3172.  
  3173. Crater(head,67)
  3174.  
  3175. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  3176. if v:FindFirstChild('Humanoid') then
  3177. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  3178. v.Humanoid.PlatformStand = true
  3179. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 250
  3180. end
  3181. end
  3182.  
  3183. coroutine.resume(coroutine.create(function()
  3184. local shok = Instance.new("Part")
  3185. shok.Name = "shock3"
  3186. shok.BrickColor = BrickColor.new("Crimson")
  3187. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3188. shok.Size = Vector3.new(1, 1, 1)
  3189. shok.Anchored = true
  3190. shok.Material = "Neon"
  3191. shok.Transparency = 0.35
  3192. shok.CanCollide = false
  3193. shok.Parent = model
  3194. game.Debris:AddItem(shok, 12)
  3195. local mesh = Instance.new("SpecialMesh")
  3196. mesh.MeshType = "FileMesh"
  3197. mesh.MeshId = "rbxassetid://489415447"
  3198. mesh.Scale = Vector3.new(19, 19, 19)
  3199. mesh.Parent = shok
  3200. for e = 1, 15 do
  3201. wait()
  3202. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3203. shok.Transparency = shok.Transparency + 0.004
  3204. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3205. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3206. end
  3207. for e = 1, 16 do
  3208. wait()
  3209. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3210. shok.Transparency = shok.Transparency + 0.004
  3211. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3212. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3213. end
  3214. for e = 1, 12 do
  3215. wait()
  3216. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  3217. shok.Transparency = shok.Transparency + 0.06
  3218. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3219. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3220. end
  3221. end))
  3222.  
  3223.  
  3224. coroutine.resume(coroutine.create(function()
  3225. local shok = Instance.new("Part")
  3226. shok.Name = "shock3"
  3227. shok.BrickColor = BrickColor.new("Crimson")
  3228. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3229. shok.Size = Vector3.new(1, 1, 1)
  3230. shok.Anchored = true
  3231. shok.Material = "Neon"
  3232. shok.Transparency = 0.35
  3233. shok.CanCollide = false
  3234. shok.Parent = model
  3235. game.Debris:AddItem(shok, 12)
  3236. local mesh = Instance.new("SpecialMesh")
  3237. mesh.MeshType = "FileMesh"
  3238. mesh.MeshId = "rbxassetid://489415447"
  3239. mesh.Scale = Vector3.new(47, 47, 47)
  3240. mesh.Parent = shok
  3241. for e = 1, 15 do
  3242. wait()
  3243. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3244. shok.Transparency = shok.Transparency + 0.004
  3245. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3246. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3247. end
  3248. for e = 1, 16 do
  3249. wait()
  3250. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3251. shok.Transparency = shok.Transparency + 0.004
  3252. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3253. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3254. end
  3255. for e = 1, 12 do
  3256. wait()
  3257. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  3258. shok.Transparency = shok.Transparency + 0.06
  3259. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3260. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3261. end
  3262. end))
  3263.  
  3264. coroutine.resume(coroutine.create(function()
  3265. local shok = Instance.new("Part")
  3266. shok.Name = "shock3"
  3267. shok.BrickColor = BrickColor.new("Crimson")
  3268. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3269. shok.Size = Vector3.new(1, 1, 1)
  3270. shok.Anchored = true
  3271. shok.Material = "Neon"
  3272. shok.Transparency = 0.35
  3273. shok.CanCollide = false
  3274. shok.Parent = model
  3275. game.Debris:AddItem(shok, 12)
  3276. local mesh = Instance.new("SpecialMesh")
  3277. mesh.MeshType = "FileMesh"
  3278. mesh.MeshId = "rbxassetid://489415447"
  3279. mesh.Scale = Vector3.new(79, 79, 79)
  3280. mesh.Parent = shok
  3281. for e = 1, 15 do
  3282. wait()
  3283. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3284. shok.Transparency = shok.Transparency + 0.004
  3285. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3286. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3287. end
  3288. for e = 1, 16 do
  3289. wait()
  3290. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3291. shok.Transparency = shok.Transparency + 0.004
  3292. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3293. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3294. end
  3295. for e = 1, 12 do
  3296. wait()
  3297. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  3298. shok.Transparency = shok.Transparency + 0.06
  3299. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3300. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3301. end
  3302. end))
  3303. end
  3304.  
  3305.  
  3306.  
  3307.  
  3308. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3309. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3310. end
  3311. cam = workspace.CurrentCamera
  3312.  
  3313.  
  3314.  
  3315.  
  3316.  
  3317.  
  3318.  
  3319.  
  3320. function NoOutline(Part)
  3321. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  3322. end
  3323.  
  3324.  
  3325.  
  3326.  
  3327. it = Instance.new
  3328.  
  3329.  
  3330.  
  3331.  
  3332.  
  3333.  
  3334.  
  3335.  
  3336.  
  3337.  
  3338. so = function(id,par,vol,pit)
  3339. coroutine.resume(coroutine.create(function()
  3340. local sou = Instance.new("Sound",par or workspace)
  3341. sou.Volume=vol
  3342. sou.Pitch=pit or 1
  3343. sou.SoundId=id
  3344. swait()
  3345. sou:play()
  3346. game:GetService("Debris"):AddItem(sou,6)
  3347. end))
  3348. end
  3349.  
  3350.  
  3351. function Stom()
  3352.  
  3353. cf=CFrame.new
  3354. angles=CFrame.Angles
  3355. euler=CFrame.fromEulerAnglesXYZ
  3356. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3357. RootPart=chr.HumanoidRootPart
  3358. RootJoint=RootPart.RootJoint
  3359. RootCF=euler(-1.57,0,3.14)
  3360.  
  3361. function QuaternionFromCFrame(cf)
  3362. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3363. local trace = m00 + m11 + m22
  3364. if trace > 0 then
  3365. local s = math.sqrt(1 + trace)
  3366. local recip = 0.5/s
  3367. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3368. else
  3369. local i = 0
  3370. if m11 > m00 then
  3371. i = 1
  3372. end
  3373. if m22 > (i == 0 and m00 or m11) then
  3374. i = 2
  3375. end
  3376. if i == 0 then
  3377. local s = math.sqrt(m00-m11-m22+1)
  3378. local recip = 0.5/s
  3379. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3380. elseif i == 1 then
  3381. local s = math.sqrt(m11-m22-m00+1)
  3382. local recip = 0.5/s
  3383. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3384. elseif i == 2 then
  3385. local s = math.sqrt(m22-m00-m11+1)
  3386. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3387. end
  3388. end
  3389. end
  3390.  
  3391. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3392. local xs, ys, zs = x + x, y + y, z + z
  3393. local wx, wy, wz = w*xs, w*ys, w*zs
  3394. local xx = x*xs
  3395. local xy = x*ys
  3396. local xz = x*zs
  3397. local yy = y*ys
  3398. local yz = y*zs
  3399. local zz = z*zs
  3400. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  3401. end
  3402.  
  3403. function QuaternionSlerp(a, b, t)
  3404. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3405. local startInterp, finishInterp;
  3406. if cosTheta >= 0.0001 then
  3407. if (1 - cosTheta) > 0.0001 then
  3408. local theta = math.acos(cosTheta)
  3409. local invSinTheta = 1/math.sin(theta)
  3410. startInterp = math.sin((1-t)*theta)*invSinTheta
  3411. finishInterp = math.sin(t*theta)*invSinTheta
  3412. else
  3413. startInterp = 1-t
  3414. finishInterp = t
  3415. end
  3416. else
  3417. if (1+cosTheta) > 0.0001 then
  3418. local theta = math.acos(-cosTheta)
  3419. local invSinTheta = 1/math.sin(theta)
  3420. startInterp = math.sin((t-1)*theta)*invSinTheta
  3421. finishInterp = math.sin(t*theta)*invSinTheta
  3422. else
  3423. startInterp = t-1
  3424. finishInterp = t
  3425. end
  3426. end
  3427. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  3428. end
  3429.  
  3430. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3431. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3432. end
  3433.  
  3434. function clerp(a,b,t)
  3435. local qa = {QuaternionFromCFrame(a)}
  3436. local qb = {QuaternionFromCFrame(b)}
  3437. local ax, ay, az = a.x, a.y, a.z
  3438. local bx, by, bz = b.x, b.y, b.z
  3439. local _t = 1-t
  3440. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3441. end
  3442.  
  3443.  
  3444.  
  3445. if activu == true or selected == false then
  3446. return
  3447. end
  3448. coroutine.resume(coroutine.create(function()
  3449. fglow(lleg.Glow, 6)
  3450. end))
  3451. activu = true
  3452. local pe = Instance.new("ParticleEmitter")
  3453. pe.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3454. pe.LightEmission = 0.9
  3455. pe.Size = NumberSequence.new(0.5)
  3456. pe.Texture = "rbxassetid://272050333"
  3457. pe.Transparency = NumberSequence.new(0.1)
  3458. pe.Lifetime = NumberRange.new(0.1)
  3459. pe.Rate = 250
  3460. pe.RotSpeed = NumberRange.new(360)
  3461. pe.Speed = NumberRange.new(3)
  3462. pe.VelocitySpread = 360
  3463. pe.Parent = lleg.Glow
  3464. local pea = pe:Clone()
  3465. pea.Parent = lleg.Glow
  3466. wait(0.5)
  3467. local pe2 = Instance.new("ParticleEmitter")
  3468. pe2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3469. pe2.LightEmission = 0.9
  3470. pe2.Size = NumberSequence.new(5)
  3471. pe2.Texture = "rbxassetid://516107903"
  3472. pe2.Transparency = NumberSequence.new(0.4)
  3473. pe2.ZOffset = 2
  3474. pe2.Enabled = true
  3475. pe2.LockedToPart = true
  3476. pe2.Lifetime = NumberRange.new(0.07)
  3477. pe2.Rate = 8
  3478. pe2.Rotation = NumberRange.new(0, 360)
  3479. pe2.RotSpeed = NumberRange.new(0)
  3480. pe2.Speed = NumberRange.new(0)
  3481. pe2.VelocitySpread = 180
  3482. pe2.Parent = lleg.Glow
  3483. local pea2 = pe2:Clone()
  3484. pea2.Parent = lleg.Glow
  3485. local Mus = Instance.new("Sound",workspace)
  3486. Mus.SoundId = "rbxassetid://802518140"
  3487. Mus.Pitch = 1
  3488. Mus.Volume = 90000
  3489. Mus.Looped = false
  3490. wait(0.9)
  3491. Mus:Play()
  3492.  
  3493.  
  3494.  
  3495. human.WalkSpeed = 0
  3496. for i = 0,1,0.1 do
  3497. swait()
  3498. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3499. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3500. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  3501. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3502. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  3503. LH.C0=clerp(LH.C0,cf(-1,-.1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  3504. end
  3505. wait(1)
  3506. for i = 0,1,0.1 do
  3507. swait()
  3508. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  3509. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3510. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  3511. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  3512. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  3513. LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  3514. end
  3515. KickBoom()
  3516. so("http://roblox.com/asset/?id=144699494",lleg,2,1.1)
  3517. so("http://roblox.com/asset/?id=321321137",lleg,1,1)
  3518. so("http://roblox.com/asset/?id=506384002",lleg,1,1)
  3519. so("http://roblox.com/asset/?id=157878578",lleg,25,1)
  3520. so("http://roblox.com/asset/?id=165970126",lleg,25,1)
  3521.  
  3522. wait(3)
  3523. human.WalkSpeed = 16
  3524. pe:Destroy()
  3525. pe2:Destroy()
  3526. pea:Destroy()
  3527. pea2:Destroy()
  3528. resetlerp()
  3529. activu = false
  3530. end
  3531.  
  3532.  
  3533.  
  3534.  
  3535.  
  3536. function Smash()
  3537. for i = 1, 15 do
  3538. local gtrace = Instance.new("Part",game.Workspace)
  3539. gtrace.BrickColor = gprop[1]
  3540. gtrace.Material = gprop[2]
  3541. gtrace.Size = Vector3.new(19,19,19)
  3542. gtrace.Anchored = true
  3543. gtrace.CanCollide = false
  3544. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-60,60),-6,math.random(-60,60))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  3545. local gdisp = coroutine.wrap(function()
  3546. wait(7)
  3547. for i = 1, 9 do
  3548. wait(.1)
  3549. gtrace.Transparency = gtrace.Transparency + .1
  3550. end
  3551. gtrace:Destroy()
  3552. end)
  3553. gdisp()
  3554. end
  3555.  
  3556. Crater(head,67)
  3557. end
  3558.  
  3559. function Smash2()
  3560. for i = 1, 15 do
  3561. local gtrace = Instance.new("Part",game.Workspace)
  3562. gtrace.BrickColor = gprop[1]
  3563. gtrace.Material = gprop[2]
  3564. gtrace.Size = Vector3.new(19,19,19)
  3565. gtrace.Anchored = true
  3566. gtrace.CanCollide = false
  3567. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  3568. local gdisp = coroutine.wrap(function()
  3569. wait(7)
  3570. for i = 1, 9 do
  3571. wait(.1)
  3572. gtrace.Transparency = gtrace.Transparency + .1
  3573. end
  3574. gtrace:Destroy()
  3575. end)
  3576. gdisp()
  3577. end
  3578.  
  3579. end
  3580.  
  3581. function Smash3()
  3582. for i = 1, 15 do
  3583. local gtrace = Instance.new("Part",game.Workspace)
  3584. gtrace.BrickColor = gprop[1]
  3585. gtrace.Material = gprop[2]
  3586. gtrace.Size = Vector3.new(19,19,19)
  3587. gtrace.Anchored = true
  3588. gtrace.CanCollide = false
  3589. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-50,50),-6,math.random(-50,50))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  3590. local gdisp = coroutine.wrap(function()
  3591. wait(7)
  3592. for i = 1, 9 do
  3593. wait(.1)
  3594. gtrace.Transparency = gtrace.Transparency + .1
  3595. end
  3596. gtrace:Destroy()
  3597. end)
  3598. gdisp()
  3599. end
  3600.  
  3601. end
  3602.  
  3603.  
  3604. function Smash4()
  3605. for i = 1, 15 do
  3606. local gtrace = Instance.new("Part",game.Workspace)
  3607. gtrace.BrickColor = gprop[1]
  3608. gtrace.Material = gprop[2]
  3609. gtrace.Size = Vector3.new(19,19,19)
  3610. gtrace.Anchored = true
  3611. gtrace.CanCollide = false
  3612. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-40,40),-6,math.random(-40,40))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  3613. local gdisp = coroutine.wrap(function()
  3614. wait(7)
  3615. for i = 1, 9 do
  3616. wait(.1)
  3617. gtrace.Transparency = gtrace.Transparency + .1
  3618. end
  3619. gtrace:Destroy()
  3620. end)
  3621. gdisp()
  3622. end
  3623.  
  3624. end
  3625.  
  3626. function Smash5()
  3627. for i = 1, 15 do
  3628. local gtrace = Instance.new("Part",game.Workspace)
  3629. gtrace.BrickColor = gprop[1]
  3630. gtrace.Material = gprop[2]
  3631. gtrace.Size = Vector3.new(19,19,19)
  3632. gtrace.Anchored = true
  3633. gtrace.CanCollide = false
  3634. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-30,30),-6,math.random(-30,30))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  3635. local gdisp = coroutine.wrap(function()
  3636. wait(7)
  3637. for i = 1, 9 do
  3638. wait(.1)
  3639. gtrace.Transparency = gtrace.Transparency + .1
  3640. end
  3641. gtrace:Destroy()
  3642. end)
  3643. gdisp()
  3644. end
  3645.  
  3646. end
  3647.  
  3648. function Smash6()
  3649. for i = 1, 15 do
  3650. local gtrace = Instance.new("Part",game.Workspace)
  3651. gtrace.BrickColor = gprop[1]
  3652. gtrace.Material = gprop[2]
  3653. gtrace.Size = Vector3.new(19,19,19)
  3654. gtrace.Anchored = true
  3655. gtrace.CanCollide = false
  3656. gtrace.CFrame = (chr.HumanoidRootPart.CFrame + Vector3.new(math.random(-20,20),-6,math.random(-20,20))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  3657. local gdisp = coroutine.wrap(function()
  3658. wait(7)
  3659. for i = 1, 9 do
  3660. wait(.1)
  3661. gtrace.Transparency = gtrace.Transparency + .1
  3662. end
  3663. gtrace:Destroy()
  3664. end)
  3665. gdisp()
  3666. end
  3667.  
  3668. end
  3669.  
  3670.  
  3671. for i,v in pairs(FindNearestTorso(tors.CFrame.p,99))do
  3672. if v:FindFirstChild('Humanoid') then
  3673. v.Humanoid:TakeDamage(math.random(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999))
  3674. v.Humanoid.PlatformStand = true
  3675. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 600
  3676. end
  3677. end
  3678.  
  3679.  
  3680. function HeavenSmash()
  3681.  
  3682.  
  3683. if activu == true or selected == false then
  3684. return
  3685. end
  3686. coroutine.resume(coroutine.create(function()
  3687. fglow(lleg.Glow, 19)
  3688. fglow(rleg.Glow, 19)
  3689. fglow(rarm.Glow, 19)
  3690. fglow(larm.Glow, 19)
  3691. fglow(head.Glow, 19)
  3692. fglow(tors.Glow, 19)
  3693. end))
  3694. activu = true
  3695. local pe = Instance.new("ParticleEmitter")
  3696. pe.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3697. pe.LightEmission = 0.9
  3698. pe.Size = NumberSequence.new(0.5)
  3699. pe.Texture = "rbxassetid://272050333"
  3700. pe.Transparency = NumberSequence.new(0.1)
  3701. pe.Lifetime = NumberRange.new(0.1)
  3702. pe.Rate = 250
  3703. pe.RotSpeed = NumberRange.new(360)
  3704. pe.Speed = NumberRange.new(3)
  3705. pe.VelocitySpread = 360
  3706. pe.Parent = lleg.Glow
  3707. local pea = pe:Clone()
  3708. pea.Parent = lleg.Glow
  3709. local pe2 = Instance.new("ParticleEmitter")
  3710. pe2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3711. pe2.LightEmission = 0.9
  3712. pe2.Size = NumberSequence.new(5)
  3713. pe2.Texture = "rbxassetid://516107903"
  3714. pe2.Transparency = NumberSequence.new(0.4)
  3715. pe2.ZOffset = 2
  3716. pe2.Enabled = true
  3717. pe2.LockedToPart = true
  3718. pe2.Lifetime = NumberRange.new(0.07)
  3719. pe2.Rate = 8
  3720. pe2.Rotation = NumberRange.new(0, 360)
  3721. pe2.RotSpeed = NumberRange.new(0)
  3722. pe2.Speed = NumberRange.new(0)
  3723. pe2.VelocitySpread = 180
  3724. pe2.Parent = lleg.Glow
  3725. local pea2 = pe2:Clone()
  3726. pea2.Parent = lleg.Glow
  3727.  
  3728.  
  3729.  
  3730. local pet = Instance.new("ParticleEmitter")
  3731. pet.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3732. pet.LightEmission = 0.9
  3733. pet.Size = NumberSequence.new(0.5)
  3734. pet.Texture = "rbxassetid://272050333"
  3735. pet.Transparency = NumberSequence.new(0.1)
  3736. pet.Lifetime = NumberRange.new(0.1)
  3737. pet.Rate = 1
  3738. pet.RotSpeed = NumberRange.new(360)
  3739. pet.Speed = NumberRange.new(3)
  3740. pet.VelocitySpread = 360
  3741. pet.Parent = rarm.Glow
  3742. local pet2 = Instance.new("ParticleEmitter")
  3743. pet2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3744. pet2.LightEmission = 0.9
  3745. pet2.Size = NumberSequence.new(5)
  3746. pet2.Texture = "rbxassetid://516107903"
  3747. pet2.Transparency = NumberSequence.new(0.4)
  3748. pet2.ZOffset = 2
  3749. pet2.Enabled = false
  3750. pet2.LockedToPart = true
  3751. pet2.Lifetime = NumberRange.new(0.07)
  3752. pet2.Rate = 8
  3753. pet2.Rotation = NumberRange.new(0, 360)
  3754. pet2.RotSpeed = NumberRange.new(0)
  3755. pet2.Speed = NumberRange.new(0)
  3756. pet2.VelocitySpread = 180
  3757. pet2.Parent = rarm.Glow
  3758.  
  3759.  
  3760.  
  3761. local petl = Instance.new("ParticleEmitter")
  3762. petl.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3763. petl.LightEmission = 0.9
  3764. petl.Size = NumberSequence.new(0.5)
  3765. petl.Texture = "rbxassetid://272050333"
  3766. petl.Transparency = NumberSequence.new(0.1)
  3767. petl.Lifetime = NumberRange.new(0.1)
  3768. petl.Rate = 1
  3769. petl.RotSpeed = NumberRange.new(360)
  3770. petl.Speed = NumberRange.new(3)
  3771. petl.VelocitySpread = 360
  3772. petl.Parent = larm.Glow
  3773. local petl2 = Instance.new("ParticleEmitter")
  3774. petl2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3775. petl2.LightEmission = 0.9
  3776. petl2.Size = NumberSequence.new(5)
  3777. petl2.Texture = "rbxassetid://516107903"
  3778. petl2.Transparency = NumberSequence.new(0.4)
  3779. petl2.ZOffset = 2
  3780. petl2.Enabled = false
  3781. petl2.LockedToPart = true
  3782. petl2.Lifetime = NumberRange.new(0.07)
  3783. petl2.Rate = 8
  3784. petl2.Rotation = NumberRange.new(0, 360)
  3785. petl2.RotSpeed = NumberRange.new(0)
  3786. petl2.Speed = NumberRange.new(0)
  3787. petl2.VelocitySpread = 180
  3788. petl2.Parent = larm.Glow
  3789.  
  3790.  
  3791. local petl3 = Instance.new("ParticleEmitter")
  3792. petl3.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3793. petl3.LightEmission = 0.9
  3794. petl3.Size = NumberSequence.new(0.5)
  3795. petl3.Texture = "rbxassetid://272050333"
  3796. petl3.Transparency = NumberSequence.new(0.1)
  3797. petl3.Lifetime = NumberRange.new(0.1)
  3798. petl3.Rate = 1
  3799. petl3.RotSpeed = NumberRange.new(360)
  3800. petl3.Speed = NumberRange.new(3)
  3801. petl3.VelocitySpread = 360
  3802. petl3.Parent = head.Glow
  3803. local petl23 = Instance.new("ParticleEmitter")
  3804. petl23.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3805. petl23.LightEmission = 0.9
  3806. petl23.Size = NumberSequence.new(5)
  3807. petl23.Texture = "rbxassetid://516107903"
  3808. petl23.Transparency = NumberSequence.new(0.4)
  3809. petl23.ZOffset = 2
  3810. petl23.Enabled = false
  3811. petl23.LockedToPart = true
  3812. petl23.Lifetime = NumberRange.new(0.07)
  3813. petl23.Rate = 8
  3814. petl23.Rotation = NumberRange.new(0, 360)
  3815. petl23.RotSpeed = NumberRange.new(0)
  3816. petl23.Speed = NumberRange.new(0)
  3817. petl23.VelocitySpread = 180
  3818. petl23.Parent = head.Glow
  3819.  
  3820.  
  3821.  
  3822. local petl34 = Instance.new("ParticleEmitter")
  3823. petl34.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3824. petl34.LightEmission = 0.9
  3825. petl34.Size = NumberSequence.new(0.5)
  3826. petl34.Texture = "rbxassetid://272050333"
  3827. petl34.Transparency = NumberSequence.new(0.1)
  3828. petl34.Lifetime = NumberRange.new(0.1)
  3829. petl34.Rate = 1
  3830. petl34.RotSpeed = NumberRange.new(360)
  3831. petl34.Speed = NumberRange.new(3)
  3832. petl34.VelocitySpread = 360
  3833. petl34.Parent = rleg.Glow
  3834. local petl234 = Instance.new("ParticleEmitter")
  3835. petl234.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3836. petl234.LightEmission = 0.9
  3837. petl234.Size = NumberSequence.new(5)
  3838. petl234.Texture = "rbxassetid://516107903"
  3839. petl234.Transparency = NumberSequence.new(0.4)
  3840. petl234.ZOffset = 2
  3841. petl234.Enabled = false
  3842. petl234.LockedToPart = true
  3843. petl234.Rate = 8
  3844. petl234.Rotation = NumberRange.new(0, 360)
  3845. petl234.RotSpeed = NumberRange.new(0)
  3846. petl234.Speed = NumberRange.new(0)
  3847. petl234.VelocitySpread = 180
  3848. petl234.Parent = rleg.Glow
  3849.  
  3850.  
  3851. local petl345 = Instance.new("ParticleEmitter")
  3852. petl345.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3853. petl345.LightEmission = 0.9
  3854. petl345.Size = NumberSequence.new(0.5)
  3855. petl345.Texture = "rbxassetid://272050333"
  3856. petl345.Transparency = NumberSequence.new(0.1)
  3857. petl345.Lifetime = NumberRange.new(0.1)
  3858. petl345.Rate = 1
  3859. petl345.RotSpeed = NumberRange.new(360)
  3860. petl345.Speed = NumberRange.new(3)
  3861. petl345.VelocitySpread = 360
  3862. petl345.Parent = tors.Glow
  3863. local petl2345 = Instance.new("ParticleEmitter")
  3864. petl2345.Color = ColorSequence.new(Color3.new(255, 0, 0))
  3865. petl2345.LightEmission = 0.9
  3866. petl2345.Size = NumberSequence.new(5)
  3867. petl2345.Texture = "rbxassetid://516107903"
  3868. petl2345.Transparency = NumberSequence.new(0.4)
  3869. petl2345.ZOffset = 2
  3870. petl2345.Enabled = false
  3871. petl2345.LockedToPart = true
  3872. petl2345.Rate = 8
  3873. petl2345.Rotation = NumberRange.new(0, 360)
  3874. petl2345.RotSpeed = NumberRange.new(0)
  3875. petl2345.Speed = NumberRange.new(0)
  3876. petl2345.VelocitySpread = 180
  3877. petl2345.Parent = tors.Glow
  3878. human.WalkSpeed = 0
  3879. so("http://www.roblox.com/asset/?id=169445572",head,1.5,1.5)
  3880. so("http://www.roblox.com/asset/?id=169380495",head,1.5,1.5)
  3881. for l = 1, 30 do
  3882. swait()
  3883. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  3884. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  3885. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  3886. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  3887. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  3888. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  3889. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  3890. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  3891. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  3892. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  3893. end
  3894.  
  3895.  
  3896. resetlerp()
  3897.  
  3898. BV = Instance.new("BodyVelocity", tors)
  3899. BV.maxForce = Vector3.new(0,200000,0)
  3900. BV.P = 100000
  3901. BV.velocity = Vector3.new(0,150,0)
  3902. local rng = Instance.new("Part", chr)
  3903. rng.Anchored = true
  3904. rng.BrickColor = BrickColor.new("Crimson")
  3905. rng.CanCollide = false
  3906. rng.FormFactor = 3
  3907. rng.Name = "Ring"
  3908. rng.Size = Vector3.new(1, 1, 1)
  3909. rng.Transparency = 0.5
  3910. rng.TopSurface = 0
  3911. rng.BottomSurface = 0
  3912. rng.Position = tors.Position - Vector3.new(0,2,0)
  3913. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  3914. local rngm = Instance.new("SpecialMesh", rng)
  3915. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3916. rngm.Scale = Vector3.new(10, 10, 20)
  3917. x = Instance.new("Sound",tors)
  3918. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  3919. x.Looped = false
  3920. x.Pitch = .7
  3921. x.Volume = 30
  3922. x:Play()
  3923. coroutine.wrap(function()
  3924. for i = 1, 60, 8 do
  3925. rngm.Scale = Vector3.new(10.20 + i*10.10, 10.20 + i*10.10, 10)
  3926. rng.Transparency = i/60
  3927. wait()
  3928. end
  3929. wait()
  3930. rng:Destroy()
  3931. end)()
  3932. wait(2.6)
  3933. BV:Destroy()
  3934. tors.Anchored = true
  3935. wait(3.2)
  3936. tors.Anchored = false
  3937. BV = Instance.new("BodyVelocity", tors)
  3938. BV.maxForce = Vector3.new(0,-20000,0)
  3939. BV.P = 1000
  3940. BV.velocity = Vector3.new(0,-150,0)
  3941. wait(1)
  3942. BV:Destroy()
  3943. wait(0.01)
  3944.  
  3945. human.WalkSpeed = 0
  3946. boom3:Play()
  3947.  
  3948. Smash()
  3949. Smash2()
  3950. Smash3()
  3951. Ring()
  3952. pe:Destroy()
  3953. pea:Destroy()
  3954. pea2:Destroy()
  3955. pe2:Destroy()
  3956. wait(2)
  3957. human.WalkSpeed = 16
  3958. activu = false
  3959. end
  3960.  
  3961.  
  3962.  
  3963. sound = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
  3964. sound.SoundId = "rbxassetid://220025776"
  3965. sound.Volume = 6
  3966.  
  3967. sound2 = Instance.new("Sound", game.Players.LocalPlayer.Character["Torso"])
  3968. sound2.SoundId = "rbxassetid://386946017"
  3969. sound2.Volume = 6
  3970.  
  3971. sound3 = Instance.new("Sound", game.Players.LocalPlayer.Character)
  3972. sound3.SoundId = "rbxassetid://165969964"
  3973. sound3.Volume = 6
  3974.  
  3975. function rip()
  3976. activu = true
  3977. local detect = Instance.new("Part", game.Players.LocalPlayer.Character)
  3978. detect.Size = Vector3.new(1,1,1)
  3979. detect:BreakJoints()
  3980. detect.CanCollide = false
  3981. local weld = Instance.new("Weld", detect)
  3982. weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  3983. weld.Part1 = detect
  3984. weld.C0 = weld.C0 * CFrame.new(0,-1,0)
  3985.  
  3986.  
  3987.  
  3988. local function attack(prt)
  3989. local humanoid = prt.Parent:findFirstChild("Humanoid")
  3990. if humanoid ~= nil then
  3991. local torso = prt.Parent:findFirstChild("Torso")
  3992.  
  3993.  
  3994.  
  3995.  
  3996.  
  3997.  
  3998.  
  3999. function KABOOMZ3()
  4000. local effspwn = Instance.new("Part")
  4001. coroutine.resume(coroutine.create(function()
  4002. local sound1 = Instance.new("Sound")
  4003. sound1.SoundId = "rbxassetid://138137702"
  4004. sound1.MaxDistance = 300
  4005. sound1.EmitterSize = 20
  4006. sound1.Volume = 2.5
  4007. sound1.Pitch = 0.65
  4008. sound1.Parent = effspwn
  4009. local sound2 = Instance.new("Sound")
  4010. sound2.SoundId = "rbxassetid://157878578"
  4011. sound2.MaxDistance = 300
  4012. sound2.EmitterSize = 20
  4013. sound2.Volume = 1
  4014. sound2.Pitch = 0.7
  4015. sound2.Parent = effspwn
  4016. local sound3 = Instance.new("Sound")
  4017. sound3.SoundId = "rbxassetid://138250406"
  4018. sound2.MaxDistance = 400
  4019. sound2.EmitterSize = 30
  4020. sound2.Volume = 0.5
  4021. sound2.Pitch = 0.5
  4022. sound2.Parent = effspwn
  4023. sound2:Play()
  4024. wait()
  4025. sound1:Play()
  4026. sound3:Play()
  4027. end))
  4028. local model = Instance.new("Model")
  4029. game.Debris:AddItem(model, 20)
  4030. model.Name = "smasheffects"
  4031. model.Parent = workspace
  4032. effspwn.Name = "spwnr"
  4033. effspwn.Size = Vector3.new(1, 1, 1)
  4034. effspwn.Anchored = true
  4035. effspwn.CanCollide = false
  4036. effspwn.Transparency = 1
  4037. effspwn.CFrame = torso.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  4038. effspwn.Parent = model
  4039.  
  4040.  
  4041.  
  4042.  
  4043.  
  4044. Crater(head,60)
  4045. Crater(head,120)
  4046.  
  4047. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  4048. if v:FindFirstChild('Humanoid') then
  4049. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  4050. v.Humanoid.PlatformStand = true
  4051. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  4052. end
  4053. end
  4054.  
  4055. coroutine.resume(coroutine.create(function()
  4056. local shok = Instance.new("Part")
  4057. shok.Name = "whoosh"
  4058. shok.BrickColor = BrickColor.new("Crimson")
  4059. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  4060. shok.Size = Vector3.new(1, 1, 1)
  4061. shok.Anchored = true
  4062. shok.Material = "Neon"
  4063. shok.Transparency = 0.1
  4064. shok.CanCollide = false
  4065. shok.Parent = model
  4066. game.Debris:AddItem(shok, 12)
  4067. local mesh = Instance.new("SpecialMesh")
  4068. mesh.MeshType = "FileMesh"
  4069. mesh.MeshId = "rbxassetid://437347603"
  4070. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  4071. mesh.Parent = shok
  4072.  
  4073.  
  4074.  
  4075.  
  4076.  
  4077. for e = 1, 8 do
  4078. wait()
  4079. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  4080. shok.Transparency = shok.Transparency + 0.035
  4081. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  4082. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  4083. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4084.  
  4085. end
  4086. for e = 1, 16 do
  4087. wait()
  4088. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  4089. shok.Transparency = shok.Transparency + 0.11
  4090. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  4091. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  4092. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  4093.  
  4094. end
  4095. end))
  4096. coroutine.resume(coroutine.create(function()
  4097. local shok = Instance.new("Part")
  4098. shok.Name = "wring1"
  4099. shok.BrickColor = BrickColor.new("Crimson")
  4100. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  4101. shok.Size = Vector3.new(1, 1, 1)
  4102. shok.Anchored = true
  4103. shok.Material = "Neon"
  4104. shok.Transparency = 0.25
  4105. shok.CanCollide = false
  4106. shok.Parent = model
  4107. game.Debris:AddItem(shok, 12)
  4108. local mesh = Instance.new("SpecialMesh")
  4109. mesh.MeshType = "FileMesh"
  4110. mesh.MeshId = "rbxassetid://3270017"
  4111. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  4112. mesh.Parent = shok
  4113. for e = 1, 30 do
  4114. wait()
  4115. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  4116. shok.Transparency = shok.Transparency + 0.002
  4117. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4118. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  4119. end
  4120. for e = 1, 38 do
  4121. wait()
  4122. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  4123. shok.Transparency = shok.Transparency + 0.002
  4124. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4125. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  4126. end
  4127. for e = 1, 24 do
  4128. wait()
  4129. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  4130. shok.Transparency = shok.Transparency + 0.03
  4131. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4132. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  4133. end
  4134. end))
  4135. coroutine.resume(coroutine.create(function()
  4136. local shok = Instance.new("Part")
  4137. shok.Name = "wring2"
  4138. shok.BrickColor = BrickColor.new("Crimson")
  4139. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  4140. shok.Size = Vector3.new(1, 1, 1)
  4141. shok.Anchored = true
  4142. shok.Material = "Neon"
  4143. shok.Transparency = 0.25
  4144. shok.CanCollide = false
  4145. shok.Parent = model
  4146. game.Debris:AddItem(shok, 12)
  4147. local mesh = Instance.new("SpecialMesh")
  4148. mesh.MeshType = "FileMesh"
  4149. mesh.MeshId = "rbxassetid://3270017"
  4150. mesh.Scale = Vector3.new(12, 12, 0.05)
  4151. mesh.Parent = shok
  4152. for e = 1, 30 do
  4153. wait()
  4154. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  4155. shok.Transparency = shok.Transparency + 0.002
  4156. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4157. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  4158. end
  4159. for e = 1, 38 do
  4160. wait()
  4161. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  4162. shok.Transparency = shok.Transparency + 0.002
  4163. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4164. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  4165. end
  4166. for e = 1, 24 do
  4167. wait()
  4168. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  4169. shok.Transparency = shok.Transparency + 0.03
  4170. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4171. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  4172. end
  4173. end))
  4174. coroutine.resume(coroutine.create(function()
  4175. local shok = Instance.new("Part")
  4176. shok.Name = "coil1"
  4177. shok.BrickColor = BrickColor.new("Crimson")
  4178. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  4179. shok.Size = Vector3.new(1, 1, 1)
  4180. shok.Anchored = true
  4181. shok.Material = "Neon"
  4182. shok.Transparency = 0.25
  4183. shok.CanCollide = false
  4184. shok.Parent = model
  4185. game.Debris:AddItem(shok, 12)
  4186. local mesh = Instance.new("SpecialMesh")
  4187. mesh.MeshType = "FileMesh"
  4188. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4189. mesh.Scale = Vector3.new(12, 12, 12)
  4190. mesh.Parent = shok
  4191. for e = 1, 15 do
  4192. wait()
  4193. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4194. shok.Transparency = shok.Transparency + 0.004
  4195. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4196. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4197. end
  4198. for e = 1, 16 do
  4199. wait()
  4200. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4201. shok.Transparency = shok.Transparency + 0.004
  4202. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4203. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4204. end
  4205. for e = 1, 12 do
  4206. wait()
  4207. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4208. shok.Transparency = shok.Transparency + 0.06
  4209. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4210. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4211. end
  4212. end))
  4213. coroutine.resume(coroutine.create(function()
  4214. local shok = Instance.new("Part")
  4215. shok.Name = "coil2"
  4216. shok.BrickColor = BrickColor.new("Crimson")
  4217. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  4218. shok.Size = Vector3.new(1, 1, 1)
  4219. shok.Anchored = true
  4220. shok.Material = "Neon"
  4221. shok.Transparency = 0.25
  4222. shok.CanCollide = false
  4223. shok.Parent = model
  4224. game.Debris:AddItem(shok, 12)
  4225. local mesh = Instance.new("SpecialMesh")
  4226. mesh.MeshType = "FileMesh"
  4227. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4228. mesh.Scale = Vector3.new(6, 12, 6)
  4229. mesh.Parent = shok
  4230. for e = 1, 15 do
  4231. wait()
  4232. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  4233. shok.Transparency = shok.Transparency + 0.005
  4234. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4235. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  4236. end
  4237. for e = 1, 16 do
  4238. wait()
  4239. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  4240. shok.Transparency = shok.Transparency + 0.005
  4241. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4242. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  4243. end
  4244. for e = 1, 12 do
  4245. wait()
  4246. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  4247. shok.Transparency = shok.Transparency + 0.09
  4248. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4249. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  4250. end
  4251. end))
  4252. coroutine.resume(coroutine.create(function()
  4253. local shok = Instance.new("Part")
  4254. shok.Name = "shokwve"
  4255. shok.BrickColor = BrickColor.new("Crimson")
  4256. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  4257. shok.Size = Vector3.new(1, 1, 1)
  4258. shok.Anchored = true
  4259. shok.Material = "Neon"
  4260. shok.Transparency = 0.6
  4261. shok.CanCollide = false
  4262. shok.Parent = model
  4263. game.Debris:AddItem(shok, 12)
  4264. local mesh = Instance.new("SpecialMesh")
  4265. mesh.MeshType = "FileMesh"
  4266. mesh.MeshId = "rbxassetid://489415447"
  4267. mesh.Scale = Vector3.new(1, 1, 1)
  4268. mesh.Parent = shok
  4269. for e = 1, 12 do
  4270. wait()
  4271. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  4272. shok.Transparency = shok.Transparency + 0.002
  4273. end
  4274. for e = 1, 32 do
  4275. wait()
  4276. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  4277. shok.Transparency = shok.Transparency + 0.002
  4278. end
  4279. for e = 1, 24 do
  4280. wait()
  4281. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  4282. shok.Transparency = shok.Transparency + 0.03
  4283. end
  4284. end))
  4285. coroutine.resume(coroutine.create(function()
  4286. local shok = Instance.new("Part")
  4287. shok.Name = "shock2"
  4288. shok.BrickColor = BrickColor.new("Crimson")
  4289. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  4290. shok.Size = Vector3.new(1, 1, 1)
  4291. shok.Anchored = true
  4292. shok.Material = "Neon"
  4293. shok.Transparency = 0.35
  4294. shok.CanCollide = false
  4295. shok.Parent = model
  4296. game.Debris:AddItem(shok, 12)
  4297. local mesh = Instance.new("SpecialMesh")
  4298. mesh.MeshType = "FileMesh"
  4299. mesh.MeshId = "rbxassetid://489415447"
  4300. mesh.Scale = Vector3.new(12, 12, 12)
  4301. mesh.Parent = shok
  4302. for e = 1, 15 do
  4303. wait()
  4304. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4305. shok.Transparency = shok.Transparency + 0.004
  4306. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4307. end
  4308. for e = 1, 16 do
  4309. wait()
  4310. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4311. shok.Transparency = shok.Transparency + 0.004
  4312. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4313. end
  4314. for e = 1, 12 do
  4315. wait()
  4316. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4317. shok.Transparency = shok.Transparency + 0.06
  4318. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4319. end
  4320. end))
  4321. coroutine.resume(coroutine.create(function()
  4322. local shok = Instance.new("Part")
  4323. shok.Name = "shock3"
  4324. shok.BrickColor = BrickColor.new("Crimson")
  4325. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  4326. shok.Size = Vector3.new(1, 1, 1)
  4327. shok.Anchored = true
  4328. shok.Material = "Neon"
  4329. shok.Transparency = 0.35
  4330. shok.CanCollide = false
  4331. shok.Parent = model
  4332. game.Debris:AddItem(shok, 12)
  4333. local mesh = Instance.new("SpecialMesh")
  4334. mesh.MeshType = "FileMesh"
  4335. mesh.MeshId = "rbxassetid://489415447"
  4336. mesh.Scale = Vector3.new(12, 12, 12)
  4337. mesh.Parent = shok
  4338. for e = 1, 15 do
  4339. wait()
  4340. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  4341. shok.Transparency = shok.Transparency + 0.004
  4342. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4343. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4344. end
  4345. for e = 1, 16 do
  4346. wait()
  4347. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  4348. shok.Transparency = shok.Transparency + 0.004
  4349. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4350. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4351. end
  4352. for e = 1, 12 do
  4353. wait()
  4354. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  4355. shok.Transparency = shok.Transparency + 0.06
  4356. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4357. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4358. end
  4359. end))
  4360. end
  4361.  
  4362.  
  4363.  
  4364. if torso ~= nil then
  4365. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  4366. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  4367. for i = 1,5 do
  4368. wait()
  4369. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.25)
  4370. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.25)
  4371. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.25,0,0)
  4372. end
  4373. sound:Play()
  4374. local bodyVel = Instance.new("BodyPosition", torso)
  4375. bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,1000,0)
  4376. bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  4377. wait(2)
  4378. torso.Anchored = true
  4379. for i = 1,5 do
  4380. wait()
  4381. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
  4382. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
  4383. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
  4384. end
  4385. for i = 1,5 do
  4386. wait()
  4387. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.08)
  4388. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.08,0,0)
  4389. end
  4390. wait(1)
  4391. local bodyvel = Instance.new("BodyPosition" , game.Players.LocalPlayer.Character.Torso)
  4392. bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  4393. bodyvel.Position = torso.Position
  4394. for i = 1,5 do
  4395. wait()
  4396. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0)
  4397. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.08)
  4398. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.15,0,0)
  4399. end
  4400. wait(2)
  4401. bodyVel:destroy()
  4402. game.Players.LocalPlayer.Character.Torso.Anchored = true
  4403. torso.Anchored = false
  4404. humanoid.PlatformStand = true
  4405. local bodyVel = Instance.new("BodyPosition", torso)
  4406. bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,1000,0)
  4407. bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  4408. sound2:Play()
  4409.  
  4410. wait(1.2)
  4411. game.Players.LocalPlayer.Character.Torso.Anchored = false
  4412. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  4413. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  4414. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  4415. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  4416. activu = false
  4417. wait(0.5)
  4418. bodyvel:destroy()
  4419. local ROW3 = function(out, trans, s, wt, t, ang, plus)
  4420. for i = 1, 360, 360/t do
  4421. local c = Instance.new("Part", game.Workspace)
  4422. c.FormFactor = 3
  4423. c.TopSurface = 0
  4424. c.BottomSurface = 0
  4425. c.Size = s
  4426. c.Anchored = true
  4427. c.CanCollide = wt
  4428. c.Material=workspace.Base.Material
  4429. c.Transparency = trans
  4430. c.BrickColor = workspace.Base.BrickColor
  4431. c.CFrame = CFrame.new(torso.CFrame.x,0,torso.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  4432. c.Locked=true
  4433. game.Debris:AddItem(c,25)
  4434. end
  4435. end
  4436.  
  4437.  
  4438.  
  4439.  
  4440. sound3:Play()
  4441. ROW3(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  4442. game.Players.LocalPlayer.Character.Torso.Anchored = true
  4443. KABOOMZ3()
  4444. wait(0.1)
  4445.  
  4446. game.Players.LocalPlayer.Character.Torso.Anchored = false
  4447. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  4448. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  4449.  
  4450.  
  4451. end
  4452. end
  4453. end
  4454. detect.Touched:connect(attack)
  4455. wait(0.1)
  4456. detect:destroy()
  4457. activu = false
  4458. end
  4459.  
  4460.  
  4461.  
  4462. function hito(partoz, magn, dmg, debtim)
  4463. for _, guy in pairs(workspace:GetChildren()) do
  4464. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= chr and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
  4465. do
  4466. local humz = guy:FindFirstChild("Humanoid")
  4467. local hed = guy:FindFirstChild("Head")
  4468. humz:TakeDamage(dmg)
  4469. local db = Instance.new("StringValue")
  4470. db.Name = "alabo"
  4471. db.Parent = hed
  4472. delay(debtim, function()
  4473. db:Destroy()
  4474. end)
  4475. end
  4476. end
  4477. end
  4478. end
  4479. function animo(yep)
  4480. if yep == true then
  4481. anim.Parent = human
  4482. chr.Animate.Disabled = false
  4483. elseif yep == false then
  4484. chr.Animate.Disabled = true
  4485. anim.Parent = nil
  4486. end
  4487. end
  4488. mouse.KeyDown:connect(function(key)
  4489. if key == "e" then
  4490. rsmash()
  4491. end
  4492. if key == "t" then
  4493. jum()
  4494. end
  4495. if key == "r" then
  4496. Tele()
  4497. end
  4498. if key == "q" then
  4499. Stom()
  4500. end
  4501. if key == "g" then
  4502. HeavenSmash()
  4503. end
  4504. if key == "h" then
  4505. rip()
  4506. end
  4507. end)
  4508. tool.Equipped:connect(function()
  4509. selected = true
  4510. end)
  4511. tool.Unequipped:connect(function()
  4512. selected = false
  4513. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement