Advertisement
ghostteen14

Untitled

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