simhwui

Untitled

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