Upscalefanatic3

Custom Lightning Dragon

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