Advertisement
Finnegan5

Boku no hero

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