Advertisement
Guest User

dbjfasd

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