Advertisement
Dark_AJ1

anger

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