Advertisement
Dark_EccentricYT

Untitled

Aug 29th, 2017 (edited)
12,246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 63.67 KB | None | 0 0
  1. local punched1 = true
  2. local punched2 = false
  3. local punched3 = false
  4. local punched4 = false
  5. local beamgo4 = 2.2
  6. local beamgo3 = 1
  7. local trans = 1
  8. local ssj1 = false
  9. local ssj2 = false
  10. local transforming1 = false
  11. local transforming2 = false
  12. local transforming3 = false
  13. local transforming4 = false
  14. local onaura = true
  15. local num = 0
  16. local enabled = true
  17. local beamgo = 2.2
  18. local beamgo1 = 1
  19. local p = game.Players.LocalPlayer
  20. local char = p.Character
  21. local mouse = p:GetMouse()
  22. local larm = char["Left Arm"]
  23. local rarm = char["Right Arm"]
  24. local lleg = char["Left Leg"]
  25. local rleg = char["Right Leg"]
  26. local hed = char.Head
  27. local torso = char.Torso
  28. local hum = char.Humanoid
  29. local root = char.HumanoidRootPart
  30. local canattack = true
  31. local canwalk = true
  32. local canwalk1 = true
  33. local canidle = true
  34. local rs = game:GetService("RunService").RenderStepped
  35. local new = Instance.new
  36. local v3 = Vector3.new
  37. local ns = NumberSequence.new
  38. local nr = NumberRange.new
  39. local bc = BrickColor.new
  40. local cf = CFrame.new
  41. local cfa = CFrame.Angles
  42. local rad = math.rad
  43. local startk = false
  44. local beam1 = false
  45. local beam2 = false
  46. for i,v in pairs(char:GetChildren()) do
  47. if v.ClassName == "Accessory" then
  48. v:Destroy()
  49. end
  50. end
  51. -----------------------------------
  52. --god/health
  53.  
  54. Instance.new("ForceField",char).Visible = false
  55. hum.MaxHealth = math.huge
  56. hum.Health = math.huge
  57. hum.Name = "nohit"
  58.  
  59. -----------------------------------
  60. function Lerp(c1,c2,al)
  61. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  62. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  63. for i,v in pairs(com1) do
  64. com1[i] = v+(com2[i]-v)*al
  65. end
  66. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  67. end
  68. ----------------------------------------------------------------------------------------------------
  69. --GoundWaves
  70. GroundWave1 = function()
  71. local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + torso.CFrame.lookVector * 5
  72. Colors = {"White", "White"}
  73. local wave = Instance.new("Part", char)
  74. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  75. wave.Anchored = true
  76. wave.Name = "Wave"
  77. wave.CanCollide = false
  78. wave.Locked = true
  79. wave.Size = Vector3.new(1, 1, 1)
  80. wave.TopSurface = "Smooth"
  81. wave.BottomSurface = "Smooth"
  82. wave.Transparency = 0.35
  83. wave.CFrame = HandCF
  84. wm = Instance.new("SpecialMesh", wave)
  85. wm.MeshId = "rbxassetid://3270017"
  86. coroutine.wrap(function()
  87. for i = 1, 30, 1 do
  88. wm.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  89. wave.Size = wm.Scale
  90. wave.CFrame = HandCF
  91. wave.Transparency = i/30
  92. wait()
  93. end
  94. wait()
  95. wave:Destroy()
  96. end)()
  97. end
  98. GroundWave2 = function()
  99. local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  100. Colors = {"White", "White"}
  101. local wave3 = Instance.new("Part", char)
  102. wave3.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  103. wave3.Anchored = true
  104. wave3.Name = "Wave"
  105. wave3.CanCollide = false
  106. wave3.Locked = true
  107. wave3.Size = Vector3.new(1, 1, 1)
  108. wave3.TopSurface = "Smooth"
  109. wave3.BottomSurface = "Smooth"
  110. wave3.Transparency = 0.35
  111. wave3.CFrame = HandCF
  112. wm1 = Instance.new("SpecialMesh", wave3)
  113. wm1.MeshId = "rbxassetid://3270017"
  114. coroutine.wrap(function()
  115. for i = 1, 30, 1 do
  116. wm1.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  117. wave3.Size = wm1.Scale
  118. wave3.CFrame = HandCF
  119. wave3.Transparency = i/30
  120. wait()
  121. end
  122. wait()
  123. wave3:Destroy()
  124. end)()
  125. end
  126. GroundWave3 = function()
  127. local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  128. Colors = {"White", "White"}
  129. local wave2 = Instance.new("Part", char)
  130. wave2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  131. wave2.Anchored = true
  132. wave2.Name = "Wave"
  133. wave2.CanCollide = false
  134. wave2.Locked = true
  135. wave2.Size = Vector3.new(1, 1, 1)
  136. wave2.TopSurface = "Smooth"
  137. wave2.BottomSurface = "Smooth"
  138. wave2.Transparency = 0.35
  139. wave2.CFrame = HandCF
  140. wm2 = Instance.new("SpecialMesh", wave2)
  141. wm2.MeshId = "rbxassetid://3270017"
  142. coroutine.wrap(function()
  143. for i = 1, 30, 1 do
  144. wm2.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  145. wave2.Size = wm2.Scale
  146. wave2.CFrame = HandCF
  147. wave2.Transparency = i/30
  148. wait()
  149. end
  150. wait()
  151. wave2:Destroy()
  152. end)()
  153. end
  154. GroundWave4 = function()
  155. local HandCF = char["Beam"..num].CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  156. Colors = {"White", "White"}
  157. local wave1 = Instance.new("Part", char)
  158. wave1.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  159. wave1.Anchored = true
  160. wave1.Name = "Wave"
  161. wave1.CanCollide = false
  162. wave1.Locked = true
  163. wave1.Size = Vector3.new(1, 1, 1)
  164. wave1.TopSurface = "Smooth"
  165. wave1.BottomSurface = "Smooth"
  166. wave1.Transparency = 0.35
  167. wave1.CFrame = HandCF
  168. wm3 = Instance.new("SpecialMesh", wave1)
  169. wm3.MeshId = "rbxassetid://3270017"
  170. coroutine.wrap(function()
  171. for i = 1, 30, 1 do
  172. wm3.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  173. wave1.Size = wm3.Scale
  174. wave1.CFrame = HandCF
  175. wave1.Transparency = i/30
  176. wait()
  177. end
  178. wait()
  179. wave1:Destroy()
  180. end)()
  181. end
  182. --------------------------------------------------------------------------
  183. --transform
  184. GroundWave5 = function()
  185. local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  186. Colors = {"New Yeller", "New Yeller"}
  187. local wave11 = Instance.new("Part", char)
  188. wave11.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  189. wave11.Anchored = true
  190. wave11.Name = "Wave"
  191. wave11.CanCollide = false
  192. wave11.Locked = true
  193. wave11.Size = Vector3.new(1, 1, 1)
  194. wave11.TopSurface = "Smooth"
  195. wave11.BottomSurface = "Smooth"
  196. wave11.Transparency = 0.35
  197. wave11.CFrame = HandCF
  198. wm31 = Instance.new("SpecialMesh", wave11)
  199. wm31.MeshId = "rbxassetid://3270017"
  200. coroutine.wrap(function()
  201. for i = 1, 30, 1 do
  202. wm31.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  203. wave11.Size = wm31.Scale
  204. wave11.CFrame = HandCF
  205. wave11.Transparency = i/30
  206. wait()
  207. end
  208. wait()
  209. wave11:Destroy()
  210. end)()
  211. end
  212. GroundWave6 = function()
  213. local HandCF = torso.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  214. Colors = {"New Yeller", "New Yeller"}
  215. local wave111 = Instance.new("Part", char)
  216. wave111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  217. wave111.Anchored = true
  218. wave111.Name = "Wave"
  219. wave111.CanCollide = false
  220. wave111.Locked = true
  221. wave111.Size = Vector3.new(1, 1, 1)
  222. wave111.TopSurface = "Smooth"
  223. wave111.BottomSurface = "Smooth"
  224. wave111.Transparency = 0.35
  225. wave111.CFrame = HandCF
  226. wm311 = Instance.new("SpecialMesh", wave111)
  227. wm311.MeshId = "rbxassetid://3270017"
  228. coroutine.wrap(function()
  229. for i = 1, 30, 1 do
  230. wm311.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  231. wave111.Size = wm311.Scale
  232. wave111.CFrame = HandCF
  233. wave111.Transparency = i/30
  234. wait()
  235. end
  236. wait()
  237. wave111:Destroy()
  238. end)()
  239. end
  240. GroundWave7 = function()
  241. local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
  242. Colors = {"New Yeller", "New Yeller"}
  243. local wave1111 = Instance.new("Part", char)
  244. wave1111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  245. wave1111.Anchored = true
  246. wave1111.Name = "Wave"
  247. wave1111.CanCollide = false
  248. wave1111.Locked = true
  249. wave1111.Size = Vector3.new(1, 1, 1)
  250. wave1111.TopSurface = "Smooth"
  251. wave1111.BottomSurface = "Smooth"
  252. wave1111.Transparency = 0.35
  253. wave1111.CFrame = HandCF
  254. wm3111 = Instance.new("SpecialMesh", wave1111)
  255. wm3111.MeshId = "rbxassetid://3270017"
  256. coroutine.wrap(function()
  257. for i = 1, 30, 1 do
  258. wm3111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  259. wave1111.Size = wm3111.Scale
  260. wave1111.CFrame = HandCF
  261. wave1111.Transparency = i/30
  262. wait()
  263. end
  264. wait()
  265. wave1111:Destroy()
  266. end)()
  267. end
  268. GroundWave8 = function()
  269. local HandCF = torso.CFrame * CFrame.Angles(math.rad(40), math.rad(90), math.rad(0))
  270. Colors = {"New Yeller", "New Yeller"}
  271. local wave11111 = Instance.new("Part", char)
  272. wave11111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  273. wave11111.Anchored = true
  274. wave11111.Name = "Wave"
  275. wave11111.CanCollide = false
  276. wave11111.Locked = true
  277. wave11111.Size = Vector3.new(1, 1, 1)
  278. wave11111.TopSurface = "Smooth"
  279. wave11111.BottomSurface = "Smooth"
  280. wave11111.Transparency = 0.35
  281. wave11111.CFrame = HandCF
  282. wm31111 = Instance.new("SpecialMesh", wave11111)
  283. wm31111.MeshId = "rbxassetid://3270017"
  284. coroutine.wrap(function()
  285. for i = 1, 30, 1 do
  286. wm31111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  287. wave11111.Size = wm31111.Scale
  288. wave11111.CFrame = HandCF
  289. wave11111.Transparency = i/30
  290. wait()
  291. end
  292. wait()
  293. wave11111:Destroy()
  294. end)()
  295. end
  296. GroundWave9 = function()
  297. local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(90), math.rad(40))
  298. Colors = {"New Yeller", "New Yeller"}
  299. local wave111111 = Instance.new("Part", char)
  300. wave111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  301. wave111111.Anchored = true
  302. wave111111.Name = "Wave"
  303. wave111111.CanCollide = false
  304. wave111111.Locked = true
  305. wave111111.Size = Vector3.new(1, 1, 1)
  306. wave111111.TopSurface = "Smooth"
  307. wave111111.BottomSurface = "Smooth"
  308. wave111111.Transparency = 0.35
  309. wave111111.CFrame = HandCF
  310. wm311111 = Instance.new("SpecialMesh", wave111111)
  311. wm311111.MeshId = "rbxassetid://3270017"
  312. coroutine.wrap(function()
  313. for i = 1, 30, 1 do
  314. wm311111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  315. wave111111.Size = wm311111.Scale
  316. wave111111.CFrame = HandCF
  317. wave111111.Transparency = i/30
  318. wait()
  319. end
  320. wait()
  321. wave111111:Destroy()
  322. end)()
  323. end
  324. GroundWave10 = function()
  325. local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  326. Colors = {"New Yeller", "New Yeller"}
  327. local wave1111111 = Instance.new("Part", char)
  328. wave1111111.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  329. wave1111111.Anchored = true
  330. wave1111111.Name = "Wave"
  331. wave1111111.CanCollide = false
  332. wave1111111.Locked = true
  333. wave1111111.Size = Vector3.new(1, 1, 1)
  334. wave1111111.TopSurface = "Smooth"
  335. wave1111111.BottomSurface = "Smooth"
  336. wave1111111.Transparency = 0.35
  337. wave1111111.CFrame = HandCF
  338. wm3111111 = Instance.new("SpecialMesh", wave1111111)
  339. wm3111111.MeshId = "rbxassetid://3270017"
  340. coroutine.wrap(function()
  341. for i = 1, 30, 1 do
  342. wm3111111.Scale = Vector3.new(5 + i*5.2, 3 + i*5.2, 5)
  343. wave1111111.Size = wm3111111.Scale
  344. wave1111111.CFrame = HandCF
  345. wave1111111.Transparency = i/30
  346. wait()
  347. end
  348. wait()
  349. wave1111111:Destroy()
  350. end)()
  351. end
  352. ----------------------------------------------------------------------------------------------------
  353. --Hair
  354.  
  355. a8 = new("Part",char)
  356. a8.Name = "Hair"
  357. a8.Size = v3(2.92, 2.58, 2.72)
  358. a8.BrickColor = bc("Really black")
  359. a8.Material = "Neon"
  360. a8.Transparency = 0
  361. aa8 = new("SpecialMesh",a8)
  362. aa8.MeshType = "FileMesh"
  363. aa8.Scale = v3(7.3,7.3,7.3)
  364. aa8.MeshId = "rbxassetid://455100513"
  365. aaa8 =new("Weld",a8)
  366. aaa8.Part0 = hed
  367. aaa8.Part1 = a8
  368. aaa8.C0 = cf(-0.15,.9,-0.1) * cfa(rad(0),rad(0),rad(0))
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378. --Clothes
  379. if char.Shirt == nil then
  380. Instance.new("Shirt",char)
  381. end
  382. if char.Pants == nil then
  383. Instance.new("Pants",char)
  384. end
  385. wait(0.5)
  386. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=295880138"
  387. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=295880753"
  388.  
  389. ------------------------------------------------------------------------------
  390. --Sounds
  391. --Folder
  392. soundfolder = Instance.new("Model",char)
  393. soundfolder.Name = "Sound Folder"
  394. --Sounds
  395. kamecharge = Instance.new("Sound",soundfolder)
  396. kamecharge.Volume = 10
  397. kamecharge.Name = "kamecharge"
  398. kamecharge.Looped = false
  399. kamecharge.SoundId = "rbxassetid://908489666"
  400. kamefire = Instance.new("Sound",soundfolder)
  401. kamefire.Volume = 10
  402. kamefire.Name = "kamefire"
  403. kamefire.Looped = false
  404. kamefire.SoundId = "rbxassetid://908474188"
  405. kamehit = Instance.new("Sound",soundfolder)
  406. kamehit.Volume = 30
  407. kamehit.Name = "kamehit"
  408. kamehit.Looped = false
  409. kamehit.SoundId = "rbxassetid://908484148"
  410. ssjaura = Instance.new("Sound",soundfolder)
  411. ssjaura.Volume = 10
  412. ssjaura.Name = "ssjaura"
  413. ssjaura.Looped = true
  414. ssjaura.SoundId = "rbxassetid://891397456"
  415. ssjauraburst = Instance.new("Sound",soundfolder)
  416. ssjauraburst.Volume = math.huge
  417. ssjauraburst.Name = "ssjauraburst"
  418. ssjauraburst.Looped =false
  419. ssjauraburst.SoundId = "rbxassetid://437393965"
  420. ssjmusic = Instance.new("Sound",soundfolder)
  421. ssjmusic.Volume = 10
  422. ssjmusic.Name = "ssjmusic"
  423. ssjmusic.Looped = true
  424. ssjmusic.SoundId = "rbxassetid://194135434"
  425. ssj2music = Instance.new("Sound",soundfolder)
  426. ssj2music.Volume = 10
  427. ssj2music.Name = "ssj2music"
  428. ssj2music.Looped = true
  429. ssj2music.SoundId = "rbxassetid://144377132"
  430. ssj2aura = Instance.new("Sound",soundfolder)
  431. ssj2aura.Volume = 10
  432. ssj2aura.Name = "ssj2aura"
  433. ssj2aura.Looped = true
  434. ssj2aura.SoundId = "rbxassetid://262498455"
  435. Lightning = Instance.new("Sound",soundfolder)
  436. Lightning.Volume = math.huge
  437. Lightning.Name = "Lightning"
  438. Lightning.Looped = false
  439. Lightning.SoundId = "rbxasset://sounds/HalloweenThunder.wav"
  440. fahersonstart = Instance.new("Sound",soundfolder)
  441. fahersonstart.Volume = math.huge
  442. fahersonstart.Name = "fahersonstart"
  443. fahersonstart.Looped = false
  444. fahersonstart.SoundId = "rbxassetid://958391048"
  445. fahersonend = Instance.new("Sound",soundfolder)
  446. fahersonend.Volume = math.huge
  447. fahersonend.Name = "fahersonend"
  448. fahersonend.Looped = false
  449. fahersonend.SoundId = "rbxassetid://958391222"
  450. punchsound = Instance.new("Sound",soundfolder)
  451. punchsound.Volume = 10
  452. punchsound.Name = "punchsound"
  453. punchsound.Looped = false
  454. punchsound.SoundId = "rbxassetid://896246498"
  455. punchsound1 = Instance.new("Sound",soundfolder)
  456. punchsound1.Volume = 10
  457. punchsound1.Name = "punchsound1"
  458. punchsound1.Looped = false
  459. punchsound1.SoundId = "rbxassetid://137579113"
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471. ----------------------------------------------------
  472. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  473. local wld = Instance.new("Weld", wp1)
  474. wld.Part0 = wp0
  475. wld.Part1 = wp1
  476. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  477. end
  478. newWeld(torso, larm, -1.5, 0.5, 0)
  479. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  480. newWeld(torso, rarm, 1.5, 0.5, 0)
  481. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  482. newWeld(torso, hed, 0, 1.5, 0)
  483. newWeld(torso, lleg, -0.5, -1, 0)
  484. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  485. newWeld(torso, rleg, 0.5, -1, 0)
  486. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  487. newWeld(root, torso, 0, -1, 0)
  488. torso.Weld.C1 = CFrame.new(0, -1, 0)
  489. --Animations
  490. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514. function firsthit()
  515. punchsound:Play()
  516.  
  517. for i = 1,5 do
  518. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
  519. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(0)), .5)--torso
  520. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(20)), .5)--arm
  521. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm
  522. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg
  523. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg
  524. wait()
  525. end
  526.  
  527.  
  528. ag = new("Part",char)
  529. ag.Name = "NewPart"
  530. ag.Size = v3(1,1,1)
  531. ag.CanCollide = false
  532. ag.Position = v3(999,999,999)
  533. ag.BrickColor = bc("Color")
  534. ag.Material = "Neon"
  535. ag.Transparency = 1
  536. aaag =new("Weld",ag)
  537. aaag.Part0 = rarm
  538. aaag.Part1 = ag
  539. aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0))
  540.  
  541.  
  542. ag.Touched:connect(function(hit)
  543. for i,v in pairs(hit.Parent:GetChildren()) do
  544. if v:IsA("Humanoid") then
  545. ag.TouchInterest:Destroy()
  546. if ssj1 == false and ssj2 == false then
  547. v.Health = v.Health - 10
  548. end
  549. if ssj1 == true and ssj2 == true then
  550. v.Health = v.Health - 20
  551. end
  552. if ssj1 == false and ssj2 == true then
  553. v.Health = v.Health - 30
  554. end
  555. punchsound1:Play()
  556.  
  557.  
  558.  
  559.  
  560. end
  561. end
  562. end)
  563.  
  564.  
  565.  
  566.  
  567. for i= 1,5 do
  568. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
  569. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(50), math.rad(0)), .5)--torso
  570. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-.8)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), .5)--arm
  571. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), .5)--arm
  572. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .5)--leg
  573. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg
  574. wait()
  575. end
  576. ag:Destroy()
  577. end
  578. function secondhit()
  579. punchsound:Play()
  580.  
  581. for i = 1,5 do
  582. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
  583. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(20), math.rad(0)), .5)--torso
  584. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm
  585. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), .5)--arm
  586. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg
  587. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg
  588. wait()
  589. end
  590.  
  591.  
  592.  
  593. ag = new("Part",char)
  594. ag.Name = "NewPart"
  595. ag.Size = v3(1,1,1)
  596. ag.CanCollide = false
  597. ag.Position = v3(999,999,999)
  598. ag.BrickColor = bc("Color")
  599. ag.Material = "Neon"
  600. ag.Transparency = 1
  601. aaag =new("Weld",ag)
  602. aaag.Part0 = larm
  603. aaag.Part1 = ag
  604. aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0))
  605.  
  606.  
  607.  
  608. ag.Touched:connect(function(hit)
  609. for i,v in pairs(hit.Parent:GetChildren()) do
  610. if v:IsA("Humanoid") then
  611. ag.TouchInterest:Destroy()
  612. if ssj1 == false and ssj2 == false then
  613. v.Health = v.Health - 10
  614. end
  615. if ssj1 == true and ssj2 == false then
  616. v.Health = v.Health - 20
  617. end
  618. if ssj1 == false and ssj2 == true then
  619. v.Health = v.Health - 30
  620. end
  621. punchsound1:Play()
  622.  
  623.  
  624.  
  625. end
  626. end
  627. end)
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636. for i= 1,5 do
  637. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
  638. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso
  639. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--arm
  640. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm
  641. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
  642. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
  643. wait()
  644. end
  645. ag:Destroy()
  646. end
  647. function thirdhit()
  648. punchsound:Play()
  649.  
  650. for i = 1,5 do
  651. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
  652. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-60), math.rad(0)), .5)--torso
  653. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), .5)--arm
  654. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm
  655. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg
  656. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg
  657. wait()
  658. end
  659.  
  660.  
  661. ag = new("Part",char)
  662. ag.Name = "NewPart"
  663. ag.Size = v3(1,1,1)
  664. ag.CanCollide = false
  665. ag.Position = v3(999,999,999)
  666. ag.BrickColor = bc("Color")
  667. ag.Material = "Neon"
  668. ag.Transparency = 1
  669. aaag =new("Weld",ag)
  670. aaag.Part0 = rleg
  671. aaag.Part1 = ag
  672. aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0))
  673.  
  674.  
  675.  
  676. ag.Touched:connect(function(hit)
  677. for i,v in pairs(hit.Parent:GetChildren()) do
  678. if v:IsA("Humanoid") then
  679. ag.TouchInterest:Destroy()
  680. if ssj1 == false and ssj2 == false then
  681. v.Health = v.Health - 10
  682. end
  683. if ssj1 == true and ssj2 == false then
  684. v.Health = v.Health - 20
  685. end
  686. if ssj1 == false and ssj2 == true then
  687. v.Health = v.Health - 30
  688. end
  689.  
  690. punchsound1:Play()
  691.  
  692.  
  693.  
  694. end
  695. end
  696. end)
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714. for i = 1,5 do
  715. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
  716. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(50), math.rad(0)), .5)--torso
  717. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), .5)--arm
  718. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm
  719. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg
  720. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(120), math.rad(20), math.rad(-30)),.5)--leg
  721. wait()
  722. end
  723. ag:Destroy()
  724. end
  725. function lasthit()
  726. punchsound:Play()
  727.  
  728. for i = 1,5 do
  729. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-40),math.rad(0)), .5)--head
  730. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(80), math.rad(0)), .5)--torso
  731. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), .5)--arm
  732. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), .5)--arm
  733. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
  734. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
  735. wait()
  736. end
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748. ag = new("Part",char)
  749. ag.Name = "NewPart"
  750. ag.Size = v3(1,1,1)
  751. ag.CanCollide = false
  752. ag.Position = v3(999,999,999)
  753. ag.BrickColor = bc("Color")
  754. ag.Material = "Neon"
  755. ag.Transparency = 1
  756. aaag =new("Weld",ag)
  757. aaag.Part0 = lleg
  758. aaag.Part1 = ag
  759. aaag.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0))
  760.  
  761.  
  762.  
  763. ag.Touched:connect(function(hit)
  764. for i,v in pairs(hit.Parent:GetChildren()) do
  765. if v:IsA("Humanoid") then
  766. ag.TouchInterest:Destroy()
  767. if ssj1 == false and ssj2 == false then
  768. v.Health = v.Health - 10
  769. end
  770. if ssj1 == true and ssj2 == false then
  771. v.Health = v.Health - 20
  772. end
  773. if ssj1 == false and ssj2 == true then
  774. v.Health = v.Health - 30
  775. end
  776.  
  777.  
  778. punchsound1:Play()
  779.  
  780.  
  781. end
  782. end
  783. end)
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792. for i = 1,5 do
  793. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(30),math.rad(0)), .5)--head
  794. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(-60), math.rad(0)), .5)--torso
  795. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), .5)--arm
  796. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--arm
  797. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.6) * CFrame.Angles(math.rad(120), math.rad(-30), math.rad(20)), .5)--leg
  798. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg
  799. wait()
  800. end
  801. ag:Destroy()
  802. end
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825. function startkamehameha()
  826. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--head
  827. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)--torso
  828. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--arm
  829. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--arm
  830. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)--leg
  831. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)--leg
  832.  
  833. for i = 1, 20 do
  834. wait()
  835. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)), 0.1)--head
  836. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.1)--torso
  837. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(30)), 0.1)--arm
  838. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(65),math.rad(0),math.rad(-30)), 0.1)--arm
  839. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-3)), 0.1)--leg
  840. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(3)), 0.1)--leg
  841. end
  842. for i = 1, 20 do
  843. wait()
  844.  
  845. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)), 0.1)--head
  846. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.1)--torso
  847. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.7,-0.5)*CFrame.Angles(math.rad(85),math.rad(-10),math.rad(-30)), 0.1)--arm
  848. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1,0.3,-0.5)*CFrame.Angles(math.rad(85),math.rad(10),math.rad(30)), 0.1)--arm
  849. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-3)), 0.1)--leg
  850. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(3)), 0.1)--leg
  851. end
  852. kamecharge:Play()
  853. startk = true
  854. for i = 1, 100 do
  855. wait()
  856. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.1)--head
  857. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), math.rad(5)), 0.1)--torso
  858. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.7,-0.5)*CFrame.Angles(math.rad(50),math.rad(-10),math.rad(-30)), 0.1)--arm
  859. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1,0.3,-0.5)*CFrame.Angles(math.rad(65),math.rad(10),math.rad(30)), 0.1)--arm
  860. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.1)--leg
  861. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 0.1)--leg
  862. end
  863. end
  864. function endkamehameha()
  865. for i = 1, 10 do
  866. wait()
  867. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)--head
  868. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)--torso
  869. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.7,-0.5)*CFrame.Angles(math.rad(95),math.rad(-10),math.rad(-30)), 0.5)--arm
  870. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1,0.3,-0.5)*CFrame.Angles(math.rad(75),math.rad(10),math.rad(30)), 0.5)--arm
  871. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.5)--leg
  872. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 0.5)--leg
  873. end
  874. end
  875. function fatherson()
  876. for i = 1,50 do
  877. wait()
  878. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .1)--head
  879. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .1)--torso
  880. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-0.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), .1)--arm
  881. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)), .1)--arm
  882. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), .1)--leg
  883. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), .1)--leg
  884. end
  885. wait(2)
  886. for i = 1,50 do
  887. wait()
  888. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(40),math.rad(0)), .1)--head
  889. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(-60), math.rad(0)), .1)--torso
  890. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0.5)*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(10)), .1)--arm
  891. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-20)), .1)--arm
  892. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), .1)--leg
  893. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(5)), .1)--leg
  894. end
  895. end
  896. function fathersonfire()
  897. for i = 1,10 do
  898. wait()
  899. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .4)--head
  900. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)--torso
  901. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), .4)--arm
  902. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-10)), .4)--arm
  903. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), .4)--leg
  904. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), .4)--leg
  905. end
  906. end
  907. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  908. a = new("Part",char)
  909. a.Name = "NewPart"
  910. a.Size = v3(0.1,0.1,0.1)
  911. a.Shape = "Ball"
  912. a.Position = v3(999,999,999)
  913. a.BrickColor = bc("bright Blue")
  914. a.Material = "Neon"
  915. a.Transparency = 1
  916. aa = new("SpecialMesh",a)
  917. aa.Scale = v3(1,1,1)
  918. aaa =new("Weld",a)
  919. aaa.Part0 = torso
  920. aaa.Part1 = a
  921. aaa.C0 = cf(0,0,-1.6) * cfa(rad(0),rad(0),rad(0))
  922. aaaa = new("ParticleEmitter",a)
  923. aaaa.Size = ns(1)
  924. aaaa.Rate = 5
  925. aaaa.Texture = "rbxassetid://246381828"
  926. aaaa.ZOffset = 1
  927. aaaa.Lifetime = nr(5)
  928. aaaa.Transparency = ns(1)
  929. aaaa.LockedToPart = true
  930. aaaa.Speed = nr(0)
  931. aw = new("Part",char)
  932. aw.Name = "NewPart"
  933. aw.Size = v3(0.1,0.1,0.1)
  934. aw.Shape = "Ball"
  935. aw.Position = v3(999,999,999)
  936. aw.BrickColor = bc("bright Blue")
  937. aw.Material = "Neon"
  938. aw.Transparency = 1
  939. aaw = new("SpecialMesh",aw)
  940. aaw.Scale = v3(1,1,1)
  941. aaaw =new("Weld",aw)
  942. aaaw.Part0 = torso
  943. aaaw.Part1 = aw
  944. aaaw.C0 = cf(0,0,-1.6) * cfa(rad(0),rad(0),rad(0))
  945. aaaaw = new("ParticleEmitter",aw)
  946. aaaaw.Size = ns(5)
  947. aaaaw.Rate = 5
  948. aaaaw.Color = ColorSequence.new(Color3.fromRGB(149,190,255))
  949. aaaaw.Texture = "rbxassetid://924710961"
  950. aaaaw.ZOffset = -1
  951. aaaaw.Lifetime = nr(5)
  952. aaaaw.RotSpeed = nr(50)
  953. aaaaw.Transparency = ns(1)
  954. aaaaw.LockedToPart = true
  955. aaaaw.Speed = nr(0)
  956.  
  957.  
  958.  
  959. ae = new("Part",char)
  960. ae.Name = "NewPart"
  961. ae.Size = v3(0.1,0.1,0.1)
  962. ae.Shape = "Ball"
  963. ae.Position = v3(999,999,999)
  964. ae.BrickColor = bc("bright Blue")
  965. ae.Material = "Neon"
  966. ae.Transparency = 1
  967. aaae =new("Weld",ae)
  968. aaae.Part0 = torso
  969. aaae.Part1 = ae
  970. aaae.C0 = cf(0,7,0) * cfa(rad(0),rad(0),rad(0))
  971. aaaae = new("ParticleEmitter",ae)
  972. aaaae.Size = ns(15)
  973. aaaae.Rate = 5
  974. aaaae.Color = ColorSequence.new(Color3.fromRGB(231,255,111))
  975. aaaae.ZOffset = -2
  976. aaaae.Lifetime = nr(5)
  977. aaaae.Transparency = ns(1)
  978. aaaae.LockedToPart = true
  979. aaaae.Speed = nr(0)
  980.  
  981.  
  982. ad = new("Part",char)
  983. ad.Name = "NewPart"
  984. ad.Size = v3(10,0.1,10)
  985. ad.CanCollide = false
  986. ad.Anchored = true
  987. ad.Position = torso.Position - v3(0,3,0)
  988. ad.BrickColor = bc("bright Blue")
  989. ad.Material = "Neon"
  990. ad.Transparency = 1
  991. aad = new("Decal",ad)
  992. aad.Texture = "rbxassetid://110711859"
  993. aad.Face = "Top"
  994. aad.Transparency = 1
  995. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  996. --Functions
  997. function kamehameha()
  998. enabled = true
  999.  
  1000.  
  1001. kamefire.Volume = 5
  1002. startkamehameha()
  1003. wait(2)
  1004.  
  1005. endkamehameha()
  1006. a1 = new("Part",char)
  1007. a1.Name = "Beam"
  1008. a1.Anchored = true
  1009. a1.Size = v3(6,6,6)
  1010. a1.CanCollide = false
  1011. a1.Locked = true
  1012. a1.Position = v3(999,999,999)
  1013. a1.BrickColor = bc("Cyan")
  1014. a1.Material = "Neon"
  1015. a1.Transparency = 0
  1016. aa1 = new("SpecialMesh",a1)
  1017. aa1.MeshType = "Cylinder"
  1018. aa1.Scale = v3(1,1,1)
  1019.  
  1020. a2 = new("Part",char)
  1021. a2.Name = "Beam"
  1022. a2.Anchored = true
  1023. a2.Locked = true
  1024. a2.Size = v3(0.1,0.1,0.1)
  1025. a2.CanCollide = false
  1026. a2.Position = v3(999,999,999)
  1027. a2.BrickColor = bc("Cyan")
  1028. a2.Material = "Neon"
  1029. a2.Transparency = 0
  1030. aa2 = new("SpecialMesh",a2)
  1031. aa2.MeshType = "Sphere"
  1032. aa2.Scale = v3(150,100,100)
  1033. a3 = new("Part",char)
  1034. a3.Name = "Beam"
  1035. a3.Locked = true
  1036. a3.Anchored = true
  1037. a3.Size = v3(0.1,0.1,0.1)
  1038. a3.CanCollide = false
  1039. a3.Position = v3(999,999,999)
  1040. a3.BrickColor = bc("Cyan")
  1041. a3.Material = "Neon"
  1042. a3.Transparency = 0
  1043. aa3 = new("SpecialMesh",a3)
  1044. aa3.MeshType = "Sphere"
  1045. aa3.Scale = v3(200,100,100)
  1046. kamecharge:Stop()
  1047. kamefire:Play()
  1048. hed.Anchored = true
  1049. a8.Anchored = true
  1050. ae.Anchored = true
  1051. GroundWave1()
  1052. startk = false
  1053.  
  1054.  
  1055. --Damages
  1056. -----------------------------------------------------------------------------------------
  1057. a1.Touched:connect(function(hit)
  1058.  
  1059. if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 then
  1060.  
  1061.  
  1062.  
  1063. if hit.Parent:IsA("Model") then
  1064. hit.Parent:BreakJoints()
  1065. end
  1066. hit:Destroy()
  1067. if enabled == true then
  1068. enabled = false
  1069. num = num + 1
  1070. kamehit:Play()
  1071. a21 = new("Part",char)
  1072. a21.Name = "Beam"..num
  1073. a21.Locked = true
  1074. a21.Size = v3(1,1,1)
  1075. a21.CanCollide = false
  1076. a21.Position = v3(999,999,999)
  1077. a21.BrickColor = bc("Cyan")
  1078. a21.Material = "Neon"
  1079. a21.Transparency = 0
  1080. aa21 = new("SpecialMesh",a21)
  1081. a21.Anchored = true
  1082. a21.Position = hit.Position
  1083. aa21.MeshType = "Sphere"
  1084. aa21.Scale = v3(1,1,1)
  1085. GroundWave2()
  1086. GroundWave3()
  1087. GroundWave4()
  1088. for i = 1,50 do
  1089. wait()
  1090. char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(5,5,5)
  1091. char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02
  1092. end
  1093. enabled = true
  1094. char["Beam"..num]:Destroy()
  1095. end
  1096.  
  1097. end
  1098.  
  1099. end)
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107. beam2 = true
  1108. beam1 = true
  1109. wait(2)
  1110.  
  1111. beam1 = false
  1112.  
  1113. repeat
  1114. wait()
  1115. a1.Size = a1.Size - v3(0,0.2,0.2)
  1116. aa2.Scale = aa2.Scale - v3(3,3,3)
  1117. aa3.Scale = aa3.Scale - v3(3,3,3)
  1118. until
  1119. a1.Size.y < 0.1
  1120.  
  1121. beamgo = 2.2
  1122. beamgo1 = 1
  1123. a1:Destroy()
  1124. a2:Destroy()
  1125. a3:Destroy()
  1126. for i = 1,10 do
  1127. wait()
  1128.  
  1129. kamefire.Volume = kamefire.Volume - 0.5
  1130. end
  1131. kamefire:Stop()
  1132.  
  1133. hed.Anchored = false
  1134. a8.Anchored = false
  1135. ae.Anchored = false
  1136. end
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  1151. --RenderedStep
  1152. rs:connect(function()
  1153. --kamehameha
  1154. ------------------------------------------------------------------
  1155. if startk == true then
  1156. aaaa.Transparency = ns(0)
  1157. aaaaw.Transparency = ns(0)
  1158. aaaa.Size = ns(math.random(1,2))
  1159. else
  1160. aaaa.Transparency = ns(1)
  1161. aaaaw.Transparency = ns(1)
  1162. end
  1163.  
  1164. if beam1 == true then
  1165. beamgo = beamgo + 1
  1166. beamgo1 = beamgo1 + 0.016
  1167. a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo
  1168. aa1.Scale = v3(1,math.random(1,1.2),math.random(1,1.2))
  1169. a3.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo * 5
  1170. a1.Size = a1.Size + v3(beamgo1,0,0)
  1171. aa2.Scale = v3(150,math.random(100,120),math.random(100,120))
  1172. aa3.Scale = v3(200,math.random(100,120),math.random(100,120))
  1173. a2.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) - torso.CFrame.lookVector * 1
  1174. end
  1175. if beam2 == true then
  1176. a1.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo
  1177. a2.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8
  1178. a3.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo * 1.93
  1179. end
  1180. -----------------------------------------------------------------------
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191. if hum.MoveDirection.x == 0 then
  1192. if canidle == true then
  1193. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.1)--head
  1194. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), .1)--torso
  1195. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(105),math.rad(0),math.rad(0)), .1)--arm
  1196. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-20)),.1)--arm
  1197. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(-5)),.1)--leg
  1198. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)),.1)--leg
  1199. end
  1200. end
  1201. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1202.  
  1203. if canwalk1 == true then
  1204. canwalk1 = false
  1205. for i = 1,10 do
  1206. wait()
  1207. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1208. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .1)--head
  1209. end
  1210. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1211. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(0)), .1)--torso
  1212. end
  1213. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1214. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(5)), .1)--arm
  1215. end
  1216. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1217. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-5)), .1)--arm
  1218. end
  1219. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1220. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), .1)--leg
  1221. end
  1222. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1223. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), .1)--leg
  1224. end
  1225. end
  1226. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1227. for i = 1,10 do
  1228. wait()
  1229. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1230. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .1)--head
  1231. end
  1232. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1233. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(0)), .1)--torso
  1234. end
  1235. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1236. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(5)), .1)--arm
  1237. end
  1238. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1239. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-5)), .1)--arm
  1240. end
  1241. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1242. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), .1)--leg
  1243. end
  1244. if hum.MoveDirection.x > 0 and canwalk == true or hum.MoveDirection.x < 0 and canwalk == true then
  1245. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), .1)--leg
  1246. end
  1247. end
  1248. end
  1249. canwalk1 = true
  1250. end
  1251.  
  1252.  
  1253. end
  1254.  
  1255. if block == true then
  1256. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head
  1257. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)--torso
  1258. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(-10)), 0.4)--arm
  1259. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.5,-0.7)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(10)), 0.4)--arm
  1260. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2)), 0.4)--leg
  1261. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.4, -0.1, -0.7) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(2)), 0.4)--leg
  1262.  
  1263.  
  1264. end
  1265. --------------------------------------------------
  1266. --Aura
  1267. if onaura == true then
  1268. onaura =false
  1269.  
  1270. wait(0.1)
  1271. aaaae.Texture = "rbxassetid://926705964"
  1272. wait(0.1)
  1273. aaaae.Texture = "rbxassetid://926709486"
  1274. wait(0.1)
  1275. aaaae.Texture = "rbxassetid://926711720"
  1276. wait(0.1)
  1277. aaaae.Texture = "rbxassetid://926712235"
  1278. onaura =true
  1279. end
  1280.  
  1281. if transforming1 == true then
  1282. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), 0.1)--head
  1283. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)--torso
  1284. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(10)), 0.1)--arm
  1285. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(-10)), 0.1)--arm
  1286. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-5)), 0.1)--leg
  1287. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)--leg
  1288.  
  1289. end
  1290.  
  1291. if transforming2 == true then
  1292. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.1)--head
  1293. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)--torso
  1294. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--arm
  1295. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm
  1296. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg
  1297. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg
  1298.  
  1299. end
  1300.  
  1301.  
  1302. if transforming3 == true then
  1303. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.1)--head
  1304. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.1)--torso
  1305. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(-20),math.rad(10)), 0.1)--arm
  1306. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(10),math.rad(-20),math.rad(-10)), 0.1)--arm
  1307. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-5)), 0.1)--leg
  1308. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(5)), 0.1)--leg
  1309.  
  1310. end
  1311.  
  1312. if beam3 == true then
  1313. beamgo4 = beamgo4 + 1
  1314. beamgo3 = beamgo3 + 0.018
  1315. a1s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4
  1316. aa1s.Scale = v3(1,math.random(1,1.2),math.random(1,1.2))
  1317. a3s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 * 5
  1318. a1s.Size = a1s.Size + v3(beamgo3,0,0)
  1319. aa2s.Scale = v3(200,math.random(150,170),math.random(150,170))
  1320. aa3s.Scale = v3(250,math.random(150,170),math.random(150,170))
  1321. a2s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) - torso.CFrame.lookVector * 1
  1322. end
  1323. if beam4 == true then
  1324. a1s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4
  1325. a2s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * 8
  1326. a3s.CFrame = torso.CFrame * CFrame.Angles(0,rad(90),0) + torso.CFrame.lookVector * beamgo4 * 1.93
  1327. end
  1328.  
  1329.  
  1330. end)
  1331. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  1332. --Kamehameha
  1333. ---------------------------------------------------------------------
  1334. mouse.KeyDown:connect(function(key)
  1335. if key == "q" then
  1336. if canattack == true then
  1337. canattack = false
  1338. canidle = false
  1339. canwalk = false
  1340. kamehameha()
  1341. canattack = true
  1342. canwalk = true
  1343. canidle = true
  1344. end
  1345. end
  1346. end)
  1347. ------------------------------------------------------------------
  1348. --Blocking
  1349. ----------------------------------------------------------------
  1350. mouse.KeyDown:connect(function(key)
  1351. if key == "r" then
  1352. if canattack == true then
  1353. canattack = false
  1354. canidle = false
  1355. canwalk = false
  1356.  
  1357. block = true
  1358.  
  1359. end
  1360. end
  1361. end)
  1362. mouse.KeyUp:connect(function(key)
  1363. if key == "r" then
  1364. if canattack == false then
  1365. canattack = true
  1366. canidle = true
  1367. block = false
  1368. canwalk = true
  1369.  
  1370.  
  1371. end
  1372. end
  1373. end)
  1374. --------------------------------------------------------------------
  1375. --Transformations
  1376. --------------------------------------------------------------------
  1377. mouse.KeyDown:connect(function(key)
  1378. if key == "t" then
  1379. if ssj1 == false then
  1380. if canattack == true then
  1381. canattack = false
  1382. canidle = false
  1383. canwalk = false
  1384. ssj1 = true
  1385. ssjmusic:Play()
  1386.  
  1387. ------------------------------------------------
  1388. transforming1 = true
  1389.  
  1390. wait(5)
  1391. ssjauraburst:Play()
  1392. GroundWave5()
  1393. GroundWave6()
  1394. GroundWave7()
  1395. GroundWave8()
  1396. GroundWave9()
  1397. GroundWave10()
  1398. ad.Position = torso.Position - v3(0,3,0)
  1399. aad.Transparency = 0
  1400. transforming1 = false
  1401. transforming2 = true
  1402.  
  1403. a8.Color = Color3.fromRGB(231,255,111)
  1404. aaaae.Transparency = ns(0)
  1405. ssjaura:Play()
  1406. wait(3)
  1407. transforming2 = false
  1408.  
  1409.  
  1410.  
  1411.  
  1412. -------------------------------------------------
  1413. canattack = true
  1414. canidle = true
  1415. canwalk = true
  1416. for i = 1,20 do
  1417. wait()
  1418. aad.Transparency = aad.Transparency + 0.05
  1419. end
  1420. end
  1421. else
  1422. if canattack == true then
  1423.  
  1424. canattack = false
  1425. canidle = false
  1426. canwalk = false
  1427. ssj2 = true
  1428. ssjmusic:Stop()
  1429. ssj2music:Play()
  1430. transforming3 = true
  1431. wait(1)
  1432. g1q = Instance.new("Part",char)
  1433. g1q.Name = "Smoke"
  1434. g1q.CanCollide = false
  1435. g1q.Position = torso.Position - v3(-8,3,0)
  1436. g1q.Size = v3(0.1,0.1,0.1)
  1437. g1q.Anchored = true
  1438. g1a = Instance.new("Part",char)
  1439. g1a.Name = "Smoke"
  1440. g1a.CanCollide = false
  1441. g1a.Position = torso.Position + v3(8,80,0)
  1442. g1a.Size = v3(0.1,0.1,0.1)
  1443. g1a.Anchored = true
  1444. g1q1 = Instance.new("Part",char)
  1445. g1q1.Name = "Smoke"
  1446. g1q1.CanCollide = false
  1447. g1q1.Position = torso.Position - v3(-5,3,7)
  1448. g1q1.Size = v3(0.1,0.1,0.1)
  1449. g1q1.Anchored = true
  1450. g1a1 = Instance.new("Part",char)
  1451. g1a1.Name = "Smoke"
  1452. g1a1.CanCollide = false
  1453. g1a1.Position = torso.Position + v3(5,80,-7)
  1454. g1a1.Size = v3(0.1,0.1,0.1)
  1455. g1a1.Anchored = true
  1456. g1q2 = Instance.new("Part",char)
  1457. g1q2.Name = "Smoke"
  1458. g1q2.CanCollide = false
  1459. g1q2.Position = torso.Position - v3(12,3,-6)
  1460. g1q2.Size = v3(0.1,0.1,0.1)
  1461. g1q2.Anchored = true
  1462. g1a2 = Instance.new("Part",char)
  1463. g1a2.Name = "Smoke"
  1464. g1a2.CanCollide = false
  1465. g1a2.Position = torso.Position + v3(-12,80,6)
  1466. g1a2.Size = v3(0.1,0.1,0.1)
  1467. g1a2.Anchored = true
  1468.  
  1469. game.Lighting.Brightness = 0
  1470. wait(0)
  1471. game.Lighting.Brightness = 9999999
  1472. wait(0)
  1473. game.Lighting.Brightness = 0
  1474. wait(0)
  1475. Lightning:Play()
  1476. Lightning1(g1a.Position,g1q.Position,0.2,10,workspace)
  1477. game.Lighting.Brightness = 9999999
  1478. wait(0)
  1479. game.Lighting.Brightness = 0
  1480. wait(0)
  1481. game.Lighting.Brightness = 9999999
  1482. wait(0)
  1483. game.Lighting.Brightness = 0
  1484. wait(2)
  1485. game.Lighting.Brightness = 0
  1486. wait(0)
  1487. game.Lighting.Brightness = 9999999
  1488. wait(0)
  1489. game.Lighting.Brightness = 0
  1490. wait(0)
  1491. Lightning:Play()
  1492. Lightning1(g1a1.Position,g1q1.Position,0.2,10,workspace)
  1493. game.Lighting.Brightness = 9999999
  1494. wait(0)
  1495. game.Lighting.Brightness = 0
  1496. wait(0)
  1497. game.Lighting.Brightness = 9999999
  1498. wait(0)
  1499. game.Lighting.Brightness = 0
  1500. wait(1)
  1501. game.Lighting.Brightness = 0
  1502. wait(0)
  1503. game.Lighting.Brightness = 9999999
  1504. wait(0)
  1505. game.Lighting.Brightness = 0
  1506. wait(0)
  1507. Lightning:Play()
  1508. Lightning1(g1a2.Position,g1q2.Position,0.2,10,workspace)
  1509. game.Lighting.Brightness = 9999999
  1510. wait(0)
  1511. game.Lighting.Brightness = 0
  1512. wait(0)
  1513. game.Lighting.Brightness = 9999999
  1514. wait(0)
  1515. game.Lighting.Brightness = 0
  1516. wait(1)
  1517.  
  1518.  
  1519.  
  1520.  
  1521. wait(1)
  1522. ad.Position = torso.Position - v3(0,3,0)
  1523. ad.Size = v3(30,0.1,30)
  1524. aad.Transparency = 0
  1525. aad.Texture = "http://www.roblox.com/asset/?id=108186785"
  1526. ssjauraburst:Play()
  1527.  
  1528.  
  1529. aaa8.C0 = cf(0,.8,.3) * cfa(rad(0),rad(0),rad(0))
  1530. aa8.Scale = v3(7,7,7)
  1531. aa8.MeshId = "rbxassetid://560186510"
  1532. ssjaura:Stop()
  1533. ssj2aura:Play()
  1534. ssj2ele = Instance.new("ParticleEmitter",torso)
  1535. ssj2ele.LockedToPart = true
  1536. ssj2ele.Size = ns(2.4)
  1537. ssj2ele.Rate = 5
  1538. ssj2ele.Speed = nr(0)
  1539. ssj2ele.Lifetime = nr(0.5)
  1540. ssj2ele.ZOffset = 2
  1541. ssj2ele.Texture = "rbxassetid://347745038"
  1542.  
  1543. g1 = Instance.new("Part",char)
  1544. g1.Name = "Smoke"
  1545. g1.CanCollide = false
  1546. g1.Position = torso.Position - v3(0,2,0)
  1547. g1.Size = v3(0.1,0.1,0.1)
  1548. g1.Anchored = true
  1549. g11 = Instance.new("ParticleEmitter",g1)
  1550. g11.Size = ns(3)
  1551. g11.EmissionDirection = "Front"
  1552. g11.Texture = "rbxassetid://572153134"
  1553. g11.Rate = 40
  1554. g11.Speed = nr(20)
  1555. g112 = Instance.new("ParticleEmitter",g1)
  1556. g112.Size = ns(3)
  1557. g112.EmissionDirection = "Back"
  1558. g112.Texture = "rbxassetid://572153134"
  1559. g112.Rate = 40
  1560. g112.Speed = nr(20)
  1561. g113 = Instance.new("ParticleEmitter",g1)
  1562. g113.Size = ns(3)
  1563. g113.EmissionDirection = "Left"
  1564. g113.Texture = "rbxassetid://572153134"
  1565. g113.Rate = 40
  1566. g113.Speed = nr(20)
  1567. g114 = Instance.new("ParticleEmitter",g1)
  1568. g114.Size = ns(3)
  1569. g114.EmissionDirection = "Right"
  1570. g114.Texture = "rbxassetid://572153134"
  1571. g114.Rate = 40
  1572. g114.Speed = nr(20)
  1573. g2 = Instance.new("Part",char)
  1574. g2.Name = "Smoke"
  1575. g2.CanCollide = false
  1576. g2.CFrame = CFrame.new(torso.Position - v3(0,2,0))*CFrame.Angles(rad(0),rad(45),rad(0))
  1577. g2.Size = v3(0.1,0.1,0.1)
  1578. g2.Anchored = true
  1579. g11 = Instance.new("ParticleEmitter",g2)
  1580. g11.Size = ns(3)
  1581. g11.EmissionDirection = "Front"
  1582. g11.Texture = "rbxassetid://572153134"
  1583. g11.Rate = 40
  1584. g11.Speed = nr(20)
  1585. g112 = Instance.new("ParticleEmitter",g2)
  1586. g112.Size = ns(3)
  1587. g112.EmissionDirection = "Back"
  1588. g112.Texture = "rbxassetid://572153134"
  1589. g112.Rate = 40
  1590. g112.Speed = nr(20)
  1591. g113 = Instance.new("ParticleEmitter",g2)
  1592. g113.Size = ns(3)
  1593. g113.EmissionDirection = "Left"
  1594. g113.Texture = "rbxassetid://572153134"
  1595. g113.Rate = 40
  1596. g113.Speed = nr(20)
  1597. g114 = Instance.new("ParticleEmitter",g2)
  1598. g114.Size = ns(3)
  1599. g114.EmissionDirection = "Right"
  1600. g114.Texture = "rbxassetid://572153134"
  1601. g114.Rate = 40
  1602. g114.Speed = nr(20)
  1603.  
  1604.  
  1605. a21e = new("Part",char)
  1606. a21e.Name = "Beam"..num
  1607. a21e.Locked = true
  1608. a21e.Size = v3(1,1,1)
  1609. a21e.CanCollide = false
  1610. a21e.Position = v3(999,999,999)
  1611. a21e.BrickColor = bc("New Yeller")
  1612. a21e.Material = "Neon"
  1613. a21e.Transparency = 0
  1614. aa21e = new("SpecialMesh",a21e)
  1615. a21e.Anchored = true
  1616. a21e.Position = torso.Position
  1617. aa21e.MeshType = "Sphere"
  1618. aa21e.Scale = v3(1,1,1)
  1619. GroundWave5()
  1620. GroundWave6()
  1621. GroundWave7()
  1622. GroundWave8()
  1623. GroundWave9()
  1624. GroundWave10()
  1625. for i = 1,50 do
  1626. wait()
  1627. aa21e.Scale = aa21e.Scale + v3(5,5,5)
  1628. a21e.Transparency = a21e.Transparency + 0.02
  1629. end
  1630.  
  1631. wait(2)
  1632. g1.Position = v3(999,999,999)
  1633. g2.Position = v3(999,999,999)
  1634. transforming3 = false
  1635. canattack = true
  1636. canidle = true
  1637. canwalk = true
  1638.  
  1639. wait(5)
  1640. for i = 1,20 do
  1641. wait()
  1642. aad.Transparency = aad.Transparency + 0.05
  1643. end
  1644. g1:Destroy()
  1645. g2:Destroy()
  1646.  
  1647.  
  1648.  
  1649.  
  1650. end
  1651. end
  1652. end
  1653. end)
  1654. --Lightning
  1655.  
  1656. function Lightning1(pos,pos2,radius,numParts,model)
  1657. radius = radius or 0.2
  1658. numParts = numParts or 10
  1659. model = model or workspace
  1660. local lv = CFrame.new(pos,pos2).lookVector
  1661. local dist = (pos-pos2).magnitude
  1662. local dbp = dist/numParts
  1663. local last = pos
  1664. for i = 1,numParts do
  1665. local p = Instance.new("Part",model)
  1666. p.FormFactor = "Symmetric"
  1667. p.Size = Vector3.new(5,5,1)
  1668. p.Material = "Neon"
  1669. p.CanCollide = false
  1670. p.Anchored = true
  1671. p.BrickColor = BrickColor.new("Cyan")
  1672. local x = math.random(-100,100)/100*dbp/2
  1673. local y = math.random(-100,100)/100*dbp/2
  1674. local p2 = CFrame.new(pos+lv*(i*dbp),pos2+lv)*CFrame.new(x,y,0)
  1675. local dist2 = (p2.p-last).magnitude
  1676. local mid = (p2.p+last)/2
  1677. local m = Instance.new("BlockMesh",p)
  1678. m.Scale = Vector3.new(radius,radius,dist2)
  1679. p.CFrame = CFrame.new(mid,p2.p)
  1680. last = p2.p
  1681. game:GetService("Debris"):AddItem(p,math.random(40,100)/1000)
  1682. end
  1683. end
  1684. ----------------------------------------------------------------------------------------------
  1685. ac = new("Part",char)
  1686. ac.Name = "NewPart"
  1687. ac.Size = v3(0.1,0.1,0.1)
  1688. ac.Position = v3(999,999,999)
  1689. ac.BrickColor = bc("bright Blue")
  1690. ac.Material = "Neon"
  1691. ac.Transparency = 1
  1692. aaac =new("Weld",ac)
  1693. aaac.Part0 = rarm
  1694. aaac.Part1 = ac
  1695. aaac.C0 = cf(0,-1.5,0) * cfa(rad(0),rad(0),rad(0))
  1696. aaaac = new("ParticleEmitter",ac)
  1697. aaaac.Size = ns(1)
  1698. aaaac.Rate = 5
  1699. aaaac.Texture = "rbxassetid://246381828"
  1700. aaaac.ZOffset = 1
  1701. aaaac.Lifetime = nr(5)
  1702. aaaac.Transparency = ns(1)
  1703. aaaac.LockedToPart = true
  1704. aaaac.Speed = nr(0)
  1705. aaaawc = new("ParticleEmitter",ac)
  1706. aaaawc.Size = ns(5)
  1707. aaaawc.Rate = 5
  1708. aaaawc.Color = ColorSequence.new(Color3.fromRGB(149,190,255))
  1709. aaaawc.Texture = "rbxassetid://924710961"
  1710. aaaawc.ZOffset = -1
  1711. aaaawc.Lifetime = nr(5)
  1712. aaaawc.RotSpeed = nr(50)
  1713. aaaawc.Transparency = ns(1)
  1714. aaaawc.LockedToPart = true
  1715. aaaawc.Speed = nr(0)
  1716. mouse.KeyDown:connect(function(key)
  1717. if key == "z" then
  1718.  
  1719. if canattack == true then
  1720. canattack = false
  1721. canidle = false
  1722. canwalk = false
  1723. ssj2music.Volume = 0
  1724. fahersonstart:Play()
  1725. fatherson()
  1726. wait(1)
  1727. for i = 1,20 do
  1728. wait()
  1729. trans = trans - 0.05
  1730. aaaac.Transparency = ns(trans)
  1731. aaaawc.Transparency = ns(trans)
  1732. end
  1733. wait(3)
  1734. fahersonend:Play()
  1735. fathersonfire()
  1736. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--head
  1737. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)--torso
  1738. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.7,-0.5)*CFrame.Angles(math.rad(95),math.rad(-10),math.rad(-30)), 1)--arm
  1739. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1,0.3,-0.5)*CFrame.Angles(math.rad(75),math.rad(10),math.rad(30)), 1)--arm
  1740. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(-10)), 1)--leg
  1741. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(10)), 1)--leg
  1742.  
  1743. char.Archivable = true
  1744. c = char:Clone()
  1745. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 1)--head
  1746. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)--torso
  1747. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,-0.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)), 1)--arm
  1748. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-10)), 1)--arm
  1749. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 1)--leg
  1750. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 1)--leg
  1751. c.Parent = char
  1752. c.Name = "Goku"
  1753. okko = Instance.new("Weld",c)
  1754. okko.Part0 = torso
  1755. okko.Part1 = c.Torso
  1756. okko.C0 = CFrame.new(2.5,0,0)
  1757. Hair99 = Instance.new("Part")
  1758. umok = Instance.new("Part",c)
  1759. umok.Name = "canthurt"
  1760. umok.Position = v3(999,999,999)
  1761. Hair99.Parent = c
  1762. Hair99.Name = "Hair"
  1763. Hair99.formFactor = "Symmetric"
  1764. Hair99.Size = Vector3.new(1, 1, 1)
  1765. Hair99.CFrame = c.Head.CFrame
  1766. Hair99:BreakJoints()
  1767. Hair99.CanCollide = false
  1768. Hair99.TopSurface = "Smooth"
  1769. Hair99.BottomSurface = "Smooth"
  1770. Hair99.BrickColor = BrickColor.new("New Yeller")
  1771. Hair99.Transparency = 1
  1772.  
  1773. Weld = Instance.new("Weld")
  1774. Weld.Part0 = c.Head
  1775. Weld.Part1 = Hair99
  1776. Weld.Parent = c.Head
  1777. Weld.C0 = CFrame.new(0, 0.26, 0.06)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1778.  
  1779. Hair7 = Instance.new("Part")
  1780. Hair7.Parent = c
  1781. Hair7.Name = "Hair"
  1782. Hair7.CanCollide = false
  1783. Hair7.Locked = true
  1784. Hair7.TopSurface = "Smooth"
  1785. Hair7.BottomSurface = "Smooth"
  1786. Hair7.formFactor = "Symmetric"
  1787. Hair7.Material = "Neon"
  1788. Hair7.BrickColor = BrickColor.new("Really black")
  1789. Hair7.CFrame = c.Torso.CFrame
  1790. Hair7.Size = Vector3.new(1, 1, 1)
  1791. Hair7.Transparency = 0
  1792.  
  1793. Mesh = Instance.new("SpecialMesh")
  1794. Mesh.Parent = Hair99
  1795. Mesh.MeshType = "Sphere"
  1796. Mesh.Offset = Vector3.new(0, 0.1, 0.1)
  1797. Mesh.Scale = Vector3.new(1.2, 1.2, 1.2)
  1798.  
  1799.  
  1800. Weld1 = Instance.new("Weld")
  1801. Weld1.Parent = c.Head
  1802. Weld1.Part0 = c.Head
  1803. Weld1.Part1 = Hair7
  1804. Weld1.C0 = CFrame.new(0, 1, 0)
  1805.  
  1806. Mesh = Instance.new("SpecialMesh")
  1807. Mesh.Offset = Vector3.new(0.2, -0.2, 0.2)
  1808. Mesh.Parent = Hair7
  1809. Mesh.Scale = Vector3.new(1, 1, 1)
  1810. Mesh.MeshType = "FileMesh"
  1811. Mesh.MeshId = "http://www.roblox.com/asset/?id=476757756"
  1812. Mesh.TextureId = ""
  1813.  
  1814. wait(0.1)
  1815. for i,v in pairs(c:GetChildren()) do
  1816. if v.Name == "NewPart" then
  1817. v:Destroy()
  1818. end
  1819. if v:IsA("Part") then
  1820. v.CanCollide = false
  1821. v.Anchored = true
  1822. v.BrickColor = BrickColor.new("Cyan")
  1823. v.Transparency = 0.5
  1824. end
  1825. end
  1826. c["Sound Folder"]:Destroy()
  1827. c.Hair:Destroy()
  1828. c.Shirt:Destroy()
  1829. c.Pants:Destroy()
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839. hed.Anchored = true
  1840. a8.Anchored = true
  1841. ae.Anchored = true
  1842.  
  1843.  
  1844.  
  1845. GroundWave1()
  1846.  
  1847.  
  1848. a1s = new("Part",char)
  1849. a1s.Name = "Beam"
  1850. a1s.Anchored = true
  1851. a1s.Size = v3(6,15,15)
  1852. a1s.CanCollide = false
  1853. a1s.Locked = true
  1854. a1s.Position = v3(999,999,999)
  1855. a1s.BrickColor = bc("Cyan")
  1856. a1s.Material = "Neon"
  1857. a1s.Transparency = 0
  1858. aa1s = new("SpecialMesh",a1s)
  1859. aa1s.MeshType = "Cylinder"
  1860. aa1s.Scale = v3(1,1,1)
  1861. aaaac.Transparency = ns(1)
  1862. aaaawc.Transparency = ns(1)
  1863. a2s = new("Part",char)
  1864. a2s.Name = "Beam"
  1865. a2s.Anchored = true
  1866. a2s.Locked = true
  1867. a2s.Size = v3(0.1,0.1,0.1)
  1868. a2s.CanCollide = false
  1869. a2s.Position = v3(999,999,999)
  1870. a2s.BrickColor = bc("Cyan")
  1871. a2s.Material = "Neon"
  1872. a2s.Transparency = 0
  1873. aa2s = new("SpecialMesh",a2s)
  1874. aa2s.MeshType = "Sphere"
  1875. aa2s.Scale = v3(200,150,150)
  1876. a3s = new("Part",char)
  1877. a3s.Name = "Beam"
  1878. a3s.Locked = true
  1879. a3s.Anchored = true
  1880. a3s.Size = v3(0.1,0.1,0.1)
  1881. a3s.CanCollide = false
  1882. a3s.Position = v3(999,999,999)
  1883. a3s.BrickColor = bc("Cyan")
  1884. a3s.Material = "Neon"
  1885. a3s.Transparency = 0
  1886. aa3s = new("SpecialMesh",a3s)
  1887. aa3s.MeshType = "Sphere"
  1888. aa3s.Scale = v3(250,150,150)
  1889. --Damages
  1890. -----------------------------------------------------------------------------------------
  1891. a1s.Touched:connect(function(hit)
  1892.  
  1893. if hit.Parent:findFirstChild("NewPart") == nil and hit.Size.x < 500 and hit.Parent:findFirstChild("Wave") == nil and hit ~= a8 and hit ~= Hair7 and hit ~= Hair99 and hit.Parent:findFirstChild("canthurt") == nil then
  1894.  
  1895.  
  1896.  
  1897. if hit.Parent:IsA("Model") then
  1898. hit.Parent:BreakJoints()
  1899. end
  1900. hit:Destroy()
  1901. if enabled == true then
  1902. enabled = false
  1903. num = num + 1
  1904. kamehit:Play()
  1905. a21 = new("Part",char)
  1906. a21.Name = "Beam"..num
  1907. a21.Locked = true
  1908. a21.Size = v3(1,1,1)
  1909. a21.CanCollide = false
  1910. a21.Position = v3(999,999,999)
  1911. a21.BrickColor = bc("Cyan")
  1912. a21.Material = "Neon"
  1913. a21.Transparency = 0
  1914. aa21 = new("SpecialMesh",a21)
  1915. a21.Anchored = true
  1916. a21.Position = hit.Position
  1917. aa21.MeshType = "Sphere"
  1918. aa21.Scale = v3(1,1,1)
  1919. GroundWave2()
  1920. GroundWave3()
  1921. GroundWave4()
  1922. for i = 1,50 do
  1923. wait()
  1924. char["Beam"..num].Mesh.Scale = char["Beam"..num].Mesh.Scale + v3(5,5,5)
  1925. char["Beam"..num].Transparency = char["Beam"..num].Transparency + 0.02
  1926. end
  1927. enabled = true
  1928. char["Beam"..num]:Destroy()
  1929. end
  1930.  
  1931. end
  1932.  
  1933. end)
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941. beam3 = true
  1942. beam4 = true
  1943. wait(2)
  1944.  
  1945. beam3 = false
  1946.  
  1947. repeat
  1948. wait()
  1949. a1s.Size = a1s.Size - v3(0,0.2,0.2)
  1950. aa2s.Scale = aa2s.Scale - v3(2,2,2)
  1951. aa3s.Scale = aa3s.Scale - v3(2,2,2)
  1952. until
  1953. a1s.Size.y < 0.1
  1954.  
  1955. beamgo = 2.2
  1956. beamgo1 = 1
  1957. a1s:Destroy()
  1958. a2s:Destroy()
  1959. a3s:Destroy()
  1960. for i = 1,10 do
  1961. wait()
  1962.  
  1963. kamefire.Volume = kamefire.Volume - 0.5
  1964. end
  1965. kamefire:Stop()
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977. wait(1)
  1978. torso.Anchored = false
  1979. hed.Anchored = false
  1980. c:Destroy()
  1981. beamgo4 = 2.2
  1982. beamgo3 = 1
  1983. canattack = true
  1984. canwalk = true
  1985. canidle = true
  1986.  
  1987. a8.Anchored = false
  1988. ae.Anchored =false
  1989. trans = 1
  1990. for i = 1,10 do
  1991. wait()
  1992. ssj2music.Volume = ssj2music.Volume + 1
  1993. end
  1994. end
  1995. end
  1996.  
  1997. end)
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015. mouse.KeyDown:connect(function(key)
  2016. if key == "e" then
  2017. if canattack == true then
  2018. if punched1 == true then
  2019. punched1 = false
  2020. punched3 = false
  2021. punched4 = false
  2022. canidle = false
  2023. canwalk= false
  2024.  
  2025. firsthit()
  2026. canidle = true
  2027. canwalk= true
  2028. punched2 = true
  2029. end
  2030. end
  2031. end
  2032. end)
  2033. mouse.KeyDown:connect(function(key)
  2034. if key == "e" then
  2035. if canattack == true then
  2036. if punched2 == true then
  2037. punched2 = false
  2038. punched4 = false
  2039. punched1 = false
  2040. canidle = false
  2041. canwalk= false
  2042.  
  2043. secondhit()
  2044. canidle = true
  2045. canwalk= true
  2046. punched3 = true
  2047. end
  2048. end
  2049. end
  2050. end)
  2051. mouse.KeyDown:connect(function(key)
  2052. if key == "e" then
  2053. if canattack == true then
  2054. if punched3 == true then
  2055. punched3 = false
  2056. punched2 = false
  2057. punched1 = false
  2058. canidle = false
  2059. canwalk= false
  2060.  
  2061. thirdhit()
  2062. canidle = true
  2063. canwalk= true
  2064. punched4 = true
  2065. end
  2066. end
  2067. end
  2068. end)
  2069. mouse.KeyDown:connect(function(key)
  2070. if key == "e" then
  2071. if canattack == true then
  2072. if punched4 == true then
  2073. punched4 = false
  2074. punched2 = false
  2075. punched3 = false
  2076. canidle = false
  2077. canwalk= false
  2078.  
  2079. lasthit()
  2080. canidle = true
  2081. canwalk= true
  2082. punched1 = true
  2083. end
  2084. end
  2085. end
  2086. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement