KilluaGod

Animation testing

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