Advertisement
ghostteen14

Untitled

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