Advertisement
copra50

GOHAN

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