Advertisement
MysteriousL

OFACDONE

Jul 23rd, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 126.72 KB | None | 0 0
  1. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  2. if string.lower(key) == "x" then
  3. local p = game.Players.LocalPlayer
  4. local char = p.Character
  5. local mouse = p:GetMouse()
  6. local larm = char["Left Arm"]
  7. local rarm = char["Right Arm"]
  8. local lleg = char["Left Leg"]
  9. local rleg = char["Right Leg"]
  10. local hed = char.Head
  11. local torso = char.Torso
  12. local hum = char.Humanoid
  13. local cam = game.Workspace.CurrentCamera
  14. local root = char.HumanoidRootPart
  15.  
  16. z = Instance.new("Sound",hed)
  17. z.SoundId = "rbxassetid://232213955"
  18. z.Pitch = 1
  19. z.Volume = 1
  20.  
  21. local deb = false
  22. local shot = 0
  23. local debris=game:service"Debris"
  24. local l = game:GetService("Lighting")
  25. local rs = game:GetService("RunService").RenderStepped
  26. hum.MaxHealth = math.huge
  27. hum.Health = math.huge
  28. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  29. math.randomseed(os.time())
  30. for i,v in pairs (hed:GetChildren()) do
  31. if v:IsA("Sound") then
  32. v:Destroy()
  33. end
  34. end
  35.  
  36.  
  37. Debounces = {
  38. }
  39. ypcall(function()
  40. char.Shirt:Destroy()
  41. char.Pants:Destroy()
  42. shirt = Instance.new("Shirt", char)
  43. shirt.Name = "Shirt"
  44. pants = Instance.new("Pants", char)
  45. pants.Name = "Pants"
  46. char.Shirt.ShirtTemplate = "rbxassetid://268303759"
  47. char.Pants.PantsTemplate = "rbxassetid://268303786"
  48. end)
  49. function lerp(a, b, t) -- Linear interpolation
  50. return a + (b - a)*t
  51. end
  52.  
  53. function slerp(a, b, t) --Spherical interpolation
  54. dot = a:Dot(b)
  55. if dot > 0.99999 or dot < -0.99999 then
  56. return t <= 0.5 and a or b
  57. else
  58. r = math.acos(dot)
  59. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  60. end
  61. end
  62.  
  63. function matrixInterpolate(a, b, t)
  64. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  65. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  66. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  67. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  68. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  69. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  70. local t = v1:Dot(v2)
  71. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  72. return CFrame.new()
  73. end
  74. return CFrame.new(
  75. v0.x, v0.y, v0.z,
  76. v1.x, v1.y, v1.z,
  77. v2.x, v2.y, v2.z,
  78. v3.x, v3.y, v3.z)
  79. end
  80. function Lerp(c1,c2,al)
  81. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  82. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  83. for i,v in pairs(com1) do
  84. com1[i] = v+(com2[i]-v)*al
  85. end
  86. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  87. end
  88.  
  89. local Transforming = true
  90. hum.WalkSpeed = 0
  91. local fx = Instance.new("Part",torso)
  92. fx.Anchored = true
  93. fx.Material = "Neon"
  94. fx.CanCollide = false
  95. fx.Locked = true
  96. fx.Transparency = 1
  97. fx.Material = "SmoothPlastic"
  98. fx.Size = Vector3.new(1,1,1)
  99. fx.TopSurface = "SmoothNoOutlines"
  100. fx.BottomSurface = "SmoothNoOutlines"
  101. fx.BrickColor = BrickColor.new("Really red")
  102. fxm = Instance.new("SpecialMesh",fx)
  103. fxm.MeshId = "http://www.roblox.com/asset/?id=9982590"
  104. fxm.Scale = Vector3.new(1,1,1)
  105. for i = 1, 20 do rs:wait()
  106. fx.Transparency = fx.Transparency - (1/20)
  107. fx.CFrame = torso.CFrame
  108. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  109. rs:wait()
  110. end
  111.  
  112. GroundWave1 = function()
  113. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  114. local Colors = {"Toothpaste", "Really red"}
  115. local wave = Instance.new("Part", torso)
  116. wave.BrickColor = BrickColor.new('Really red')
  117. wave.Anchored = true
  118. wave.CanCollide = false
  119. wave.Locked = true
  120. wave.Size = Vector3.new(1, 1, 1)
  121. wave.TopSurface = "Smooth"
  122. wave.BottomSurface = "Smooth"
  123. wave.Transparency = 0.35
  124. wave.CFrame = HandCF
  125. wm = Instance.new("SpecialMesh", wave)
  126. wm.MeshId = "rbxassetid://3270017"
  127. coroutine.wrap(function()
  128. for i = 1, 30, 1 do
  129. wm.Scale = Vector3.new(10 + i*20.4, 10 + i*20.4, 1)
  130. wave.Size = wm.Scale
  131. wave.CFrame = HandCF
  132. wave.Transparency = i/10
  133. wait()
  134. end
  135. wait()
  136. wave:Destroy()
  137. end)()
  138. end
  139.  
  140. GroundWave = function()
  141. if Transforming == true then
  142. local wave = Instance.new("Part", torso)
  143. wave.BrickColor = BrickColor.new("Really red")
  144. wave.Anchored = true
  145. wave.CanCollide = false
  146. wave.Locked = true
  147. wave.Size = Vector3.new(1, 1, 1)
  148. wave.TopSurface = "Smooth"
  149. wave.BottomSurface = "Smooth"
  150. wave.Transparency = 0.35
  151. wave.CFrame = fx.CFrame
  152. wm = Instance.new("SpecialMesh", wave)
  153. wm.MeshType = "Sphere"
  154. wm.Scale = Vector3.new(1,1,1)
  155. coroutine.wrap(function()
  156. for i = 1, 18, 1 do
  157. wm.Scale = Vector3.new(8 + i*8, 8 + i*8, 8 + i*8)
  158. --wave.Size = wm.Scale
  159. wave.CFrame = fx.CFrame
  160. wave.Transparency = i/001
  161. wait()
  162. end
  163. wait()
  164. wave:Destroy()
  165. end)()
  166. elseif Transforming == false then
  167. wait()
  168. end
  169. end
  170.  
  171. for i = 1, 100 do rs:wait()
  172. fx.CFrame = torso.CFrame
  173. end
  174.  
  175. Spawn(function()
  176. while wait(1) do
  177. GroundWave()
  178. end
  179. end)
  180.  
  181. wait(4)
  182.  
  183. Transforming = false
  184.  
  185. for i = 1, 20 do rs:wait()
  186. fx.Transparency = fx.Transparency + (1/20)
  187. fx.CFrame = torso.CFrame
  188. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  189. rs:wait()
  190. end
  191.  
  192. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  193. local wave = Instance.new("Part", torso)
  194. wave.BrickColor = BrickColor.new("Institutional white")
  195. wave.Anchored = true
  196. wave.CanCollide = false
  197. wave.Locked = true
  198. wave.Size = Vector3.new(1, 1, 1)
  199. wave.TopSurface = "Smooth"
  200. wave.BottomSurface = "Smooth"
  201. wave.Transparency = 0.35
  202. wave.CFrame = HandCF
  203. wm = Instance.new("SpecialMesh", wave)
  204. wm.MeshId = "rbxassetid://3270017"
  205. coroutine.wrap(function()
  206. for i = 1, 14, 1 do
  207. wm.Scale = Vector3.new(10 + i*10.1, 10 + i*10.1, 10)
  208. wave.Size = wm.Scale
  209. wave.CFrame = HandCF
  210. wave.Transparency = i/14
  211. wait()
  212. end
  213. wait()
  214. wave:Destroy()
  215. end)()
  216. hum.WalkSpeed = 16
  217. ----------------------------------------------------
  218. Blast = function()
  219. local Colors = {"Toothpaste", "Really red"}
  220. local wave = Instance.new("Part", torso)
  221. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  222. wave.Anchored = true
  223. wave.CanCollide = false
  224. wave.Locked = true
  225. wave.Size = Vector3.new(1, 1, 1)
  226. wave.TopSurface = "Smooth"
  227. wave.BottomSurface = "Smooth"
  228. wave.Transparency = 0.35
  229. wave.CFrame = rarm.CFrame
  230. wm = Instance.new("SpecialMesh", wave)
  231. wm.MeshType = "Sphere"
  232. wm.Scale = Vector3.new(1,1,1)
  233. z = Instance.new("Sound",wave)
  234. z.SoundId = "rbxassetid://237035051"
  235. z.Volume = 1
  236. z.Pitch = .9
  237. z:Play()
  238. coroutine.wrap(function()
  239. for i = 1, 30, 1 do
  240. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  241. --wave.Size = wm.Scale
  242. wave.CFrame = rarm.CFrame
  243. wave.Transparency = (1/14)
  244. rs:wait()
  245. end
  246. rs:wait()
  247. wave:Destroy()
  248. z:Destroy()
  249. end)()
  250. end
  251.  
  252. --fixed by Scenius
  253. plr = game.Players.LocalPlayer
  254. repeat
  255. wait(0.4)
  256. until plr.Character
  257. chr = plr.Character
  258. human = chr:FindFirstChild("Humanoid")
  259. mouse = plr:GetMouse()
  260. selected = false
  261. equipd = false
  262. tors = chr.Torso
  263. rarm = chr["Right Arm"]
  264. larm = chr["Left Arm"]
  265. rleg = chr["Right Leg"]
  266. lleg = chr["Left Leg"]
  267. hrp = chr.HumanoidRootPart
  268. head = chr.Head
  269. anim = human.Animator
  270. activu = false
  271. Heartbeat = Instance.new("BindableEvent")
  272. Heartbeat.Name = "Heartbeat"
  273. Heartbeat.Parent = script
  274. frame = 0.03333333333333333
  275. tf = 0
  276. game:GetService("RunService").Heartbeat:connect(function(s, p)
  277. tf = tf + s
  278. if tf >= frame then
  279. for i = 1, math.floor(tf / frame) do
  280. Heartbeat:Fire()
  281. end
  282. tf = tf - frame * math.floor(tf / frame)
  283. end
  284. end)
  285. function swait(num)
  286. if num == 0 or num == nil then
  287. Heartbeat.Event:wait()
  288. else
  289. for i = 1, num do
  290. Heartbeat.Event:wait()
  291. end
  292. end
  293. end
  294. tool = Instance.new("Tool")
  295. tool.CanBeDropped = false
  296. tool.RequiresHandle = false
  297. tool.Name = "fir"
  298. tool.Parent = plr.Backpack
  299. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  300. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  301. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  302. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  303. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  304. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  305. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  306. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  307. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  308. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  309. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  310. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  311. RS = tors:FindFirstChild("Right Shoulder")
  312. LS = tors:FindFirstChild("Left Shoulder")
  313. RH = tors:FindFirstChild("Right Hip")
  314. LH = tors:FindFirstChild("Left Hip")
  315. RJ = hrp:FindFirstChild("RootJoint")
  316. N = tors:FindFirstChild("Neck")
  317. cf = CFrame.new
  318. ang = CFrame.Angles
  319. rd = math.rad
  320. rd2 = math.random
  321. function nooutline(p)
  322. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  323. end
  324. function makepart(color, name, reflec, mater, parnt, cfram)
  325. local port = Instance.new("Part")
  326. port.BrickColor = BrickColor.new(color)
  327. port.Name = name
  328. nooutline(port)
  329. port.Reflectance = reflec
  330. port.Material = mater
  331. port.Anchored = false
  332. port.CanCollide = false
  333. port.Locked = true
  334. port.Size = Vector3.new(0.2, 0.2, 0.2)
  335. port.Parent = parnt
  336. return port
  337. end
  338. function makemesh(meshtype, scale, meshid, parent)
  339. local mes = Instance.new("SpecialMesh")
  340. mes.MeshType = meshtype
  341. mes.Scale = scale
  342. if meshtype == "FileMesh" then
  343. mes.MeshId = meshid
  344. end
  345. mes.Parent = parent
  346. return mes
  347. end
  348. function makeweld(parent, p0, p1, c0, c1)
  349. local wel = Instance.new("Weld")
  350. wel.Part0 = p0
  351. wel.Part1 = p1
  352. wel.C0 = c0
  353. if c1 ~= nil then
  354. wel.C1 = c1
  355. end
  356. wel.Parent = parent
  357. return wel
  358. end
  359. function smokz(prnt)
  360. s = Instance.new("Smoke")
  361. s.Color = Color3.new(1, 1, 1)
  362. s.Enabled = false
  363. s.Name = "smok"
  364. s.Opacity = 0.5
  365. s.RiseVelocity = 0.2
  366. s.Size = 0.1
  367. s.Parent = prnt
  368. end
  369. function glow(tz, paz, smokinz, length)
  370. if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
  371. do
  372. local s = Instance.new("Sound")
  373. s.SoundId = "rbxassetid://298181829"
  374. s.Volume = 0.25
  375. s.Pitch = math.random(9, 11) / 10
  376. s.Parent = paz
  377. s:Play()
  378. paz.Transparency = 0.7
  379. if smokinz == true then
  380. paz.smok.Enabled = true
  381. end
  382. delay(length, function()
  383. paz.Transparency = 1
  384. paz.smok.Enabled = false
  385. s:Destroy()
  386. end)
  387. end
  388. end
  389. end
  390. function makeglow()
  391. for _, p in pairs(chr:GetChildren()) do
  392. if p.ClassName == "Accessory" then
  393. do
  394. local h = p:FindFirstChildOfClass("Part")
  395. local nh = h:Clone()
  396. nh.Parent = nil
  397. nh.CFrame = h.CFrame
  398. nh.Transparency = 1
  399. nh.Name = "Glow"
  400. nh.Material = "Neon"
  401. nh.BrickColor = BrickColor.new("Crimson")
  402. nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  403. nh.Parent = h
  404. makeweld(nh, nh, h, cf(0, 0, 0))
  405. local m = nh:FindFirstChildOfClass("SpecialMesh")
  406. m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06)
  407. m.TextureId = ""
  408. smokz(nh)
  409. nh.Touched:connect(function(po)
  410. glow(po, nh, true, 0.8)
  411. end)
  412. end
  413. elseif p.ClassName == "Part" and p ~= hrp then
  414. do
  415. local n = p:Clone()
  416. n.Parent = nil
  417. n.Transparency = 1
  418. n.Material = "Neon"
  419. n.Name = "Glow"
  420. n.BrickColor = BrickColor.new("Crimson")
  421. n.CFrame = p.CFrame
  422. n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  423. n.Parent = p
  424. makeweld(n, n, p, cf(0, 0, 0))
  425. smokz(n)
  426. n.Touched:connect(function(po)
  427. glow(po, n, true, 0.8)
  428. end)
  429. if n:FindFirstChildOfClass("Decal") then
  430. n:FindFirstChildOfClass("Decal"):Destroy()
  431. end
  432. if p:FindFirstChildOfClass("SpecialMesh") then
  433. local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
  434. c.Parent = nil
  435. c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05)
  436. c.Parent = n
  437. else
  438. local m = Instance.new("BlockMesh")
  439. m.Scale = Vector3.new(1.05, 1.025, 1.05)
  440. if p == tors then
  441. m.Scale = Vector3.new(1.05, 1.05, 1.05)
  442. end
  443. m.Parent = n
  444. end
  445. end
  446. end
  447. end
  448. end
  449. makeglow()
  450. function fglow(glopart, duration)
  451. for _ = 1, 4 do
  452. swait()
  453. glopart.Transparency = glopart.Transparency - 0.075
  454. end
  455. delay(duration, function()
  456. for _ = 1, 4 do
  457. swait()
  458. glopart.Transparency = glopart.Transparency + 0.075
  459. end
  460. end)
  461. end
  462. function lerpz(joint, prop, cfrmz, alp)
  463. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  464. end
  465. function resetlerp()
  466. RJ.C0 = RJC0
  467. RJ.C1 = RJC1
  468. N.C0 = NC0
  469. N.C1 = NC1
  470. RS.C0 = RSC0
  471. RS.C1 = RSC1
  472. LS.C0 = LSC0
  473. LS.C1 = LSC1
  474. RH.C0 = RHC0
  475. RH.C1 = RHC1
  476. LH.C0 = LHC0
  477. end
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489. function RFistDamage()
  490.  
  491. end
  492. function rsmash()
  493. if activu == true or selected == false then
  494. return
  495. end
  496. coroutine.resume(coroutine.create(function()
  497. fglow(rarm.Glow, 3)
  498. end))
  499. activu = true
  500.  
  501. human.WalkSpeed = human.WalkSpeed - 13
  502. animo(false)
  503. local Mus = Instance.new("Sound",workspace)
  504. Mus.SoundId = "rbxassetid://264080811"
  505. Mus.Pitch = 1
  506. Mus.Volume = 90000
  507. Mus.Looped = false
  508. wait(0.3)
  509. Mus:Play()
  510. local pe = Instance.new("ParticleEmitter")
  511. pe.Color = ColorSequence.new(Color3.new(255, 0, 0))
  512. pe.LightEmission = 0.9
  513. pe.Size = NumberSequence.new(0.5)
  514. pe.Texture = "rbxassetid://272050333"
  515. pe.Transparency = NumberSequence.new(0.1)
  516. pe.Lifetime = NumberRange.new(0.1)
  517. pe.Rate = 1
  518. pe.RotSpeed = NumberRange.new(360)
  519. pe.Speed = NumberRange.new(3)
  520. pe.VelocitySpread = 360
  521. pe.Parent = rarm.Glow
  522. local pe2 = Instance.new("ParticleEmitter")
  523. pe2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  524. pe2.LightEmission = 0.9
  525. pe2.Size = NumberSequence.new(5)
  526. pe2.Texture = "rbxassetid://516107903"
  527. pe2.Transparency = NumberSequence.new(0.4)
  528. pe2.ZOffset = 2
  529. pe2.Enabled = false
  530. pe2.LockedToPart = true
  531. pe2.Lifetime = NumberRange.new(0.07)
  532. pe2.Rate = 8
  533. pe2.Rotation = NumberRange.new(0, 360)
  534. pe2.RotSpeed = NumberRange.new(0)
  535. pe2.Speed = NumberRange.new(0)
  536. pe2.VelocitySpread = 180
  537. pe2.Parent = rarm.Glow
  538. for _ = 1, 45 do
  539. swait()
  540. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
  541. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
  542. 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)
  543. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  544. lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
  545. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
  546. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
  547. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  548. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  549. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  550. pe.Rate = pe.Rate + 25
  551. end
  552. pe2.Enabled = true
  553. pe.Speed = NumberRange.new(10)
  554. for _ = 1, 30 do
  555. swait()
  556. lerpz(RJ, "C0", RJC0 * cf(0, 1.2, -0.2) * ang(rd(5), rd(6), rd(-109)), 0.2)
  557. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(-6), rd(96)), 0.2)
  558. 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)
  559. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-46)), 0.2)
  560. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.2)
  561. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.2)
  562. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
  563. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.2)
  564.  
  565. end
  566. for l = 1, 3 do
  567. swait()
  568. lerpz(RJ, "C0", RJC0 * cf(0.4, -1.6, -0.2) * ang(rd(5), rd(6), rd(60)), 0.3 + l / 4)
  569. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-4), rd(-35)), 0.3 + l / 4)
  570. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(-58), rd(95)), 0.3 + l / 4)
  571. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.3 + l / 4)
  572. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-66)), 0.3 + l / 4)
  573. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.3 + l / 4)
  574. lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-39), rd(-2)), 0.3 + l / 4)
  575. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.3 + l / 4)
  576. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.3 + l / 4)
  577. end
  578. pe:Destroy()
  579. pe2:Destroy()
  580. KABOOMZ()
  581. rarm.Glow.smok.Enabled = true
  582. for _ = 1, 8 do
  583. swait()
  584. lerpz(RJ, "C0", RJC0 * cf(1.5, -1.6, -0.7) * ang(rd(5), rd(18), rd(95)), 0.8)
  585. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(14), rd(-10), rd(-15)), 0.8)
  586. lerpz(RS, "C0", RSC0 * cf(0.3, -0.4, 0.55) * ang(rd(0), rd(40), rd(65)), 0.8)
  587. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(0)), 0.8)
  588. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(60), rd(-86)), 0.8)
  589. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(0)), 0.8)
  590. lerpz(RH, "C0", RHC0 * cf(0, 0.7, 0) * ang(rd(-6), rd(-39), rd(24)), 0.8)
  591. lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-20)), 0.8)
  592. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(0)), 0.8)
  593. end
  594. wait(1.5)
  595. animo(true)
  596. human.WalkSpeed = human.WalkSpeed + 13
  597. for _ = 1, 24 do
  598. swait()
  599. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  600. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  601. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  602. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  603. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  604. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  605. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  606. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  607. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  608. end
  609. resetlerp()
  610. rarm.Glow.smok.Enabled = false
  611. activu = false
  612. end
  613.  
  614.  
  615.  
  616.  
  617. local debris=game:service"Debris"
  618. vt = Vector3.new
  619. bc = BrickColor.new
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632. function Ring()
  633.  
  634.  
  635. local effspwn = Instance.new("Part")
  636. local model = Instance.new("Model")
  637. game.Debris:AddItem(model, 20)
  638. model.Name = "smasheffects"
  639. model.Parent = workspace
  640. effspwn.Name = "spwnr"
  641. effspwn.Size = Vector3.new(1, 1, 1)
  642. effspwn.Anchored = true
  643. effspwn.CanCollide = false
  644. effspwn.Transparency = 1
  645. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  646. effspwn.Parent = model
  647.  
  648. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  649. if v:FindFirstChild('Humanoid') then
  650. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  651. v.Humanoid.PlatformStand = true
  652. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  653. end
  654. end
  655. coroutine.resume(coroutine.create(function()
  656. local shok = Instance.new("Part")
  657. shok.Name = "wring1"
  658. shok.BrickColor = BrickColor.new("Crimson")
  659. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  660. shok.Size = Vector3.new(1, 1, 1)
  661. shok.Anchored = true
  662. shok.Material = "Neon"
  663. shok.Transparency = 0.25
  664. shok.CanCollide = false
  665. shok.Parent = model
  666. game.Debris:AddItem(shok, 12)
  667. local mesh = Instance.new("SpecialMesh")
  668. mesh.MeshType = "FileMesh"
  669. mesh.MeshId = "rbxassetid://3270017"
  670. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  671. mesh.Parent = shok
  672. for e = 1, 30 do
  673. wait()
  674. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  675. shok.Transparency = shok.Transparency + 0.002
  676. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  677. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  678. end
  679. for e = 1, 38 do
  680. wait()
  681. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  682. shok.Transparency = shok.Transparency + 0.002
  683. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  684. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  685. end
  686. for e = 1, 24 do
  687. wait()
  688. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  689. shok.Transparency = shok.Transparency + 0.03
  690. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  691. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  692. end
  693. end))
  694. coroutine.resume(coroutine.create(function()
  695. local shok = Instance.new("Part")
  696. shok.Name = "wring2"
  697. shok.BrickColor = BrickColor.new("Crimson")
  698. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  699. shok.Size = Vector3.new(1, 1, 1)
  700. shok.Anchored = true
  701. shok.Material = "Neon"
  702. shok.Transparency = 0.25
  703. shok.CanCollide = false
  704. shok.Parent = model
  705. game.Debris:AddItem(shok, 12)
  706. local mesh = Instance.new("SpecialMesh")
  707. mesh.MeshType = "FileMesh"
  708. mesh.MeshId = "rbxassetid://3270017"
  709. mesh.Scale = Vector3.new(12, 12, 0.05)
  710. mesh.Parent = shok
  711. for e = 1, 30 do
  712. wait()
  713. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  714. shok.Transparency = shok.Transparency + 0.002
  715. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  716. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  717. end
  718. for e = 1, 38 do
  719. wait()
  720. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  721. shok.Transparency = shok.Transparency + 0.002
  722. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  723. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  724. end
  725. for e = 1, 24 do
  726. wait()
  727. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  728. shok.Transparency = shok.Transparency + 0.03
  729. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  730. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  731. end
  732. end))
  733.  
  734. coroutine.resume(coroutine.create(function()
  735. local shok = Instance.new("Part")
  736. shok.Name = "shokwve"
  737. shok.BrickColor = BrickColor.new("Crimson")
  738. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  739. shok.Size = Vector3.new(1, 1, 1)
  740. shok.Anchored = true
  741. shok.Material = "Neon"
  742. shok.Transparency = 0.6
  743. shok.CanCollide = false
  744. shok.Parent = model
  745. game.Debris:AddItem(shok, 12)
  746. local mesh = Instance.new("SpecialMesh")
  747. mesh.MeshType = "FileMesh"
  748. mesh.MeshId = "rbxassetid://489415447"
  749. mesh.Scale = Vector3.new(1, 1, 1)
  750. mesh.Parent = shok
  751. for e = 1, 12 do
  752. wait()
  753. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  754. shok.Transparency = shok.Transparency + 0.002
  755. end
  756. for e = 1, 32 do
  757. wait()
  758. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  759. shok.Transparency = shok.Transparency + 0.002
  760. end
  761. for e = 1, 24 do
  762. wait()
  763. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  764. shok.Transparency = shok.Transparency + 0.03
  765. end
  766. end))
  767. coroutine.resume(coroutine.create(function()
  768. local shok = Instance.new("Part")
  769. shok.Name = "shock2"
  770. shok.BrickColor = BrickColor.new("Crimson")
  771. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  772. shok.Size = Vector3.new(1, 1, 1)
  773. shok.Anchored = true
  774. shok.Material = "Neon"
  775. shok.Transparency = 0.35
  776. shok.CanCollide = false
  777. shok.Parent = model
  778. game.Debris:AddItem(shok, 12)
  779. local mesh = Instance.new("SpecialMesh")
  780. mesh.MeshType = "FileMesh"
  781. mesh.MeshId = "rbxassetid://489415447"
  782. mesh.Scale = Vector3.new(12, 12, 12)
  783. mesh.Parent = shok
  784. for e = 1, 15 do
  785. wait()
  786. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  787. shok.Transparency = shok.Transparency + 0.004
  788. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  789. end
  790. for e = 1, 16 do
  791. wait()
  792. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  793. shok.Transparency = shok.Transparency + 0.004
  794. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  795. end
  796. for e = 1, 12 do
  797. wait()
  798. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  799. shok.Transparency = shok.Transparency + 0.06
  800. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  801. end
  802. end))
  803. coroutine.resume(coroutine.create(function()
  804. local shok = Instance.new("Part")
  805. shok.Name = "shock3"
  806. shok.BrickColor = BrickColor.new("Crimson")
  807. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  808. shok.Size = Vector3.new(1, 1, 1)
  809. shok.Anchored = true
  810. shok.Material = "Neon"
  811. shok.Transparency = 0.35
  812. shok.CanCollide = false
  813. shok.Parent = model
  814. game.Debris:AddItem(shok, 12)
  815. local mesh = Instance.new("SpecialMesh")
  816. mesh.MeshType = "FileMesh"
  817. mesh.MeshId = "rbxassetid://489415447"
  818. mesh.Scale = Vector3.new(12, 12, 12)
  819. mesh.Parent = shok
  820. for e = 1, 15 do
  821. wait()
  822. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  823. shok.Transparency = shok.Transparency + 0.004
  824. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  825. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  826. end
  827. for e = 1, 16 do
  828. wait()
  829. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  830. shok.Transparency = shok.Transparency + 0.004
  831. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  832. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  833. end
  834. for e = 1, 12 do
  835. wait()
  836. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  837. shok.Transparency = shok.Transparency + 0.06
  838. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  839. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  840. end
  841. end))
  842.  
  843. end
  844. function Landing()
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851. ROW = function(out, trans, s, wt, t, ang, plus)
  852. for i = 1, 360, 360/t do
  853. local c = Instance.new("Part", game.Workspace)
  854. c.FormFactor = 3
  855. c.TopSurface = 0
  856. c.BottomSurface = 0
  857. c.Size = s
  858. c.Anchored = true
  859. c.CanCollide = wt
  860. c.Material=workspace.Base.Material
  861. c.Transparency = trans
  862. c.BrickColor = workspace.Base.BrickColor
  863. 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
  864. c.Locked=true
  865. game.Debris:AddItem(c,15)
  866. end
  867. end
  868.  
  869.  
  870.  
  871.  
  872.  
  873. 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)
  874. Ring()
  875.  
  876.  
  877.  
  878.  
  879.  
  880. end
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888. function newRay(start,face,range,wat)
  889. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  890. hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  891. return rey,hit,pos
  892. end
  893.  
  894.  
  895.  
  896.  
  897. function jum()
  898. if activu == true or selected == false then
  899. return
  900. end
  901. coroutine.resume(coroutine.create(function()
  902. fglow(rleg.Glow, 1)
  903. fglow(lleg.Glow, 1)
  904. end))
  905. activu = true
  906. human.WalkSpeed = human.WalkSpeed - 13
  907. local pe = Instance.new("ParticleEmitter")
  908. pe.Color = ColorSequence.new(Color3.new(255, 0, 0))
  909. pe.LightEmission = 0.9
  910. pe.Size = NumberSequence.new(0.5)
  911. pe.Texture = "rbxassetid://272050333"
  912. pe.Transparency = NumberSequence.new(0.1)
  913. pe.Lifetime = NumberRange.new(0.1)
  914. pe.Rate = 250
  915. pe.RotSpeed = NumberRange.new(360)
  916. pe.Speed = NumberRange.new(3)
  917. pe.VelocitySpread = 360
  918. pe.Parent = rleg.Glow
  919. local pea = pe:Clone()
  920. pea.Parent = lleg.Glow
  921. local pe2 = Instance.new("ParticleEmitter")
  922. pe2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  923. pe2.LightEmission = 0.9
  924. pe2.Size = NumberSequence.new(5)
  925. pe2.Texture = "rbxassetid://516107903"
  926. pe2.Transparency = NumberSequence.new(0.4)
  927. pe2.ZOffset = 2
  928. pe2.Enabled = true
  929. pe2.LockedToPart = true
  930. pe2.Lifetime = NumberRange.new(0.07)
  931. pe2.Rate = 8
  932. pe2.Rotation = NumberRange.new(0, 360)
  933. pe2.RotSpeed = NumberRange.new(0)
  934. pe2.Speed = NumberRange.new(0)
  935. pe2.VelocitySpread = 180
  936. pe2.Parent = lleg.Glow
  937. local pea2 = pe2:Clone()
  938. pea2.Parent = rleg.Glow
  939. for l = 1, 30 do
  940. swait()
  941. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  942. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  943. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  944. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  945. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  946. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  947. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  948. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  949. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  950. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  951. end
  952. pe:Destroy()
  953. pe2:Destroy()
  954. pea:Destroy()
  955. pea2:Destroy()
  956. human.WalkSpeed = 50
  957. BV = Instance.new("BodyVelocity", tors)
  958. BV.maxForce = Vector3.new(0,100000,0)
  959. BV.P = 100000
  960. BV.velocity = Vector3.new(0,800,0)
  961. KABOOMZ2()
  962. coroutine.resume(coroutine.create(function()
  963. swait(3)
  964. BV:Destroy()
  965. end))
  966. for _ = 1, 18 do
  967. swait()
  968. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-3), rd(0), rd(0)), 0.6)
  969. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-12), rd(0), rd(0)), 0.6)
  970. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-9), rd(-9), rd(-15)), 0.6)
  971. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  972. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-9), rd(9), rd(15)), 0.6)
  973. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  974. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(-12)), 0.6)
  975. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  976. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-6), rd(0), rd(12)), 0.6)
  977. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  978. end
  979. for _ = 1, 18 do
  980. swait()
  981. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  982. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  983. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  984. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  985. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  986. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  987. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  988. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  989. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  990. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  991. end
  992. resetlerp()
  993. local ry,ht,ps=nil,nil,nil
  994. while ht==nil do
  995. ry,ht,ps=newRay(hrp.CFrame*CFrame.new(0,-2,0),hrp.CFrame*CFrame.new(0,-3,0),4.1,{chr})
  996. wait()
  997. end
  998. human.WalkSpeed = 0
  999. Landing()
  1000. z = Instance.new("Sound",tors)
  1001. z.SoundId = "rbxassetid://514867425"
  1002. z.Volume = 2
  1003. wait(.1)
  1004. z:Play()
  1005.  
  1006. for l = 1, 30 do
  1007. swait()
  1008. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  1009. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  1010. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  1011. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1012. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  1013. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1014. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  1015. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1016. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  1017. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  1018. end
  1019. resetlerp()
  1020. human.WalkSpeed = 16
  1021.  
  1022. activu = false
  1023. end
  1024.  
  1025.  
  1026.  
  1027. local acos = math.acos
  1028. local sqrt = math.sqrt
  1029. local Vec3 = Vector3.new
  1030. local fromAxisAngle = CFrame.fromAxisAngle
  1031.  
  1032. local function toAxisAngle(CFr)
  1033. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1034. local Angle = math.acos((R00+R11+R22-1)/2)
  1035. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1036. A = A == 0 and 0.00001 or A
  1037. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1038. B = B == 0 and 0.00001 or B
  1039. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1040. C = C == 0 and 0.00001 or C
  1041. local x = (R21-R12)/sqrt(A)
  1042. local y = (R02-R20)/sqrt(B)
  1043. local z = (R10-R01)/sqrt(C)
  1044. return Vec3(x,y,z),Angle
  1045. end
  1046.  
  1047. function ApplyTrig(Num,Func)
  1048. local Min,Max = Func(0),Func(1)
  1049. local i = Func(Num)
  1050. return (i-Min)/(Max-Min)
  1051. --[[if Func == "sin" then
  1052. return (math.sin((1-Num)*math.pi)+1)/2
  1053. elseif Func == "cos" then
  1054. return (math.cos((1-Num)*math.pi)+1)/2
  1055. end]]
  1056. end
  1057.  
  1058. function LerpCFrame(CFrame1,CFrame2,Num)
  1059. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1060. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1061. end
  1062.  
  1063. function Crater(Torso,Radius)
  1064. spawn(function()
  1065. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  1066. local Ignore = {}
  1067. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1068. if v.Character ~= nil then
  1069. Ignore[#Ignore+1] = v.Character
  1070. end
  1071. end
  1072. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  1073. if Hit == nil then return end
  1074. local Parts = {}
  1075. for i = 1,360,10 do
  1076. local P = Instance.new("Part",Torso.Parent)
  1077. P.Anchored = true
  1078. P.FormFactor = "Custom"
  1079. P.BrickColor = Hit.BrickColor
  1080. P.Material = Hit.Material
  1081. P.TopSurface = "Smooth"
  1082. P.BottomSurface = "Smooth"
  1083. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  1084. 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)))
  1085. 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}
  1086. if math.random(0,5) == 0 then -- rubble
  1087. local P = Instance.new("Part",Torso.Parent)
  1088. P.Anchored = true
  1089. P.FormFactor = "Custom"
  1090. P.BrickColor = Hit.BrickColor
  1091. P.Material = Hit.Material
  1092. P.TopSurface = "Smooth"
  1093. P.BottomSurface = "Smooth"
  1094. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  1095. 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)))
  1096. 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}
  1097. end
  1098. end
  1099. for i = 0,1,0.05 do
  1100. for i2,v in pairs(Parts) do
  1101. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  1102. end
  1103. wait(0.02)
  1104. end
  1105. for i,v in pairs(Parts) do
  1106. if v[1].Size.X > 2.1 then
  1107. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1108. end
  1109. v[1].Anchored = false
  1110. end
  1111. for i = 0,1,0.05 do
  1112. for i2,v in pairs(Parts) do
  1113. v[1].Transparency = i
  1114. if i == 1 then
  1115. v[1]:Destroy()
  1116. elseif i >= 0.25 then
  1117. v[1].CanCollide = false
  1118. end
  1119. end
  1120. wait(0.02)
  1121. end
  1122. Parts = nil
  1123. end)
  1124. end
  1125.  
  1126.  
  1127. function FindNearestTorso(Position,Distance,SinglePlayer)
  1128. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1129. local List = {}
  1130. for i,v in pairs(workspace:GetChildren())do
  1131. if v:IsA("Model")then
  1132. if v:findFirstChild("Torso")then
  1133. if v ~= chr then
  1134. if(v.Torso.Position -Position).magnitude <= Distance then
  1135. table.insert(List,v)
  1136. end
  1137. end
  1138. end
  1139. end
  1140. end
  1141. return List
  1142. end
  1143.  
  1144. function KABOOMZ()
  1145. local effspwn = Instance.new("Part")
  1146. coroutine.resume(coroutine.create(function()
  1147. local sound1 = Instance.new("Sound")
  1148. sound1.SoundId = "rbxassetid://138137702"
  1149. sound1.MaxDistance = 300
  1150. sound1.EmitterSize = 20
  1151. sound1.Volume = 5
  1152. sound1.Pitch = 0.95
  1153. sound1.Parent = effspwn
  1154. local sound2 = Instance.new("Sound")
  1155. sound2.SoundId = "rbxassetid://157878578"
  1156. sound2.MaxDistance = 300
  1157. sound2.EmitterSize = 20
  1158. sound2.Volume = 2
  1159. sound2.Pitch = 0.9
  1160. sound2.Parent = effspwn
  1161. local sound3 = Instance.new("Sound")
  1162. sound3.SoundId = "rbxassetid://138250406"
  1163. sound2.MaxDistance = 400
  1164. sound2.EmitterSize = 30
  1165. sound2.Volume = 1.5
  1166. sound2.Pitch = 0.6
  1167. sound2.Parent = effspwn
  1168. sound2:Play()
  1169. wait()
  1170. sound1:Play()
  1171. sound3:Play()
  1172. end))
  1173. local model = Instance.new("Model")
  1174. game.Debris:AddItem(model, 20)
  1175. model.Name = "smasheffects"
  1176. model.Parent = workspace
  1177. effspwn.Name = "spwnr"
  1178. effspwn.Size = Vector3.new(1, 1, 1)
  1179. effspwn.Anchored = true
  1180. effspwn.CanCollide = false
  1181. effspwn.Transparency = 1
  1182. effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0)
  1183. effspwn.Parent = model
  1184.  
  1185. Crater(head,60)
  1186.  
  1187. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  1188. if v:FindFirstChild('Humanoid') then
  1189. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1190. v.Humanoid.PlatformStand = true
  1191. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  1192. end
  1193. end
  1194. coroutine.resume(coroutine.create(function()
  1195. local shok = Instance.new("Part")
  1196. shok.Name = "whoosh"
  1197. shok.BrickColor = BrickColor.new("Crimson")
  1198. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1199. shok.Size = Vector3.new(1, 1, 1)
  1200. shok.Anchored = true
  1201. shok.Material = "Neon"
  1202. shok.Transparency = 0.1
  1203. shok.CanCollide = false
  1204. shok.Parent = model
  1205. game.Debris:AddItem(shok, 12)
  1206. local mesh = Instance.new("SpecialMesh")
  1207. mesh.MeshType = "FileMesh"
  1208. mesh.MeshId = "rbxassetid://437347603"
  1209. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  1210. mesh.Parent = shok
  1211. for e = 1, 8 do
  1212. wait()
  1213. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  1214. shok.Transparency = shok.Transparency + 0.035
  1215. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4)
  1216. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  1217. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1218. end
  1219. for e = 1, 16 do
  1220. wait()
  1221. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  1222. shok.Transparency = shok.Transparency + 0.11
  1223. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4)
  1224. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  1225. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1226. end
  1227. end))
  1228. coroutine.resume(coroutine.create(function()
  1229. local shok = Instance.new("Part")
  1230. shok.Name = "wring1"
  1231. shok.BrickColor = BrickColor.new("Crimson")
  1232. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1233. shok.Size = Vector3.new(1, 1, 1)
  1234. shok.Anchored = true
  1235. shok.Material = "Neon"
  1236. shok.Transparency = 0.25
  1237. shok.CanCollide = false
  1238. shok.Parent = model
  1239. game.Debris:AddItem(shok, 12)
  1240. local mesh = Instance.new("SpecialMesh")
  1241. mesh.MeshType = "FileMesh"
  1242. mesh.MeshId = "rbxassetid://3270017"
  1243. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  1244. mesh.Parent = shok
  1245. for e = 1, 30 do
  1246. wait()
  1247. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  1248. shok.Transparency = shok.Transparency + 0.002
  1249. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1250. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1251. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1252.  
  1253. end
  1254. for e = 1, 38 do
  1255. wait()
  1256. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1257. shok.Transparency = shok.Transparency + 0.002
  1258. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1259. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1260. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1261.  
  1262. end
  1263. for e = 1, 24 do
  1264. wait()
  1265. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1266. shok.Transparency = shok.Transparency + 0.03
  1267. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1268. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1269. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1270.  
  1271. end
  1272. end))
  1273. coroutine.resume(coroutine.create(function()
  1274. local shok = Instance.new("Part")
  1275. shok.Name = "wring2"
  1276. shok.BrickColor = BrickColor.new("Crimson")
  1277. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1278. shok.Size = Vector3.new(1, 1, 1)
  1279. shok.Anchored = true
  1280. shok.Material = "Neon"
  1281. shok.Transparency = 0.25
  1282. shok.CanCollide = false
  1283. shok.Parent = model
  1284. game.Debris:AddItem(shok, 12)
  1285. local mesh = Instance.new("SpecialMesh")
  1286. mesh.MeshType = "FileMesh"
  1287. mesh.MeshId = "rbxassetid://3270017"
  1288. mesh.Scale = Vector3.new(12, 12, 0.05)
  1289. mesh.Parent = shok
  1290. for e = 1, 30 do
  1291. wait()
  1292. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  1293. shok.Transparency = shok.Transparency + 0.002
  1294. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1295. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1296. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1297.  
  1298. end
  1299. for e = 1, 38 do
  1300. wait()
  1301. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1302. shok.Transparency = shok.Transparency + 0.002
  1303. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1304. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1305. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1306.  
  1307. end
  1308. for e = 1, 24 do
  1309. wait()
  1310. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1311. shok.Transparency = shok.Transparency + 0.03
  1312. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1313. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1314. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1315.  
  1316. end
  1317. end))
  1318. coroutine.resume(coroutine.create(function()
  1319. local shok = Instance.new("Part")
  1320. shok.Name = "coil1"
  1321. shok.BrickColor = BrickColor.new("Crimson")
  1322. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1323. shok.Size = Vector3.new(1, 1, 1)
  1324. shok.Anchored = true
  1325. shok.Material = "Neon"
  1326. shok.Transparency = 0.25
  1327. shok.CanCollide = false
  1328. shok.Parent = model
  1329. game.Debris:AddItem(shok, 12)
  1330. local mesh = Instance.new("SpecialMesh")
  1331. mesh.MeshType = "FileMesh"
  1332. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1333. mesh.Scale = Vector3.new(12, 12, 12)
  1334. mesh.Parent = shok
  1335. for e = 1, 15 do
  1336. wait()
  1337. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1338. shok.Transparency = shok.Transparency + 0.004
  1339. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1340. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1341. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1342.  
  1343. end
  1344. for e = 1, 16 do
  1345. wait()
  1346. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1347. shok.Transparency = shok.Transparency + 0.004
  1348. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1349. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1350. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1351.  
  1352. end
  1353. for e = 1, 12 do
  1354. wait()
  1355. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1356. shok.Transparency = shok.Transparency + 0.06
  1357. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1358. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1359. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1360.  
  1361. end
  1362. end))
  1363. coroutine.resume(coroutine.create(function()
  1364. local shok = Instance.new("Part")
  1365. shok.Name = "coil2"
  1366. shok.BrickColor = BrickColor.new("Crimson")
  1367. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1368. shok.Size = Vector3.new(1, 1, 1)
  1369. shok.Anchored = true
  1370. shok.Material = "Neon"
  1371. shok.Transparency = 0.25
  1372. shok.CanCollide = false
  1373. shok.Parent = model
  1374. game.Debris:AddItem(shok, 12)
  1375. local mesh = Instance.new("SpecialMesh")
  1376. mesh.MeshType = "FileMesh"
  1377. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1378. mesh.Scale = Vector3.new(6, 12, 6)
  1379. mesh.Parent = shok
  1380. for e = 1, 15 do
  1381. wait()
  1382. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1383. shok.Transparency = shok.Transparency + 0.005
  1384. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1385. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1386. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1387.  
  1388. end
  1389. for e = 1, 16 do
  1390. wait()
  1391. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1392. shok.Transparency = shok.Transparency + 0.005
  1393. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1394. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1395. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1396.  
  1397. end
  1398. for e = 1, 12 do
  1399. wait()
  1400. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1401. shok.Transparency = shok.Transparency + 0.09
  1402. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1403. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1404. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1405.  
  1406. end
  1407. end))
  1408. coroutine.resume(coroutine.create(function()
  1409. local shok = Instance.new("Part")
  1410. shok.Name = "shokwve"
  1411. shok.BrickColor = BrickColor.new("Crimson")
  1412. shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0)
  1413. shok.Size = Vector3.new(1, 1, 1)
  1414. shok.Anchored = true
  1415. shok.Material = "Neon"
  1416. shok.Transparency = 0.6
  1417. shok.CanCollide = false
  1418. shok.Parent = model
  1419. game.Debris:AddItem(shok, 12)
  1420. local mesh = Instance.new("SpecialMesh")
  1421. mesh.MeshType = "FileMesh"
  1422. mesh.MeshId = "rbxassetid://489415447"
  1423. mesh.Scale = Vector3.new(1, 1, 1)
  1424. mesh.Parent = shok
  1425. for e = 1, 12 do
  1426. wait()
  1427. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  1428. shok.Transparency = shok.Transparency + 0.002
  1429. end
  1430. for e = 1, 32 do
  1431. wait()
  1432. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1433. shok.Transparency = shok.Transparency + 0.002
  1434. end
  1435. for e = 1, 24 do
  1436. wait()
  1437. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1438. shok.Transparency = shok.Transparency + 0.03
  1439. end
  1440. end))
  1441. coroutine.resume(coroutine.create(function()
  1442. local shok = Instance.new("Part")
  1443. shok.Name = "shock2"
  1444. shok.BrickColor = BrickColor.new("Crimson")
  1445. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1446. shok.Size = Vector3.new(1, 1, 1)
  1447. shok.Anchored = true
  1448. shok.Material = "Neon"
  1449. shok.Transparency = 0.35
  1450. shok.CanCollide = false
  1451. shok.Parent = model
  1452. game.Debris:AddItem(shok, 12)
  1453. local mesh = Instance.new("SpecialMesh")
  1454. mesh.MeshType = "FileMesh"
  1455. mesh.MeshId = "rbxassetid://489415447"
  1456. mesh.Scale = Vector3.new(12, 12, 12)
  1457. mesh.Parent = shok
  1458. for e = 1, 15 do
  1459. wait()
  1460. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1461. shok.Transparency = shok.Transparency + 0.004
  1462. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1463. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1464.  
  1465. end
  1466. for e = 1, 16 do
  1467. wait()
  1468. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1469. shok.Transparency = shok.Transparency + 0.004
  1470. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1471. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1472.  
  1473. end
  1474. for e = 1, 12 do
  1475. wait()
  1476. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1477. shok.Transparency = shok.Transparency + 0.06
  1478. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1479. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1480.  
  1481. end
  1482. end))
  1483. coroutine.resume(coroutine.create(function()
  1484. local shok = Instance.new("Part")
  1485. shok.Name = "shock3"
  1486. shok.BrickColor = BrickColor.new("Crimson")
  1487. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1488. shok.Size = Vector3.new(1, 1, 1)
  1489. shok.Anchored = true
  1490. shok.Material = "Neon"
  1491. shok.Transparency = 0.35
  1492. shok.CanCollide = false
  1493. shok.Parent = model
  1494. game.Debris:AddItem(shok, 12)
  1495. local mesh = Instance.new("SpecialMesh")
  1496. mesh.MeshType = "FileMesh"
  1497. mesh.MeshId = "rbxassetid://489415447"
  1498. mesh.Scale = Vector3.new(12, 12, 12)
  1499. mesh.Parent = shok
  1500. for e = 1, 15 do
  1501. wait()
  1502. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1503. shok.Transparency = shok.Transparency + 0.004
  1504. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1505. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1506. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1507.  
  1508. end
  1509. for e = 1, 16 do
  1510. wait()
  1511. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1512. shok.Transparency = shok.Transparency + 0.004
  1513. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1514. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1515. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1516.  
  1517. end
  1518. for e = 1, 12 do
  1519. wait()
  1520. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  1521. shok.Transparency = shok.Transparency + 0.06
  1522. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1523. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1524. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1525.  
  1526. end
  1527. end))
  1528. end
  1529. function KABOOMZ2()
  1530. local effspwn = Instance.new("Part")
  1531. coroutine.resume(coroutine.create(function()
  1532. local sound1 = Instance.new("Sound")
  1533. sound1.SoundId = "rbxassetid://138137702"
  1534. sound1.MaxDistance = 300
  1535. sound1.EmitterSize = 20
  1536. sound1.Volume = 2.5
  1537. sound1.Pitch = 0.65
  1538. sound1.Parent = effspwn
  1539. local sound2 = Instance.new("Sound")
  1540. sound2.SoundId = "rbxassetid://157878578"
  1541. sound2.MaxDistance = 300
  1542. sound2.EmitterSize = 20
  1543. sound2.Volume = 1
  1544. sound2.Pitch = 0.7
  1545. sound2.Parent = effspwn
  1546. local sound3 = Instance.new("Sound")
  1547. sound3.SoundId = "rbxassetid://138250406"
  1548. sound2.MaxDistance = 400
  1549. sound2.EmitterSize = 30
  1550. sound2.Volume = 0.5
  1551. sound2.Pitch = 0.5
  1552. sound2.Parent = effspwn
  1553. sound2:Play()
  1554. wait()
  1555. sound1:Play()
  1556. sound3:Play()
  1557. end))
  1558. local model = Instance.new("Model")
  1559. game.Debris:AddItem(model, 20)
  1560. model.Name = "smasheffects"
  1561. model.Parent = workspace
  1562. effspwn.Name = "spwnr"
  1563. effspwn.Size = Vector3.new(1, 1, 1)
  1564. effspwn.Anchored = true
  1565. effspwn.CanCollide = false
  1566. effspwn.Transparency = 1
  1567. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  1568. effspwn.Parent = model
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574. Crater(head,60)
  1575. Crater(head,120)
  1576.  
  1577. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  1578. if v:FindFirstChild('Humanoid') then
  1579. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  1580. v.Humanoid.PlatformStand = true
  1581. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  1582. end
  1583. end
  1584.  
  1585. coroutine.resume(coroutine.create(function()
  1586. local shok = Instance.new("Part")
  1587. shok.Name = "whoosh"
  1588. shok.BrickColor = BrickColor.new("Crimson")
  1589. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1590. shok.Size = Vector3.new(1, 1, 1)
  1591. shok.Anchored = true
  1592. shok.Material = "Neon"
  1593. shok.Transparency = 0.1
  1594. shok.CanCollide = false
  1595. shok.Parent = model
  1596. game.Debris:AddItem(shok, 12)
  1597. local mesh = Instance.new("SpecialMesh")
  1598. mesh.MeshType = "FileMesh"
  1599. mesh.MeshId = "rbxassetid://437347603"
  1600. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  1601. mesh.Parent = shok
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607. for e = 1, 8 do
  1608. wait()
  1609. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  1610. shok.Transparency = shok.Transparency + 0.035
  1611. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  1612. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  1613. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1614.  
  1615. end
  1616. for e = 1, 16 do
  1617. wait()
  1618. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  1619. shok.Transparency = shok.Transparency + 0.11
  1620. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  1621. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  1622. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  1623.  
  1624. end
  1625. end))
  1626. coroutine.resume(coroutine.create(function()
  1627. local shok = Instance.new("Part")
  1628. shok.Name = "wring1"
  1629. shok.BrickColor = BrickColor.new("Crimson")
  1630. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1631. shok.Size = Vector3.new(1, 1, 1)
  1632. shok.Anchored = true
  1633. shok.Material = "Neon"
  1634. shok.Transparency = 0.25
  1635. shok.CanCollide = false
  1636. shok.Parent = model
  1637. game.Debris:AddItem(shok, 12)
  1638. local mesh = Instance.new("SpecialMesh")
  1639. mesh.MeshType = "FileMesh"
  1640. mesh.MeshId = "rbxassetid://3270017"
  1641. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  1642. mesh.Parent = shok
  1643. for e = 1, 30 do
  1644. wait()
  1645. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  1646. shok.Transparency = shok.Transparency + 0.002
  1647. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1648. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1649. end
  1650. for e = 1, 38 do
  1651. wait()
  1652. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1653. shok.Transparency = shok.Transparency + 0.002
  1654. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1655. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1656. end
  1657. for e = 1, 24 do
  1658. wait()
  1659. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  1660. shok.Transparency = shok.Transparency + 0.03
  1661. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1662. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  1663. end
  1664. end))
  1665. coroutine.resume(coroutine.create(function()
  1666. local shok = Instance.new("Part")
  1667. shok.Name = "wring2"
  1668. shok.BrickColor = BrickColor.new("Crimson")
  1669. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1670. shok.Size = Vector3.new(1, 1, 1)
  1671. shok.Anchored = true
  1672. shok.Material = "Neon"
  1673. shok.Transparency = 0.25
  1674. shok.CanCollide = false
  1675. shok.Parent = model
  1676. game.Debris:AddItem(shok, 12)
  1677. local mesh = Instance.new("SpecialMesh")
  1678. mesh.MeshType = "FileMesh"
  1679. mesh.MeshId = "rbxassetid://3270017"
  1680. mesh.Scale = Vector3.new(12, 12, 0.05)
  1681. mesh.Parent = shok
  1682. for e = 1, 30 do
  1683. wait()
  1684. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  1685. shok.Transparency = shok.Transparency + 0.002
  1686. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1687. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1688. end
  1689. for e = 1, 38 do
  1690. wait()
  1691. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1692. shok.Transparency = shok.Transparency + 0.002
  1693. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1694. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1695. end
  1696. for e = 1, 24 do
  1697. wait()
  1698. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  1699. shok.Transparency = shok.Transparency + 0.03
  1700. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1701. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  1702. end
  1703. end))
  1704. coroutine.resume(coroutine.create(function()
  1705. local shok = Instance.new("Part")
  1706. shok.Name = "coil1"
  1707. shok.BrickColor = BrickColor.new("Crimson")
  1708. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1709. shok.Size = Vector3.new(1, 1, 1)
  1710. shok.Anchored = true
  1711. shok.Material = "Neon"
  1712. shok.Transparency = 0.25
  1713. shok.CanCollide = false
  1714. shok.Parent = model
  1715. game.Debris:AddItem(shok, 12)
  1716. local mesh = Instance.new("SpecialMesh")
  1717. mesh.MeshType = "FileMesh"
  1718. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1719. mesh.Scale = Vector3.new(12, 12, 12)
  1720. mesh.Parent = shok
  1721. for e = 1, 15 do
  1722. wait()
  1723. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1724. shok.Transparency = shok.Transparency + 0.004
  1725. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1726. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1727. end
  1728. for e = 1, 16 do
  1729. wait()
  1730. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1731. shok.Transparency = shok.Transparency + 0.004
  1732. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1733. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1734. end
  1735. for e = 1, 12 do
  1736. wait()
  1737. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1738. shok.Transparency = shok.Transparency + 0.06
  1739. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1740. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1741. end
  1742. end))
  1743. coroutine.resume(coroutine.create(function()
  1744. local shok = Instance.new("Part")
  1745. shok.Name = "coil2"
  1746. shok.BrickColor = BrickColor.new("Crimson")
  1747. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1748. shok.Size = Vector3.new(1, 1, 1)
  1749. shok.Anchored = true
  1750. shok.Material = "Neon"
  1751. shok.Transparency = 0.25
  1752. shok.CanCollide = false
  1753. shok.Parent = model
  1754. game.Debris:AddItem(shok, 12)
  1755. local mesh = Instance.new("SpecialMesh")
  1756. mesh.MeshType = "FileMesh"
  1757. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1758. mesh.Scale = Vector3.new(6, 12, 6)
  1759. mesh.Parent = shok
  1760. for e = 1, 15 do
  1761. wait()
  1762. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1763. shok.Transparency = shok.Transparency + 0.005
  1764. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  1765. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1766. end
  1767. for e = 1, 16 do
  1768. wait()
  1769. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1770. shok.Transparency = shok.Transparency + 0.005
  1771. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1772. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1773. end
  1774. for e = 1, 12 do
  1775. wait()
  1776. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  1777. shok.Transparency = shok.Transparency + 0.09
  1778. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  1779. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  1780. end
  1781. end))
  1782. coroutine.resume(coroutine.create(function()
  1783. local shok = Instance.new("Part")
  1784. shok.Name = "shokwve"
  1785. shok.BrickColor = BrickColor.new("Crimson")
  1786. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  1787. shok.Size = Vector3.new(1, 1, 1)
  1788. shok.Anchored = true
  1789. shok.Material = "Neon"
  1790. shok.Transparency = 0.6
  1791. shok.CanCollide = false
  1792. shok.Parent = model
  1793. game.Debris:AddItem(shok, 12)
  1794. local mesh = Instance.new("SpecialMesh")
  1795. mesh.MeshType = "FileMesh"
  1796. mesh.MeshId = "rbxassetid://489415447"
  1797. mesh.Scale = Vector3.new(1, 1, 1)
  1798. mesh.Parent = shok
  1799. for e = 1, 12 do
  1800. wait()
  1801. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  1802. shok.Transparency = shok.Transparency + 0.002
  1803. end
  1804. for e = 1, 32 do
  1805. wait()
  1806. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1807. shok.Transparency = shok.Transparency + 0.002
  1808. end
  1809. for e = 1, 24 do
  1810. wait()
  1811. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  1812. shok.Transparency = shok.Transparency + 0.03
  1813. end
  1814. end))
  1815. coroutine.resume(coroutine.create(function()
  1816. local shok = Instance.new("Part")
  1817. shok.Name = "shock2"
  1818. shok.BrickColor = BrickColor.new("Crimson")
  1819. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1820. shok.Size = Vector3.new(1, 1, 1)
  1821. shok.Anchored = true
  1822. shok.Material = "Neon"
  1823. shok.Transparency = 0.35
  1824. shok.CanCollide = false
  1825. shok.Parent = model
  1826. game.Debris:AddItem(shok, 12)
  1827. local mesh = Instance.new("SpecialMesh")
  1828. mesh.MeshType = "FileMesh"
  1829. mesh.MeshId = "rbxassetid://489415447"
  1830. mesh.Scale = Vector3.new(12, 12, 12)
  1831. mesh.Parent = shok
  1832. for e = 1, 15 do
  1833. wait()
  1834. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1835. shok.Transparency = shok.Transparency + 0.004
  1836. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1837. end
  1838. for e = 1, 16 do
  1839. wait()
  1840. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1841. shok.Transparency = shok.Transparency + 0.004
  1842. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1843. end
  1844. for e = 1, 12 do
  1845. wait()
  1846. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  1847. shok.Transparency = shok.Transparency + 0.06
  1848. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  1849. end
  1850. end))
  1851. coroutine.resume(coroutine.create(function()
  1852. local shok = Instance.new("Part")
  1853. shok.Name = "shock3"
  1854. shok.BrickColor = BrickColor.new("Crimson")
  1855. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1856. shok.Size = Vector3.new(1, 1, 1)
  1857. shok.Anchored = true
  1858. shok.Material = "Neon"
  1859. shok.Transparency = 0.35
  1860. shok.CanCollide = false
  1861. shok.Parent = model
  1862. game.Debris:AddItem(shok, 12)
  1863. local mesh = Instance.new("SpecialMesh")
  1864. mesh.MeshType = "FileMesh"
  1865. mesh.MeshId = "rbxassetid://489415447"
  1866. mesh.Scale = Vector3.new(12, 12, 12)
  1867. mesh.Parent = shok
  1868. for e = 1, 15 do
  1869. wait()
  1870. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1871. shok.Transparency = shok.Transparency + 0.004
  1872. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1873. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1874. end
  1875. for e = 1, 16 do
  1876. wait()
  1877. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  1878. shok.Transparency = shok.Transparency + 0.004
  1879. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1880. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1881. end
  1882. for e = 1, 12 do
  1883. wait()
  1884. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  1885. shok.Transparency = shok.Transparency + 0.06
  1886. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  1887. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  1888. end
  1889. end))
  1890. end
  1891.  
  1892.  
  1893.  
  1894. tor = chr.Torso
  1895. Debounce = false
  1896.  
  1897. Invis = function()
  1898. for i = 1,20 do
  1899. chr['Right Arm'].Transparency = chr['Right Arm'].Transparency + .05
  1900. chr['Left Arm'].Transparency = chr['Left Arm'].Transparency + .05
  1901. chr['Right Leg'].Transparency = chr['Right Leg'].Transparency + .05
  1902. chr['Left Leg'].Transparency = chr['Left Leg'].Transparency + .05
  1903. chr['Head'].Transparency = chr['Head'].Transparency + .05
  1904. chr['Torso'].Transparency = chr['Torso'].Transparency + .05
  1905. chr.Head['face'].Transparency = chr.Head['face'].Transparency + .05
  1906. game["Run Service"].RenderStepped:wait()
  1907. end
  1908. end
  1909.  
  1910. Vis = function()
  1911. for i = 1,20 do
  1912. chr['Right Arm'].Transparency = chr['Right Arm'].Transparency - .05
  1913. chr['Left Arm'].Transparency = chr['Left Arm'].Transparency - .05
  1914. chr['Right Leg'].Transparency = chr['Right Leg'].Transparency - .05
  1915. chr['Left Leg'].Transparency = chr['Left Leg'].Transparency - .05
  1916. chr['Head'].Transparency = chr['Head'].Transparency - .05
  1917. chr['Torso'].Transparency = chr['Torso'].Transparency - .05
  1918. chr.Head['face'].Transparency = chr.Head['face'].Transparency - .05
  1919. game["Run Service"].RenderStepped:wait()
  1920. end
  1921. end
  1922.  
  1923. Fade = function(Part)
  1924. if Part:IsA'Part' then
  1925. for i = 1,20 do
  1926. Part.Transparency = Part.Transparency + .05
  1927. Part.Size = Part.Size - Vector3.new(.04,.04,.04)
  1928. Part.CFrame = Part.CFrame * CFrame.new(0,-.1,0)
  1929. wait()
  1930. end
  1931. Part:Destroy()
  1932. end
  1933. end
  1934.  
  1935. Teleport = function(cx,cy,cz)
  1936. Debounce = true
  1937. tor.Anchored = true
  1938. Invis()
  1939. --MakeTpPart()
  1940. tor.Anchored = false
  1941. tor.CFrame = CFrame.new(cx,cy,cz) * CFrame.new(0,3,0)
  1942. tor.Anchored = true
  1943. Vis()
  1944. tor.Anchored = false
  1945. Debounce = false
  1946. end;
  1947.  
  1948.  
  1949.  
  1950. tps = Instance.new("Sound",chr)
  1951. tps.SoundId = "http://www.roblox.com/asset/?id = 449860746"
  1952. tps.Volume = 30
  1953.  
  1954.  
  1955. function Tele()
  1956. human.WalkSpeed = 0
  1957. if activu == true or selected == false then
  1958. return
  1959. end
  1960. coroutine.resume(coroutine.create(function()
  1961. fglow(rleg.Glow, 1)
  1962. fglow(lleg.Glow, 1)
  1963. end))
  1964. activu = true
  1965. local pe = Instance.new("ParticleEmitter")
  1966. pe.Color = ColorSequence.new(Color3.new(255, 0, 0))
  1967. pe.LightEmission = 0.9
  1968. pe.Size = NumberSequence.new(0.5)
  1969. pe.Texture = "rbxassetid://272050333"
  1970. pe.Transparency = NumberSequence.new(0.1)
  1971. pe.Lifetime = NumberRange.new(0.1)
  1972. pe.Rate = 250
  1973. pe.RotSpeed = NumberRange.new(360)
  1974. pe.Speed = NumberRange.new(3)
  1975. pe.VelocitySpread = 360
  1976. pe.Parent = rleg.Glow
  1977. local pea = pe:Clone()
  1978. pea.Parent = lleg.Glow
  1979. local pe2 = Instance.new("ParticleEmitter")
  1980. pe2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  1981. pe2.LightEmission = 0.9
  1982. pe2.Size = NumberSequence.new(5)
  1983. pe2.Texture = "rbxassetid://516107903"
  1984. pe2.Transparency = NumberSequence.new(0.4)
  1985. pe2.ZOffset = 2
  1986. pe2.Enabled = true
  1987. pe2.LockedToPart = true
  1988. pe2.Lifetime = NumberRange.new(0.07)
  1989. pe2.Rate = 8
  1990. pe2.Rotation = NumberRange.new(0, 360)
  1991. pe2.RotSpeed = NumberRange.new(0)
  1992. pe2.Speed = NumberRange.new(0)
  1993. pe2.VelocitySpread = 180
  1994. pe2.Parent = lleg.Glow
  1995. local pea2 = pe2:Clone()
  1996. pea2.Parent = rleg.Glow
  1997.  
  1998. for l = 1, 30 do
  1999. swait()
  2000. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  2001. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  2002. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  2003. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2004. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  2005. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2006. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  2007. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2008. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  2009. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2010. end
  2011.  
  2012. pe:Destroy()
  2013. pe2:Destroy()
  2014. pea:Destroy()
  2015. pea2:Destroy()
  2016. local rng = Instance.new("Part", chr)
  2017. rng.Anchored = true
  2018. rng.BrickColor = BrickColor.new("Crimson")
  2019. rng.CanCollide = false
  2020. rng.FormFactor = 3
  2021. rng.Name = "Ring"
  2022. rng.Size = Vector3.new(1, 1, 1)
  2023. rng.Transparency = 0.5
  2024. rng.TopSurface = 0
  2025. rng.BottomSurface = 0
  2026. rng.Position = tors.Position - Vector3.new(0,2,0)
  2027. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2028. local rngm = Instance.new("SpecialMesh", rng)
  2029. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2030. rngm.Scale = Vector3.new(1, 1, 2)
  2031. coroutine.wrap(function()
  2032. for i = 1, 60, 8 do
  2033. rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1)
  2034. rng.Transparency = i/60
  2035. wait()
  2036. end
  2037. wait()
  2038. rng:Destroy()
  2039. end)()
  2040. tps:Play()
  2041. Teleport(mouse.Hit.X,mouse.Hit.Y,mouse.Hit.Z)
  2042. resetlerp()
  2043. human.WalkSpeed = 16
  2044. activu = false
  2045.  
  2046. end
  2047.  
  2048.  
  2049.  
  2050.  
  2051. boom3 = Instance.new("Sound",chr)
  2052. boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019"
  2053. boom3.Volume = 50
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059. gprop = {}
  2060. function materialhit(hit)
  2061. if hit.Parent ~= chr and hit.Parent.Parent ~= chr and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
  2062. gprop = {hit.BrickColor,hit.Material}
  2063. end
  2064. end
  2065. chr["Left Leg"].Touched:connect(materialhit)
  2066. chr["Right Leg"].Touched:connect(materialhit)
  2067.  
  2068.  
  2069. function KickBoom()
  2070. local effspwn = Instance.new("Part")
  2071. local model = Instance.new("Model")
  2072. game.Debris:AddItem(model, 20)
  2073. model.Name = "smasheffects"
  2074. model.Parent = chr
  2075. effspwn.Name = "spwnr"
  2076. effspwn.Size = Vector3.new(1, 1, 1)
  2077. effspwn.Anchored = true
  2078. effspwn.CanCollide = false
  2079. effspwn.Transparency = 1
  2080. effspwn.CFrame = hrp.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  2081. effspwn.Parent = model
  2082.  
  2083. for i = 1, 15 do
  2084. local gtrace = Instance.new("Part",game.Workspace)
  2085. gtrace.BrickColor = gprop[1]
  2086. gtrace.Material = gprop[2]
  2087. gtrace.Size = Vector3.new(16,16,16)
  2088. gtrace.Anchored = true
  2089. gtrace.CanCollide = false
  2090. 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)))
  2091. local gdisp = coroutine.wrap(function()
  2092. wait(3)
  2093. for i = 1, 9 do
  2094. wait(.1)
  2095. gtrace.Transparency = gtrace.Transparency + .1
  2096. end
  2097. gtrace:Destroy()
  2098. end)
  2099. gdisp()
  2100. end
  2101.  
  2102. Crater(head,67)
  2103.  
  2104. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  2105. if v:FindFirstChild('Humanoid') then
  2106. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  2107. v.Humanoid.PlatformStand = true
  2108. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 250
  2109. end
  2110. end
  2111.  
  2112. coroutine.resume(coroutine.create(function()
  2113. local shok = Instance.new("Part")
  2114. shok.Name = "shock3"
  2115. shok.BrickColor = BrickColor.new("Crimson")
  2116. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2117. shok.Size = Vector3.new(1, 1, 1)
  2118. shok.Anchored = true
  2119. shok.Material = "Neon"
  2120. shok.Transparency = 0.35
  2121. shok.CanCollide = false
  2122. shok.Parent = model
  2123. game.Debris:AddItem(shok, 12)
  2124. local mesh = Instance.new("SpecialMesh")
  2125. mesh.MeshType = "FileMesh"
  2126. mesh.MeshId = "rbxassetid://489415447"
  2127. mesh.Scale = Vector3.new(19, 19, 19)
  2128. mesh.Parent = shok
  2129. for e = 1, 15 do
  2130. wait()
  2131. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2132. shok.Transparency = shok.Transparency + 0.004
  2133. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2134. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2135. end
  2136. for e = 1, 16 do
  2137. wait()
  2138. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2139. shok.Transparency = shok.Transparency + 0.004
  2140. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2141. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2142. end
  2143. for e = 1, 12 do
  2144. wait()
  2145. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  2146. shok.Transparency = shok.Transparency + 0.06
  2147. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2148. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2149. end
  2150. end))
  2151.  
  2152.  
  2153. coroutine.resume(coroutine.create(function()
  2154. local shok = Instance.new("Part")
  2155. shok.Name = "shock3"
  2156. shok.BrickColor = BrickColor.new("Crimson")
  2157. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2158. shok.Size = Vector3.new(1, 1, 1)
  2159. shok.Anchored = true
  2160. shok.Material = "Neon"
  2161. shok.Transparency = 0.35
  2162. shok.CanCollide = false
  2163. shok.Parent = model
  2164. game.Debris:AddItem(shok, 12)
  2165. local mesh = Instance.new("SpecialMesh")
  2166. mesh.MeshType = "FileMesh"
  2167. mesh.MeshId = "rbxassetid://489415447"
  2168. mesh.Scale = Vector3.new(47, 47, 47)
  2169. mesh.Parent = shok
  2170. for e = 1, 15 do
  2171. wait()
  2172. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2173. shok.Transparency = shok.Transparency + 0.004
  2174. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2175. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2176. end
  2177. for e = 1, 16 do
  2178. wait()
  2179. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2180. shok.Transparency = shok.Transparency + 0.004
  2181. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2182. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2183. end
  2184. for e = 1, 12 do
  2185. wait()
  2186. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  2187. shok.Transparency = shok.Transparency + 0.06
  2188. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2189. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2190. end
  2191. end))
  2192.  
  2193. coroutine.resume(coroutine.create(function()
  2194. local shok = Instance.new("Part")
  2195. shok.Name = "shock3"
  2196. shok.BrickColor = BrickColor.new("Crimson")
  2197. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2198. shok.Size = Vector3.new(1, 1, 1)
  2199. shok.Anchored = true
  2200. shok.Material = "Neon"
  2201. shok.Transparency = 0.35
  2202. shok.CanCollide = false
  2203. shok.Parent = model
  2204. game.Debris:AddItem(shok, 12)
  2205. local mesh = Instance.new("SpecialMesh")
  2206. mesh.MeshType = "FileMesh"
  2207. mesh.MeshId = "rbxassetid://489415447"
  2208. mesh.Scale = Vector3.new(79, 79, 79)
  2209. mesh.Parent = shok
  2210. for e = 1, 15 do
  2211. wait()
  2212. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2213. shok.Transparency = shok.Transparency + 0.004
  2214. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2215. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2216. end
  2217. for e = 1, 16 do
  2218. wait()
  2219. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2220. shok.Transparency = shok.Transparency + 0.004
  2221. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2222. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2223. end
  2224. for e = 1, 12 do
  2225. wait()
  2226. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  2227. shok.Transparency = shok.Transparency + 0.06
  2228. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2229. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2230. end
  2231. end))
  2232. end
  2233.  
  2234.  
  2235.  
  2236.  
  2237. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2238. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2239. end
  2240. cam = workspace.CurrentCamera
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249. function NoOutline(Part)
  2250. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2251. end
  2252.  
  2253.  
  2254.  
  2255.  
  2256. it = Instance.new
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267. so = function(id,par,vol,pit)
  2268. coroutine.resume(coroutine.create(function()
  2269. local sou = Instance.new("Sound",par or workspace)
  2270. sou.Volume=vol
  2271. sou.Pitch=pit or 1
  2272. sou.SoundId=id
  2273. swait()
  2274. sou:play()
  2275. game:GetService("Debris"):AddItem(sou,6)
  2276. end))
  2277. end
  2278.  
  2279.  
  2280. function Stom()
  2281.  
  2282. cf=CFrame.new
  2283. angles=CFrame.Angles
  2284. euler=CFrame.fromEulerAnglesXYZ
  2285. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2286. RootPart=chr.HumanoidRootPart
  2287. RootJoint=RootPart.RootJoint
  2288. RootCF=euler(-1.57,0,3.14)
  2289.  
  2290. function QuaternionFromCFrame(cf)
  2291. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2292. local trace = m00 + m11 + m22
  2293. if trace > 0 then
  2294. local s = math.sqrt(1 + trace)
  2295. local recip = 0.5/s
  2296. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2297. else
  2298. local i = 0
  2299. if m11 > m00 then
  2300. i = 1
  2301. end
  2302. if m22 > (i == 0 and m00 or m11) then
  2303. i = 2
  2304. end
  2305. if i == 0 then
  2306. local s = math.sqrt(m00-m11-m22+1)
  2307. local recip = 0.5/s
  2308. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2309. elseif i == 1 then
  2310. local s = math.sqrt(m11-m22-m00+1)
  2311. local recip = 0.5/s
  2312. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2313. elseif i == 2 then
  2314. local s = math.sqrt(m22-m00-m11+1)
  2315. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2316. end
  2317. end
  2318. end
  2319.  
  2320. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2321. local xs, ys, zs = x + x, y + y, z + z
  2322. local wx, wy, wz = w*xs, w*ys, w*zs
  2323. local xx = x*xs
  2324. local xy = x*ys
  2325. local xz = x*zs
  2326. local yy = y*ys
  2327. local yz = y*zs
  2328. local zz = z*zs
  2329. 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))
  2330. end
  2331.  
  2332. function QuaternionSlerp(a, b, t)
  2333. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2334. local startInterp, finishInterp;
  2335. if cosTheta >= 0.0001 then
  2336. if (1 - cosTheta) > 0.0001 then
  2337. local theta = math.acos(cosTheta)
  2338. local invSinTheta = 1/math.sin(theta)
  2339. startInterp = math.sin((1-t)*theta)*invSinTheta
  2340. finishInterp = math.sin(t*theta)*invSinTheta
  2341. else
  2342. startInterp = 1-t
  2343. finishInterp = t
  2344. end
  2345. else
  2346. if (1+cosTheta) > 0.0001 then
  2347. local theta = math.acos(-cosTheta)
  2348. local invSinTheta = 1/math.sin(theta)
  2349. startInterp = math.sin((t-1)*theta)*invSinTheta
  2350. finishInterp = math.sin(t*theta)*invSinTheta
  2351. else
  2352. startInterp = t-1
  2353. finishInterp = t
  2354. end
  2355. end
  2356. 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
  2357. end
  2358.  
  2359. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2360. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2361. end
  2362.  
  2363. function clerp(a,b,t)
  2364. local qa = {QuaternionFromCFrame(a)}
  2365. local qb = {QuaternionFromCFrame(b)}
  2366. local ax, ay, az = a.x, a.y, a.z
  2367. local bx, by, bz = b.x, b.y, b.z
  2368. local _t = 1-t
  2369. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2370. end
  2371.  
  2372.  
  2373.  
  2374. if activu == true or selected == false then
  2375. return
  2376. end
  2377. coroutine.resume(coroutine.create(function()
  2378. fglow(lleg.Glow, 6)
  2379. end))
  2380. activu = true
  2381. local pe = Instance.new("ParticleEmitter")
  2382. pe.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2383. pe.LightEmission = 0.9
  2384. pe.Size = NumberSequence.new(0.5)
  2385. pe.Texture = "rbxassetid://272050333"
  2386. pe.Transparency = NumberSequence.new(0.1)
  2387. pe.Lifetime = NumberRange.new(0.1)
  2388. pe.Rate = 250
  2389. pe.RotSpeed = NumberRange.new(360)
  2390. pe.Speed = NumberRange.new(3)
  2391. pe.VelocitySpread = 360
  2392. pe.Parent = lleg.Glow
  2393. local pea = pe:Clone()
  2394. pea.Parent = lleg.Glow
  2395. wait(0.5)
  2396. local pe2 = Instance.new("ParticleEmitter")
  2397. pe2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2398. pe2.LightEmission = 0.9
  2399. pe2.Size = NumberSequence.new(5)
  2400. pe2.Texture = "rbxassetid://516107903"
  2401. pe2.Transparency = NumberSequence.new(0.4)
  2402. pe2.ZOffset = 2
  2403. pe2.Enabled = true
  2404. pe2.LockedToPart = true
  2405. pe2.Lifetime = NumberRange.new(0.07)
  2406. pe2.Rate = 8
  2407. pe2.Rotation = NumberRange.new(0, 360)
  2408. pe2.RotSpeed = NumberRange.new(0)
  2409. pe2.Speed = NumberRange.new(0)
  2410. pe2.VelocitySpread = 180
  2411. pe2.Parent = lleg.Glow
  2412. local pea2 = pe2:Clone()
  2413. pea2.Parent = lleg.Glow
  2414. local Mus = Instance.new("Sound",workspace)
  2415. Mus.SoundId = "rbxassetid://802518140"
  2416. Mus.Pitch = 1
  2417. Mus.Volume = 90000
  2418. Mus.Looped = false
  2419. wait(0.9)
  2420. Mus:Play()
  2421.  
  2422.  
  2423.  
  2424. human.WalkSpeed = 0
  2425. for i = 0,1,0.1 do
  2426. swait()
  2427. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2428. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2429. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  2430. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2431. 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)
  2432. 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)
  2433. end
  2434. wait(1)
  2435. for i = 0,1,0.1 do
  2436. swait()
  2437. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2438. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2439. RS.C0 = clerp(RS.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  2440. LS.C0 = clerp(LS.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  2441. 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)
  2442. 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)
  2443. end
  2444. KickBoom()
  2445. so("http://roblox.com/asset/?id=144699494",lleg,2,1.1)
  2446. so("http://roblox.com/asset/?id=321321137",lleg,1,1)
  2447. so("http://roblox.com/asset/?id=506384002",lleg,1,1)
  2448. so("http://roblox.com/asset/?id=157878578",lleg,25,1)
  2449. so("http://roblox.com/asset/?id=165970126",lleg,25,1)
  2450.  
  2451. wait(3)
  2452. human.WalkSpeed = 16
  2453. pe:Destroy()
  2454. pe2:Destroy()
  2455. pea:Destroy()
  2456. pea2:Destroy()
  2457. resetlerp()
  2458. activu = false
  2459. end
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465. function Smash()
  2466. for i = 1, 15 do
  2467. local gtrace = Instance.new("Part",game.Workspace)
  2468. gtrace.BrickColor = gprop[1]
  2469. gtrace.Material = gprop[2]
  2470. gtrace.Size = Vector3.new(19,19,19)
  2471. gtrace.Anchored = true
  2472. gtrace.CanCollide = false
  2473. 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)))
  2474. local gdisp = coroutine.wrap(function()
  2475. wait(7)
  2476. for i = 1, 9 do
  2477. wait(.1)
  2478. gtrace.Transparency = gtrace.Transparency + .1
  2479. end
  2480. gtrace:Destroy()
  2481. end)
  2482. gdisp()
  2483. end
  2484.  
  2485. Crater(head,67)
  2486. end
  2487.  
  2488. function Smash2()
  2489. for i = 1, 15 do
  2490. local gtrace = Instance.new("Part",game.Workspace)
  2491. gtrace.BrickColor = gprop[1]
  2492. gtrace.Material = gprop[2]
  2493. gtrace.Size = Vector3.new(19,19,19)
  2494. gtrace.Anchored = true
  2495. gtrace.CanCollide = false
  2496. 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)))
  2497. local gdisp = coroutine.wrap(function()
  2498. wait(7)
  2499. for i = 1, 9 do
  2500. wait(.1)
  2501. gtrace.Transparency = gtrace.Transparency + .1
  2502. end
  2503. gtrace:Destroy()
  2504. end)
  2505. gdisp()
  2506. end
  2507.  
  2508. end
  2509.  
  2510. function Smash3()
  2511. for i = 1, 15 do
  2512. local gtrace = Instance.new("Part",game.Workspace)
  2513. gtrace.BrickColor = gprop[1]
  2514. gtrace.Material = gprop[2]
  2515. gtrace.Size = Vector3.new(19,19,19)
  2516. gtrace.Anchored = true
  2517. gtrace.CanCollide = false
  2518. 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)))
  2519. local gdisp = coroutine.wrap(function()
  2520. wait(7)
  2521. for i = 1, 9 do
  2522. wait(.1)
  2523. gtrace.Transparency = gtrace.Transparency + .1
  2524. end
  2525. gtrace:Destroy()
  2526. end)
  2527. gdisp()
  2528. end
  2529.  
  2530. end
  2531.  
  2532.  
  2533. function Smash4()
  2534. for i = 1, 15 do
  2535. local gtrace = Instance.new("Part",game.Workspace)
  2536. gtrace.BrickColor = gprop[1]
  2537. gtrace.Material = gprop[2]
  2538. gtrace.Size = Vector3.new(19,19,19)
  2539. gtrace.Anchored = true
  2540. gtrace.CanCollide = false
  2541. 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)))
  2542. local gdisp = coroutine.wrap(function()
  2543. wait(7)
  2544. for i = 1, 9 do
  2545. wait(.1)
  2546. gtrace.Transparency = gtrace.Transparency + .1
  2547. end
  2548. gtrace:Destroy()
  2549. end)
  2550. gdisp()
  2551. end
  2552.  
  2553. end
  2554.  
  2555. function Smash5()
  2556. for i = 1, 15 do
  2557. local gtrace = Instance.new("Part",game.Workspace)
  2558. gtrace.BrickColor = gprop[1]
  2559. gtrace.Material = gprop[2]
  2560. gtrace.Size = Vector3.new(19,19,19)
  2561. gtrace.Anchored = true
  2562. gtrace.CanCollide = false
  2563. 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)))
  2564. local gdisp = coroutine.wrap(function()
  2565. wait(7)
  2566. for i = 1, 9 do
  2567. wait(.1)
  2568. gtrace.Transparency = gtrace.Transparency + .1
  2569. end
  2570. gtrace:Destroy()
  2571. end)
  2572. gdisp()
  2573. end
  2574.  
  2575. end
  2576.  
  2577. function Smash6()
  2578. for i = 1, 15 do
  2579. local gtrace = Instance.new("Part",game.Workspace)
  2580. gtrace.BrickColor = gprop[1]
  2581. gtrace.Material = gprop[2]
  2582. gtrace.Size = Vector3.new(19,19,19)
  2583. gtrace.Anchored = true
  2584. gtrace.CanCollide = false
  2585. 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)))
  2586. local gdisp = coroutine.wrap(function()
  2587. wait(7)
  2588. for i = 1, 9 do
  2589. wait(.1)
  2590. gtrace.Transparency = gtrace.Transparency + .1
  2591. end
  2592. gtrace:Destroy()
  2593. end)
  2594. gdisp()
  2595. end
  2596.  
  2597. end
  2598.  
  2599.  
  2600. for i,v in pairs(FindNearestTorso(tors.CFrame.p,99))do
  2601. if v:FindFirstChild('Humanoid') then
  2602. v.Humanoid:TakeDamage(math.random(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999))
  2603. v.Humanoid.PlatformStand = true
  2604. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 600
  2605. end
  2606. end
  2607.  
  2608.  
  2609. function HeavenSmash()
  2610.  
  2611.  
  2612. if activu == true or selected == false then
  2613. return
  2614. end
  2615. coroutine.resume(coroutine.create(function()
  2616. fglow(lleg.Glow, 19)
  2617. fglow(rleg.Glow, 19)
  2618. fglow(rarm.Glow, 19)
  2619. fglow(larm.Glow, 19)
  2620. fglow(head.Glow, 19)
  2621. fglow(tors.Glow, 19)
  2622. end))
  2623. activu = true
  2624. local pe = Instance.new("ParticleEmitter")
  2625. pe.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2626. pe.LightEmission = 0.9
  2627. pe.Size = NumberSequence.new(0.5)
  2628. pe.Texture = "rbxassetid://272050333"
  2629. pe.Transparency = NumberSequence.new(0.1)
  2630. pe.Lifetime = NumberRange.new(0.1)
  2631. pe.Rate = 250
  2632. pe.RotSpeed = NumberRange.new(360)
  2633. pe.Speed = NumberRange.new(3)
  2634. pe.VelocitySpread = 360
  2635. pe.Parent = lleg.Glow
  2636. local pea = pe:Clone()
  2637. pea.Parent = lleg.Glow
  2638. local pe2 = Instance.new("ParticleEmitter")
  2639. pe2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2640. pe2.LightEmission = 0.9
  2641. pe2.Size = NumberSequence.new(5)
  2642. pe2.Texture = "rbxassetid://516107903"
  2643. pe2.Transparency = NumberSequence.new(0.4)
  2644. pe2.ZOffset = 2
  2645. pe2.Enabled = true
  2646. pe2.LockedToPart = true
  2647. pe2.Lifetime = NumberRange.new(0.07)
  2648. pe2.Rate = 8
  2649. pe2.Rotation = NumberRange.new(0, 360)
  2650. pe2.RotSpeed = NumberRange.new(0)
  2651. pe2.Speed = NumberRange.new(0)
  2652. pe2.VelocitySpread = 180
  2653. pe2.Parent = lleg.Glow
  2654. local pea2 = pe2:Clone()
  2655. pea2.Parent = lleg.Glow
  2656.  
  2657.  
  2658.  
  2659. local pet = Instance.new("ParticleEmitter")
  2660. pet.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2661. pet.LightEmission = 0.9
  2662. pet.Size = NumberSequence.new(0.5)
  2663. pet.Texture = "rbxassetid://272050333"
  2664. pet.Transparency = NumberSequence.new(0.1)
  2665. pet.Lifetime = NumberRange.new(0.1)
  2666. pet.Rate = 1
  2667. pet.RotSpeed = NumberRange.new(360)
  2668. pet.Speed = NumberRange.new(3)
  2669. pet.VelocitySpread = 360
  2670. pet.Parent = rarm.Glow
  2671. local pet2 = Instance.new("ParticleEmitter")
  2672. pet2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2673. pet2.LightEmission = 0.9
  2674. pet2.Size = NumberSequence.new(5)
  2675. pet2.Texture = "rbxassetid://516107903"
  2676. pet2.Transparency = NumberSequence.new(0.4)
  2677. pet2.ZOffset = 2
  2678. pet2.Enabled = false
  2679. pet2.LockedToPart = true
  2680. pet2.Lifetime = NumberRange.new(0.07)
  2681. pet2.Rate = 8
  2682. pet2.Rotation = NumberRange.new(0, 360)
  2683. pet2.RotSpeed = NumberRange.new(0)
  2684. pet2.Speed = NumberRange.new(0)
  2685. pet2.VelocitySpread = 180
  2686. pet2.Parent = rarm.Glow
  2687.  
  2688.  
  2689.  
  2690. local petl = Instance.new("ParticleEmitter")
  2691. petl.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2692. petl.LightEmission = 0.9
  2693. petl.Size = NumberSequence.new(0.5)
  2694. petl.Texture = "rbxassetid://272050333"
  2695. petl.Transparency = NumberSequence.new(0.1)
  2696. petl.Lifetime = NumberRange.new(0.1)
  2697. petl.Rate = 1
  2698. petl.RotSpeed = NumberRange.new(360)
  2699. petl.Speed = NumberRange.new(3)
  2700. petl.VelocitySpread = 360
  2701. petl.Parent = larm.Glow
  2702. local petl2 = Instance.new("ParticleEmitter")
  2703. petl2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2704. petl2.LightEmission = 0.9
  2705. petl2.Size = NumberSequence.new(5)
  2706. petl2.Texture = "rbxassetid://516107903"
  2707. petl2.Transparency = NumberSequence.new(0.4)
  2708. petl2.ZOffset = 2
  2709. petl2.Enabled = false
  2710. petl2.LockedToPart = true
  2711. petl2.Lifetime = NumberRange.new(0.07)
  2712. petl2.Rate = 8
  2713. petl2.Rotation = NumberRange.new(0, 360)
  2714. petl2.RotSpeed = NumberRange.new(0)
  2715. petl2.Speed = NumberRange.new(0)
  2716. petl2.VelocitySpread = 180
  2717. petl2.Parent = larm.Glow
  2718.  
  2719.  
  2720. local petl3 = Instance.new("ParticleEmitter")
  2721. petl3.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2722. petl3.LightEmission = 0.9
  2723. petl3.Size = NumberSequence.new(0.5)
  2724. petl3.Texture = "rbxassetid://272050333"
  2725. petl3.Transparency = NumberSequence.new(0.1)
  2726. petl3.Lifetime = NumberRange.new(0.1)
  2727. petl3.Rate = 1
  2728. petl3.RotSpeed = NumberRange.new(360)
  2729. petl3.Speed = NumberRange.new(3)
  2730. petl3.VelocitySpread = 360
  2731. petl3.Parent = head.Glow
  2732. local petl23 = Instance.new("ParticleEmitter")
  2733. petl23.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2734. petl23.LightEmission = 0.9
  2735. petl23.Size = NumberSequence.new(5)
  2736. petl23.Texture = "rbxassetid://516107903"
  2737. petl23.Transparency = NumberSequence.new(0.4)
  2738. petl23.ZOffset = 2
  2739. petl23.Enabled = false
  2740. petl23.LockedToPart = true
  2741. petl23.Lifetime = NumberRange.new(0.07)
  2742. petl23.Rate = 8
  2743. petl23.Rotation = NumberRange.new(0, 360)
  2744. petl23.RotSpeed = NumberRange.new(0)
  2745. petl23.Speed = NumberRange.new(0)
  2746. petl23.VelocitySpread = 180
  2747. petl23.Parent = head.Glow
  2748.  
  2749.  
  2750.  
  2751. local petl34 = Instance.new("ParticleEmitter")
  2752. petl34.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2753. petl34.LightEmission = 0.9
  2754. petl34.Size = NumberSequence.new(0.5)
  2755. petl34.Texture = "rbxassetid://272050333"
  2756. petl34.Transparency = NumberSequence.new(0.1)
  2757. petl34.Lifetime = NumberRange.new(0.1)
  2758. petl34.Rate = 1
  2759. petl34.RotSpeed = NumberRange.new(360)
  2760. petl34.Speed = NumberRange.new(3)
  2761. petl34.VelocitySpread = 360
  2762. petl34.Parent = rleg.Glow
  2763. local petl234 = Instance.new("ParticleEmitter")
  2764. petl234.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2765. petl234.LightEmission = 0.9
  2766. petl234.Size = NumberSequence.new(5)
  2767. petl234.Texture = "rbxassetid://516107903"
  2768. petl234.Transparency = NumberSequence.new(0.4)
  2769. petl234.ZOffset = 2
  2770. petl234.Enabled = false
  2771. petl234.LockedToPart = true
  2772. petl234.Rate = 8
  2773. petl234.Rotation = NumberRange.new(0, 360)
  2774. petl234.RotSpeed = NumberRange.new(0)
  2775. petl234.Speed = NumberRange.new(0)
  2776. petl234.VelocitySpread = 180
  2777. petl234.Parent = rleg.Glow
  2778.  
  2779.  
  2780. local petl345 = Instance.new("ParticleEmitter")
  2781. petl345.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2782. petl345.LightEmission = 0.9
  2783. petl345.Size = NumberSequence.new(0.5)
  2784. petl345.Texture = "rbxassetid://272050333"
  2785. petl345.Transparency = NumberSequence.new(0.1)
  2786. petl345.Lifetime = NumberRange.new(0.1)
  2787. petl345.Rate = 1
  2788. petl345.RotSpeed = NumberRange.new(360)
  2789. petl345.Speed = NumberRange.new(3)
  2790. petl345.VelocitySpread = 360
  2791. petl345.Parent = tors.Glow
  2792. local petl2345 = Instance.new("ParticleEmitter")
  2793. petl2345.Color = ColorSequence.new(Color3.new(255, 0, 0))
  2794. petl2345.LightEmission = 0.9
  2795. petl2345.Size = NumberSequence.new(5)
  2796. petl2345.Texture = "rbxassetid://516107903"
  2797. petl2345.Transparency = NumberSequence.new(0.4)
  2798. petl2345.ZOffset = 2
  2799. petl2345.Enabled = false
  2800. petl2345.LockedToPart = true
  2801. petl2345.Rate = 8
  2802. petl2345.Rotation = NumberRange.new(0, 360)
  2803. petl2345.RotSpeed = NumberRange.new(0)
  2804. petl2345.Speed = NumberRange.new(0)
  2805. petl2345.VelocitySpread = 180
  2806. petl2345.Parent = tors.Glow
  2807. human.WalkSpeed = 0
  2808. so("http://www.roblox.com/asset/?id=169445572",head,1.5,1.5)
  2809. so("http://www.roblox.com/asset/?id=169380495",head,1.5,1.5)
  2810. for l = 1, 30 do
  2811. swait()
  2812. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.5) * ang(rd(6), rd(0), rd(0)), 0.02 + l / 40)
  2813. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(12), rd(0), rd(0)), 0.02 + l / 40)
  2814. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-8), rd(-7), rd(-10)), 0.02 + l / 40)
  2815. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2816. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-8), rd(7), rd(10)), 0.02 + l / 40)
  2817. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2818. lerpz(RH, "C0", RHC0 * cf(0.4, 0.5, 0) * ang(rd(0), rd(-6), rd(8)), 0.02 + l / 40)
  2819. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2820. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(3), rd(0), rd(42)), 0.02 + l / 40)
  2821. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.02 + l / 40)
  2822. end
  2823.  
  2824.  
  2825. resetlerp()
  2826.  
  2827. BV = Instance.new("BodyVelocity", tors)
  2828. BV.maxForce = Vector3.new(0,200000,0)
  2829. BV.P = 100000
  2830. BV.velocity = Vector3.new(0,150,0)
  2831. local rng = Instance.new("Part", chr)
  2832. rng.Anchored = true
  2833. rng.BrickColor = BrickColor.new("Crimson")
  2834. rng.CanCollide = false
  2835. rng.FormFactor = 3
  2836. rng.Name = "Ring"
  2837. rng.Size = Vector3.new(1, 1, 1)
  2838. rng.Transparency = 0.5
  2839. rng.TopSurface = 0
  2840. rng.BottomSurface = 0
  2841. rng.Position = tors.Position - Vector3.new(0,2,0)
  2842. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2843. local rngm = Instance.new("SpecialMesh", rng)
  2844. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2845. rngm.Scale = Vector3.new(10, 10, 20)
  2846. x = Instance.new("Sound",tors)
  2847. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  2848. x.Looped = false
  2849. x.Pitch = .7
  2850. x.Volume = 30
  2851. x:Play()
  2852. coroutine.wrap(function()
  2853. for i = 1, 60, 8 do
  2854. rngm.Scale = Vector3.new(10.20 + i*10.10, 10.20 + i*10.10, 10)
  2855. rng.Transparency = i/60
  2856. wait()
  2857. end
  2858. wait()
  2859. rng:Destroy()
  2860. end)()
  2861. wait(2.6)
  2862. BV:Destroy()
  2863. tors.Anchored = true
  2864. wait(3.2)
  2865. tors.Anchored = false
  2866. BV = Instance.new("BodyVelocity", tors)
  2867. BV.maxForce = Vector3.new(0,-20000,0)
  2868. BV.P = 1000
  2869. BV.velocity = Vector3.new(0,-150,0)
  2870. wait(1)
  2871. BV:Destroy()
  2872. wait(0.01)
  2873.  
  2874. human.WalkSpeed = 0
  2875. boom3:Play()
  2876.  
  2877. Smash()
  2878. Smash2()
  2879. Smash3()
  2880. Ring()
  2881. pe:Destroy()
  2882. pea:Destroy()
  2883. pea2:Destroy()
  2884. pe2:Destroy()
  2885. wait(2)
  2886. human.WalkSpeed = 16
  2887. activu = false
  2888. end
  2889.  
  2890.  
  2891.  
  2892. sound = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
  2893. sound.SoundId = "rbxassetid://220025776"
  2894. sound.Volume = 6
  2895.  
  2896. sound2 = Instance.new("Sound", game.Players.LocalPlayer.Character["Torso"])
  2897. sound2.SoundId = "rbxassetid://386946017"
  2898. sound2.Volume = 6
  2899.  
  2900. sound3 = Instance.new("Sound", game.Players.LocalPlayer.Character)
  2901. sound3.SoundId = "rbxassetid://165969964"
  2902. sound3.Volume = 6
  2903.  
  2904. function rip()
  2905. activu = true
  2906. local detect = Instance.new("Part", game.Players.LocalPlayer.Character)
  2907. detect.Size = Vector3.new(1,1,1)
  2908. detect:BreakJoints()
  2909. detect.CanCollide = false
  2910. local weld = Instance.new("Weld", detect)
  2911. weld.Part0 = game.Players.LocalPlayer.Character["Torso"]
  2912. weld.Part1 = detect
  2913. weld.C0 = weld.C0 * CFrame.new(0,-1,0)
  2914.  
  2915.  
  2916.  
  2917. local function attack(prt)
  2918. local humanoid = prt.Parent:findFirstChild("Humanoid")
  2919. if humanoid ~= nil then
  2920. local torso = prt.Parent:findFirstChild("Torso")
  2921.  
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928. function KABOOMZ3()
  2929. local effspwn = Instance.new("Part")
  2930. coroutine.resume(coroutine.create(function()
  2931. local sound1 = Instance.new("Sound")
  2932. sound1.SoundId = "rbxassetid://138137702"
  2933. sound1.MaxDistance = 300
  2934. sound1.EmitterSize = 20
  2935. sound1.Volume = 2.5
  2936. sound1.Pitch = 0.65
  2937. sound1.Parent = effspwn
  2938. local sound2 = Instance.new("Sound")
  2939. sound2.SoundId = "rbxassetid://157878578"
  2940. sound2.MaxDistance = 300
  2941. sound2.EmitterSize = 20
  2942. sound2.Volume = 1
  2943. sound2.Pitch = 0.7
  2944. sound2.Parent = effspwn
  2945. local sound3 = Instance.new("Sound")
  2946. sound3.SoundId = "rbxassetid://138250406"
  2947. sound2.MaxDistance = 400
  2948. sound2.EmitterSize = 30
  2949. sound2.Volume = 0.5
  2950. sound2.Pitch = 0.5
  2951. sound2.Parent = effspwn
  2952. sound2:Play()
  2953. wait()
  2954. sound1:Play()
  2955. sound3:Play()
  2956. end))
  2957. local model = Instance.new("Model")
  2958. game.Debris:AddItem(model, 20)
  2959. model.Name = "smasheffects"
  2960. model.Parent = workspace
  2961. effspwn.Name = "spwnr"
  2962. effspwn.Size = Vector3.new(1, 1, 1)
  2963. effspwn.Anchored = true
  2964. effspwn.CanCollide = false
  2965. effspwn.Transparency = 1
  2966. effspwn.CFrame = torso.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  2967. effspwn.Parent = model
  2968.  
  2969.  
  2970.  
  2971.  
  2972.  
  2973. Crater(head,60)
  2974. Crater(head,120)
  2975.  
  2976. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  2977. if v:FindFirstChild('Humanoid') then
  2978. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  2979. v.Humanoid.PlatformStand = true
  2980. v:FindFirstChild("Torso").Velocity = head.CFrame.lookVector * 200
  2981. end
  2982. end
  2983.  
  2984. coroutine.resume(coroutine.create(function()
  2985. local shok = Instance.new("Part")
  2986. shok.Name = "whoosh"
  2987. shok.BrickColor = BrickColor.new("Crimson")
  2988. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2989. shok.Size = Vector3.new(1, 1, 1)
  2990. shok.Anchored = true
  2991. shok.Material = "Neon"
  2992. shok.Transparency = 0.1
  2993. shok.CanCollide = false
  2994. shok.Parent = model
  2995. game.Debris:AddItem(shok, 12)
  2996. local mesh = Instance.new("SpecialMesh")
  2997. mesh.MeshType = "FileMesh"
  2998. mesh.MeshId = "rbxassetid://437347603"
  2999. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  3000. mesh.Parent = shok
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006. for e = 1, 8 do
  3007. wait()
  3008. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  3009. shok.Transparency = shok.Transparency + 0.035
  3010. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  3011. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  3012. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3013.  
  3014. end
  3015. for e = 1, 16 do
  3016. wait()
  3017. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  3018. shok.Transparency = shok.Transparency + 0.11
  3019. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  3020. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  3021. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3022.  
  3023. end
  3024. end))
  3025. coroutine.resume(coroutine.create(function()
  3026. local shok = Instance.new("Part")
  3027. shok.Name = "wring1"
  3028. shok.BrickColor = BrickColor.new("Crimson")
  3029. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  3030. shok.Size = Vector3.new(1, 1, 1)
  3031. shok.Anchored = true
  3032. shok.Material = "Neon"
  3033. shok.Transparency = 0.25
  3034. shok.CanCollide = false
  3035. shok.Parent = model
  3036. game.Debris:AddItem(shok, 12)
  3037. local mesh = Instance.new("SpecialMesh")
  3038. mesh.MeshType = "FileMesh"
  3039. mesh.MeshId = "rbxassetid://3270017"
  3040. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  3041. mesh.Parent = shok
  3042. for e = 1, 30 do
  3043. wait()
  3044. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  3045. shok.Transparency = shok.Transparency + 0.002
  3046. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3047. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  3048. end
  3049. for e = 1, 38 do
  3050. wait()
  3051. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  3052. shok.Transparency = shok.Transparency + 0.002
  3053. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3054. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  3055. end
  3056. for e = 1, 24 do
  3057. wait()
  3058. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  3059. shok.Transparency = shok.Transparency + 0.03
  3060. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3061. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  3062. end
  3063. end))
  3064. coroutine.resume(coroutine.create(function()
  3065. local shok = Instance.new("Part")
  3066. shok.Name = "wring2"
  3067. shok.BrickColor = BrickColor.new("Crimson")
  3068. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  3069. shok.Size = Vector3.new(1, 1, 1)
  3070. shok.Anchored = true
  3071. shok.Material = "Neon"
  3072. shok.Transparency = 0.25
  3073. shok.CanCollide = false
  3074. shok.Parent = model
  3075. game.Debris:AddItem(shok, 12)
  3076. local mesh = Instance.new("SpecialMesh")
  3077. mesh.MeshType = "FileMesh"
  3078. mesh.MeshId = "rbxassetid://3270017"
  3079. mesh.Scale = Vector3.new(12, 12, 0.05)
  3080. mesh.Parent = shok
  3081. for e = 1, 30 do
  3082. wait()
  3083. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  3084. shok.Transparency = shok.Transparency + 0.002
  3085. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3086. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  3087. end
  3088. for e = 1, 38 do
  3089. wait()
  3090. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  3091. shok.Transparency = shok.Transparency + 0.002
  3092. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3093. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  3094. end
  3095. for e = 1, 24 do
  3096. wait()
  3097. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  3098. shok.Transparency = shok.Transparency + 0.03
  3099. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3100. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  3101. end
  3102. end))
  3103. coroutine.resume(coroutine.create(function()
  3104. local shok = Instance.new("Part")
  3105. shok.Name = "coil1"
  3106. shok.BrickColor = BrickColor.new("Crimson")
  3107. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3108. shok.Size = Vector3.new(1, 1, 1)
  3109. shok.Anchored = true
  3110. shok.Material = "Neon"
  3111. shok.Transparency = 0.25
  3112. shok.CanCollide = false
  3113. shok.Parent = model
  3114. game.Debris:AddItem(shok, 12)
  3115. local mesh = Instance.new("SpecialMesh")
  3116. mesh.MeshType = "FileMesh"
  3117. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3118. mesh.Scale = Vector3.new(12, 12, 12)
  3119. mesh.Parent = shok
  3120. for e = 1, 15 do
  3121. wait()
  3122. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3123. shok.Transparency = shok.Transparency + 0.004
  3124. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3125. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3126. end
  3127. for e = 1, 16 do
  3128. wait()
  3129. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3130. shok.Transparency = shok.Transparency + 0.004
  3131. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3132. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3133. end
  3134. for e = 1, 12 do
  3135. wait()
  3136. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3137. shok.Transparency = shok.Transparency + 0.06
  3138. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3139. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3140. end
  3141. end))
  3142. coroutine.resume(coroutine.create(function()
  3143. local shok = Instance.new("Part")
  3144. shok.Name = "coil2"
  3145. shok.BrickColor = BrickColor.new("Crimson")
  3146. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3147. shok.Size = Vector3.new(1, 1, 1)
  3148. shok.Anchored = true
  3149. shok.Material = "Neon"
  3150. shok.Transparency = 0.25
  3151. shok.CanCollide = false
  3152. shok.Parent = model
  3153. game.Debris:AddItem(shok, 12)
  3154. local mesh = Instance.new("SpecialMesh")
  3155. mesh.MeshType = "FileMesh"
  3156. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3157. mesh.Scale = Vector3.new(6, 12, 6)
  3158. mesh.Parent = shok
  3159. for e = 1, 15 do
  3160. wait()
  3161. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  3162. shok.Transparency = shok.Transparency + 0.005
  3163. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3164. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  3165. end
  3166. for e = 1, 16 do
  3167. wait()
  3168. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  3169. shok.Transparency = shok.Transparency + 0.005
  3170. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3171. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  3172. end
  3173. for e = 1, 12 do
  3174. wait()
  3175. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  3176. shok.Transparency = shok.Transparency + 0.09
  3177. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3178. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  3179. end
  3180. end))
  3181. coroutine.resume(coroutine.create(function()
  3182. local shok = Instance.new("Part")
  3183. shok.Name = "shokwve"
  3184. shok.BrickColor = BrickColor.new("Crimson")
  3185. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  3186. shok.Size = Vector3.new(1, 1, 1)
  3187. shok.Anchored = true
  3188. shok.Material = "Neon"
  3189. shok.Transparency = 0.6
  3190. shok.CanCollide = false
  3191. shok.Parent = model
  3192. game.Debris:AddItem(shok, 12)
  3193. local mesh = Instance.new("SpecialMesh")
  3194. mesh.MeshType = "FileMesh"
  3195. mesh.MeshId = "rbxassetid://489415447"
  3196. mesh.Scale = Vector3.new(1, 1, 1)
  3197. mesh.Parent = shok
  3198. for e = 1, 12 do
  3199. wait()
  3200. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  3201. shok.Transparency = shok.Transparency + 0.002
  3202. end
  3203. for e = 1, 32 do
  3204. wait()
  3205. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  3206. shok.Transparency = shok.Transparency + 0.002
  3207. end
  3208. for e = 1, 24 do
  3209. wait()
  3210. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  3211. shok.Transparency = shok.Transparency + 0.03
  3212. end
  3213. end))
  3214. coroutine.resume(coroutine.create(function()
  3215. local shok = Instance.new("Part")
  3216. shok.Name = "shock2"
  3217. shok.BrickColor = BrickColor.new("Crimson")
  3218. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3219. shok.Size = Vector3.new(1, 1, 1)
  3220. shok.Anchored = true
  3221. shok.Material = "Neon"
  3222. shok.Transparency = 0.35
  3223. shok.CanCollide = false
  3224. shok.Parent = model
  3225. game.Debris:AddItem(shok, 12)
  3226. local mesh = Instance.new("SpecialMesh")
  3227. mesh.MeshType = "FileMesh"
  3228. mesh.MeshId = "rbxassetid://489415447"
  3229. mesh.Scale = Vector3.new(12, 12, 12)
  3230. mesh.Parent = shok
  3231. for e = 1, 15 do
  3232. wait()
  3233. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3234. shok.Transparency = shok.Transparency + 0.004
  3235. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3236. end
  3237. for e = 1, 16 do
  3238. wait()
  3239. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3240. shok.Transparency = shok.Transparency + 0.004
  3241. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3242. end
  3243. for e = 1, 12 do
  3244. wait()
  3245. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3246. shok.Transparency = shok.Transparency + 0.06
  3247. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3248. end
  3249. end))
  3250. coroutine.resume(coroutine.create(function()
  3251. local shok = Instance.new("Part")
  3252. shok.Name = "shock3"
  3253. shok.BrickColor = BrickColor.new("Crimson")
  3254. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3255. shok.Size = Vector3.new(1, 1, 1)
  3256. shok.Anchored = true
  3257. shok.Material = "Neon"
  3258. shok.Transparency = 0.35
  3259. shok.CanCollide = false
  3260. shok.Parent = model
  3261. game.Debris:AddItem(shok, 12)
  3262. local mesh = Instance.new("SpecialMesh")
  3263. mesh.MeshType = "FileMesh"
  3264. mesh.MeshId = "rbxassetid://489415447"
  3265. mesh.Scale = Vector3.new(12, 12, 12)
  3266. mesh.Parent = shok
  3267. for e = 1, 15 do
  3268. wait()
  3269. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3270. shok.Transparency = shok.Transparency + 0.004
  3271. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3272. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3273. end
  3274. for e = 1, 16 do
  3275. wait()
  3276. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3277. shok.Transparency = shok.Transparency + 0.004
  3278. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3279. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3280. end
  3281. for e = 1, 12 do
  3282. wait()
  3283. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  3284. shok.Transparency = shok.Transparency + 0.06
  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. end))
  3289. end
  3290.  
  3291.  
  3292.  
  3293. if torso ~= nil then
  3294. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  3295. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  3296. for i = 1,5 do
  3297. wait()
  3298. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.25)
  3299. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.25)
  3300. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.25,0,0)
  3301. end
  3302. sound:Play()
  3303. local bodyVel = Instance.new("BodyPosition", torso)
  3304. bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,1000,0)
  3305. bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3306. wait(2)
  3307. torso.Anchored = true
  3308. for i = 1,5 do
  3309. wait()
  3310. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
  3311. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
  3312. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
  3313. end
  3314. for i = 1,5 do
  3315. wait()
  3316. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.08)
  3317. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.08,0,0)
  3318. end
  3319. wait(1)
  3320. local bodyvel = Instance.new("BodyPosition" , game.Players.LocalPlayer.Character.Torso)
  3321. bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3322. bodyvel.Position = torso.Position
  3323. for i = 1,5 do
  3324. wait()
  3325. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0)
  3326. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.08)
  3327. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.15,0,0)
  3328. end
  3329. wait(2)
  3330. bodyVel:destroy()
  3331. game.Players.LocalPlayer.Character.Torso.Anchored = true
  3332. torso.Anchored = false
  3333. humanoid.PlatformStand = true
  3334. local bodyVel = Instance.new("BodyPosition", torso)
  3335. bodyVel.Position = game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,1000,0)
  3336. bodyVel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3337. sound2:Play()
  3338.  
  3339. wait(1.2)
  3340. game.Players.LocalPlayer.Character.Torso.Anchored = false
  3341. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3342. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3343. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3344. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3345. activu = false
  3346. wait(0.5)
  3347. bodyvel:destroy()
  3348. local ROW3 = function(out, trans, s, wt, t, ang, plus)
  3349. for i = 1, 360, 360/t do
  3350. local c = Instance.new("Part", game.Workspace)
  3351. c.FormFactor = 3
  3352. c.TopSurface = 0
  3353. c.BottomSurface = 0
  3354. c.Size = s
  3355. c.Anchored = true
  3356. c.CanCollide = wt
  3357. c.Material=workspace.Base.Material
  3358. c.Transparency = trans
  3359. c.BrickColor = workspace.Base.BrickColor
  3360. 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
  3361. c.Locked=true
  3362. game.Debris:AddItem(c,25)
  3363. end
  3364. end
  3365.  
  3366.  
  3367.  
  3368.  
  3369. sound3:Play()
  3370. 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)
  3371. game.Players.LocalPlayer.Character.Torso.Anchored = true
  3372. KABOOMZ3()
  3373. wait(0.1)
  3374.  
  3375. game.Players.LocalPlayer.Character.Torso.Anchored = false
  3376. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  3377. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  3378.  
  3379.  
  3380. end
  3381. end
  3382. end
  3383. detect.Touched:connect(attack)
  3384. wait(0.1)
  3385. detect:destroy()
  3386. activu = false
  3387. end
  3388.  
  3389.  
  3390.  
  3391. function hito(partoz, magn, dmg, debtim)
  3392. for _, guy in pairs(workspace:GetChildren()) do
  3393. 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
  3394. do
  3395. local humz = guy:FindFirstChild("Humanoid")
  3396. local hed = guy:FindFirstChild("Head")
  3397. humz:TakeDamage(dmg)
  3398. local db = Instance.new("StringValue")
  3399. db.Name = "alabo"
  3400. db.Parent = hed
  3401. delay(debtim, function()
  3402. db:Destroy()
  3403. end)
  3404. end
  3405. end
  3406. end
  3407. end
  3408. function animo(yep)
  3409. if yep == true then
  3410. anim.Parent = human
  3411. chr.Animate.Disabled = false
  3412. elseif yep == false then
  3413. chr.Animate.Disabled = true
  3414. anim.Parent = nil
  3415. end
  3416. end
  3417. mouse.KeyDown:connect(function(key)
  3418. if key == "e" then
  3419. rsmash()
  3420. end
  3421. if key == "t" then
  3422. jum()
  3423. end
  3424. if key == "r" then
  3425. Tele()
  3426. end
  3427. if key == "q" then
  3428. Stom()
  3429. end
  3430. if key == "g" then
  3431. HeavenSmash()
  3432. end
  3433. if key == "h" then
  3434. rip()
  3435. end
  3436. end)
  3437. tool.Equipped:connect(function()
  3438. selected = true
  3439. end)
  3440. tool.Unequipped:connect(function()
  3441. selected = false
  3442. end)
  3443.  
  3444. p = game.Players.LocalPlayer
  3445. char = p.Character
  3446. local char = p.Character
  3447. torso = char.Torso
  3448. neck = char.Torso.Neck
  3449. hum = char.Humanoid
  3450.  
  3451. CV="Really red"
  3452.  
  3453. local txt = Instance.new("BillboardGui", char)
  3454. txt.Adornee = char .Head
  3455. txt.Name = "_status"
  3456. txt.Size = UDim2.new(2, 0, 1.2, 0)
  3457. txt.StudsOffset = Vector3.new(-9, 8, 0)
  3458. local text = Instance.new("TextLabel", txt)
  3459. text.Size = UDim2.new(10, 0, 7, 0)
  3460. text.FontSize = "Size24"
  3461. text.TextScaled = true
  3462. text.TextTransparency = 0
  3463. text.BackgroundTransparency = 1
  3464. text.TextTransparency = 0
  3465. text.TextStrokeTransparency = 0
  3466. text.Font = "Fantasy"
  3467. text.TextStrokeColor3 = Color3.new(0.7,0,0)
  3468.  
  3469. v=Instance.new("Part")
  3470. v.Name = "ColorBrick"
  3471. v.Parent=p.Character
  3472. v.FormFactor="Symmetric"
  3473. v.Anchored=true
  3474. v.CanCollide=false
  3475. v.BottomSurface="Smooth"
  3476. v.TopSurface="Smooth"
  3477. v.Size=Vector3.new(10,5,3)
  3478. v.Transparency=1
  3479. v.CFrame=char.Torso.CFrame
  3480. v.BrickColor=BrickColor.new(CV)
  3481. v.Transparency=1
  3482. text.TextColor3 = Color3.new(0.7,0,0)
  3483. v.Shape="Block"
  3484. text.Text = "Dave The Destroyer"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement