Advertisement
DontAskme

KAIOKEN X2

Jul 19th, 2017
442
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local p = game.Players.LocalPlayer
  2. local char = p.Character
  3. local mouse = p:GetMouse()
  4. local larm = char["Left Arm"]
  5. local rarm = char["Right Arm"]
  6. local lleg = char["Left Leg"]
  7. local rleg = char["Right Leg"]
  8. local hed = char.Head
  9. local torso = char.Torso
  10. local hum = char.Humanoid
  11. local cam = game.Workspace.CurrentCamera
  12. local root = char.HumanoidRootPart
  13. local deb = false
  14. local shot = 0
  15. local debris=game:service"Debris"
  16. local l = game:GetService("Lighting")
  17. local rs = game:GetService("RunService").RenderStepped
  18. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  19. math.randomseed(os.time())
  20. for i,v in pairs(char:children()) do
  21. if v:IsA("Hat") then
  22. v:Destroy()
  23. end
  24. end
  25. for i,v in pairs (hed:GetChildren()) do
  26. if v:IsA("Sound") then
  27. v:Destroy()
  28. end
  29. end
  30. ----------------------------------------------------
  31.  
  32. Debounces = {
  33. CanAttack = true;
  34. NoIdl = false;
  35. Slashing = false;
  36. Slashed = false;
  37. RPunch = false;
  38. RPunched = false;
  39. LPunch = false;
  40. LPunched = false;
  41. }
  42. local Touche = {char.Name, }
  43. ----------------------------------------------------
  44. hed.face.Texture = "rbxassetid://33395282"
  45. char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
  46. char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
  47. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
  48. char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
  49. ----------------------------------------------------
  50. ypcall(function()
  51. char.Shirt:Destroy()
  52. char.Pants:Destroy()
  53. shirt = Instance.new("Shirt", char)
  54. shirt.Name = "Shirt"
  55. pants = Instance.new("Pants", char)
  56. pants.Name = "Pants"
  57. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=513620832"
  58. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=513621366"
  59. end)
  60. ----------------------------------------------------
  61. LoudVolume = false
  62. Submerged = false
  63. Music = true
  64. script.Name = "GOKU"
  65. Player = game.Players.LocalPlayer
  66. c = game.Players.LocalPlayer.Character
  67. Head = c.Head
  68. anim = c.Humanoid.Animator
  69. Humanoid = c:findFirstChild("Humanoid")
  70. Humanoid.Name = "InfiniteBeing"
  71. b23 = Instance.new("BoolValue", c)
  72. b23.Name = "InfiniteHuman"
  73. rage = false
  74. p = game.Players.LocalPlayer
  75. Music = false
  76. local Effects = {}
  77. attack = false
  78. local attacking = false
  79. vt = Vector3.new
  80. bc = BrickColor.new
  81. br = BrickColor.random
  82. it = Instance.new
  83. cf = CFrame.new
  84. euler = CFrame.fromEulerAnglesXYZ
  85. angles = CFrame.Angles
  86. matr = math.random
  87. mouse = Player:GetMouse()
  88. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  89. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  90. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  91. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  92. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  93. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  94. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  95. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  96. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  97. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  98. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  99. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  100. RS = c.Torso:FindFirstChild("Right Shoulder")
  101. LS = c.Torso:FindFirstChild("Left Shoulder")
  102. RH = c.Torso:FindFirstChild("Right Hip")
  103. LH = c.Torso:FindFirstChild("Left Hip")
  104. RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
  105. N = c.Torso:FindFirstChild("Neck")
  106. cf = CFrame.new
  107. ang = CFrame.Angles
  108. rd = math.rad
  109. rd2 = math.random
  110. function swait(num)
  111. if num == 0 or num == nil then
  112. game:service("RunService").Heartbeat:wait(0)
  113. else
  114. for i = 0, num do
  115. game:service("RunService").Heartbeat:wait(0)
  116. end
  117. end
  118. end
  119. function lerpz(joint, prop, cfrmz, alp)
  120. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  121. end
  122. function resetlerp()
  123. RJ.C0 = RJC0
  124. RJ.C1 = RJC1
  125. N.C0 = NC0
  126. N.C1 = NC1
  127. RS.C0 = RSC0
  128. RS.C1 = RSC1
  129. LS.C0 = LSC0
  130. LS.C1 = LSC1
  131. RH.C0 = RHC0
  132. RH.C1 = RHC1
  133. LH.C0 = LHC0
  134. LH.C1 = LHC1
  135. end
  136. for _, c in pairs(c:children()) do
  137. if c.className == "Accessory" then
  138. c.Parent = nil
  139. end
  140. end
  141. local S2 = Instance.new("Sound", c.HumanoidRootPart)
  142. S2.SoundId = ""
  143. S2.Volume = 0
  144. S2.Looped = true
  145. local P = Instance.new("Part", c)
  146. P.CanCollide = false
  147. P.Size = Vector3.new(0.2, 0.2, 0.2)
  148. P.BrickColor = BrickColor.new("Really black")
  149. local M = Instance.new("SpecialMesh", P)
  150. M.MeshId = "rbxassetid://884095858"
  151. M.Scale = Vector3.new(0.04, 0.04, 0.04)
  152. M.Offset = Vector3.new(-0.225, 0.65, -0.1)
  153. local W = Instance.new("Weld", c.Head)
  154. W.Part0 = c.Head
  155. W.Part1 = P
  156. W.C0 = CFrame.Angles(0, math.rad(180), 0)
  157. trazx = Instance.new("ParticleEmitter")
  158. function New(Object, Parent, Name, Data)
  159. local Object = Instance.new(Object)
  160. for Index, Value in pairs(Data or {}) do
  161. Object[Index] = Value
  162. end
  163. Object.Parent = Parent
  164. Object.Name = Name
  165. return Object
  166. end
  167.  
  168. Form = "None"
  169. function SSJB()
  170. if Form == "None" then
  171. Form = "SSJB"
  172. hed.face.Texture = "rbxassetid://439123785"
  173. attack = true
  174. anim.Parent = nil
  175. for i = 1, 35 do
  176. swait()
  177. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  178. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  179. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(140)), 0.3)
  180. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  181. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(-140)), 0.3)
  182. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  183. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
  184. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  185. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
  186. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  187. end
  188. local S = Instance.new("Sound", c.HumanoidRootPart)
  189. S.SoundId = "rbxassetid://263260463"
  190. S.Volume = 1
  191. S:Play()
  192. local S2 = Instance.new("Sound", c.HumanoidRootPart)
  193. S2.SoundId = "rbxassetid://600060450"
  194. S2.Looped = true
  195. S2:Play()
  196. for i = 1, 15 do
  197. swait()
  198. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 0.5)
  199. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
  200. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(45)), 0.5)
  201. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  202. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-45)), 0.5)
  203. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  204. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 0.5)
  205. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  206. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 0.5)
  207. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  208. end
  209. for i, v in pairs(c:children()) do
  210. if v.ClassName == "Part" then
  211. local tra = trazx:clone()
  212. tra.Parent = v
  213. tra.LightEmission = 1
  214. tra.Color = ColorSequence.new(Color3.new(255, 170, 255))
  215. tra.Rate = 600
  216. tra.Rotation = NumberRange.new(-5, 5)
  217. tra.Lifetime = NumberRange.new(1.5, 2)
  218. tra.Size = NumberSequence.new({
  219. NumberSequenceKeypoint.new(0, 0.1, 0),
  220. NumberSequenceKeypoint.new(1, 0, 0)
  221. })
  222. tra.Transparency = NumberSequence.new({
  223. NumberSequenceKeypoint.new(0, 1, 0),
  224. NumberSequenceKeypoint.new(0.135, 0, 0),
  225. NumberSequenceKeypoint.new(0.875, 0, 0),
  226. NumberSequenceKeypoint.new(1, 1, 0)
  227. })
  228. tra.Speed = NumberRange.new(0.5)
  229. tra.VelocitySpread = 360
  230. tra.VelocityInheritance = 0.5
  231. tra.ZOffset = 2
  232. tra.Acceleration = Vector3.new(0, 2.5, 0)
  233. end
  234. end
  235. local tra = trazx:clone()
  236. tra.Parent = c.HumanoidRootPart
  237. tra.Texture = "rbxassetid://347730682"
  238. tra.LightEmission = 0.8
  239. tra.Color = ColorSequence.new(Color3.new(255, 170, 255))
  240. tra.Rate = 600
  241. tra.Rotation = NumberRange.new(-5, 5)
  242. tra.Lifetime = NumberRange.new(0.75)
  243. tra.Size = NumberSequence.new({
  244. NumberSequenceKeypoint.new(0, 10, 0.875),
  245. NumberSequenceKeypoint.new(1, 8.13, 0.875)
  246. })
  247. tra.Transparency = NumberSequence.new({
  248. NumberSequenceKeypoint.new(0, 1, 0),
  249. NumberSequenceKeypoint.new(0.0399, 0.85, 0),
  250. NumberSequenceKeypoint.new(0.394, 0.9, 0),
  251. NumberSequenceKeypoint.new(0.699, 1, 0),
  252. NumberSequenceKeypoint.new(1, 1, 0)
  253. })
  254. tra.Speed = NumberRange.new(15)
  255. tra.VelocitySpread = 360
  256. tra.VelocityInheritance = 0.5
  257. tra.ZOffset = 3.5
  258. tra.Acceleration = Vector3.new(0, 25, 0)
  259. for i = 1, 25 do
  260. for i = 1, 3 do
  261. swait()
  262. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.4) * ang(rd(12), rd(0), rd(0)), 0.5)
  263. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
  264. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(50)), 0.5)
  265. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  266. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-50)), 0.5)
  267. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  268. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-12), rd(12)), 0.5)
  269. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  270. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(12), rd(-12)), 0.5)
  271. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  272. end
  273. for i = 1, 3 do
  274. swait()
  275. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 0.5)
  276. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
  277. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(45)), 0.5)
  278. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  279. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-45)), 0.5)
  280. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  281. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 0.5)
  282. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  283. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 0.5)
  284. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  285. end
  286. end
  287. local S3 = Instance.new("Sound", c.HumanoidRootPart)
  288. S3.SoundId = "rbxassetid://740811119"
  289. S3.Volume = 10
  290. S3:Play()
  291. S2.SoundId = "rbxassetid://600060450"
  292. S2:Play()
  293. local SE = Instance.new("ChorusSoundEffect", S3)
  294. tra.LightEmission = 0.8
  295. tra.Color = ColorSequence.new(Color3.new(255, 255, 255))
  296. tra.Rate = 600
  297. tra.Rotation = NumberRange.new(-5, 5)
  298. tra.Lifetime = NumberRange.new(0.2, 0.4)
  299. tra.Size = NumberSequence.new({
  300. NumberSequenceKeypoint.new(0, 10, 0.875),
  301. NumberSequenceKeypoint.new(1, 8, 0.875)
  302. })
  303. tra.Transparency = NumberSequence.new({
  304. NumberSequenceKeypoint.new(0, 1, 0),
  305. NumberSequenceKeypoint.new(0.0399, 0.8, 0),
  306. NumberSequenceKeypoint.new(0.394, 0.8, 0),
  307. NumberSequenceKeypoint.new(0.699, 1, 0),
  308. NumberSequenceKeypoint.new(1, 1, 0)
  309. })
  310. tra.Speed = NumberRange.new(5)
  311. tra.VelocitySpread = 0
  312. tra.VelocityInheritance = 0.5
  313. tra.ZOffset = 3.5
  314. tra.Acceleration = Vector3.new(0, 150, 0)
  315. P.BrickColor = BrickColor.new("White")
  316. W.C0 = CFrame.Angles(0, 0, 0)
  317. P.Material = "Neon"
  318. local M = Instance.new("SpecialMesh", P)
  319. M.MeshId = "rbxassetid://560193297"
  320. M.Scale = Vector3.new(6.25, 6.25, 6.25)
  321. M.Offset = Vector3.new(0.03, -1.4, 1.63)
  322. for i = 1, 50 do
  323. swait()
  324. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  325. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  326. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-25), rd(0), rd(-25)), 0.3)
  327. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  328. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-25), rd(0), rd(25)), 0.3)
  329. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  330. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
  331. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  332. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
  333. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  334. end
  335. resetlerp()
  336. attack = false
  337. anim.Parent = Humanoid
  338. elseif Form == "SSJB" then
  339. Form = "Kaioken"
  340. attack = true
  341. anim.Parent = nil
  342. for i = 1, 35 do
  343. swait()
  344. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  345. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  346. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(140)), 0.3)
  347. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  348. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(-140)), 0.3)
  349. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  350. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
  351. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  352. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
  353. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  354. end
  355. local S = Instance.new("Sound", c.HumanoidRootPart)
  356. S.SoundId = "rbxassetid://263260463"
  357. S.Volume = 1
  358. S:Play()
  359. S2.SoundId = "rbxassetid://336074463"
  360. S2:Play()
  361. for i = 1, 15 do
  362. swait()
  363. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 0.5)
  364. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
  365. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(45)), 0.5)
  366. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  367. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-45)), 0.5)
  368. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  369. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 0.5)
  370. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  371. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 0.5)
  372. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  373. end
  374. local tra = trazx:clone()
  375. tra.Parent = c.HumanoidRootPart
  376. tra.Texture = "rbxassetid://347730682"
  377. tra.LightEmission = 0.8
  378. tra.Color = ColorSequence.new(Color3.new(1, 0, 1))
  379. tra.Rate = 800
  380. tra.Rotation = NumberRange.new(-5, 5)
  381. tra.Lifetime = NumberRange.new(0.3)
  382. tra.Size = NumberSequence.new({
  383. NumberSequenceKeypoint.new(0, 25, 0.875),
  384. NumberSequenceKeypoint.new(1, 30, 0.875)
  385. })
  386. tra.Transparency = NumberSequence.new({
  387. NumberSequenceKeypoint.new(0, 1, 0),
  388. NumberSequenceKeypoint.new(0.0399, 0.531, 0),
  389. NumberSequenceKeypoint.new(0.394, 0.906, 0),
  390. NumberSequenceKeypoint.new(0.699, 1, 0),
  391. NumberSequenceKeypoint.new(1, 1, 0)
  392. })
  393. tra.Speed = NumberRange.new(75)
  394. tra.VelocitySpread = 360
  395. tra.VelocityInheritance = 0.5
  396. tra.ZOffset = 3
  397. tra.Acceleration = Vector3.new(0, 350, 0)
  398. local S4 = Instance.new("Sound", c.HumanoidRootPart)
  399. S4.SoundId = "rbxassetid://738749992"
  400. S4.Volume = 5
  401. S4:Play()
  402. for i = 1, 2 do
  403. local SE = Instance.new("ChorusSoundEffect", S4)
  404. end
  405. for i = 1, 23 do
  406. for i = 1, 3 do
  407. swait()
  408. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.4) * ang(rd(12), rd(0), rd(0)), 1)
  409. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 1)
  410. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(50)), 1)
  411. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  412. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-50)), 1)
  413. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  414. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-12), rd(12)), 1)
  415. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  416. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(12), rd(-12)), 1)
  417. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  418. end
  419. for i = 1, 3 do
  420. swait()
  421. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 1)
  422. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 1)
  423. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(45)), 1)
  424. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  425. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-45)), 1)
  426. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  427. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 1)
  428. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  429. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 1)
  430. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  431. end
  432. end
  433. local S3 = Instance.new("Sound", c.HumanoidRootPart)
  434. S3.SoundId = "rbxassetid://590580746"
  435. S3.Volume = 1.5
  436. S3:Play()
  437. S2.SoundId = "rbxassetid://590580496"
  438. S2:Play()
  439. tra.LightEmission = 0.8
  440. tra.Color = ColorSequence.new(Color3.new(1, 0, 1))
  441. tra.Rate = 620
  442. tra.Rotation = NumberRange.new(-5, 5)
  443. tra.Lifetime = NumberRange.new(0.5)
  444. tra.Size = NumberSequence.new({
  445. NumberSequenceKeypoint.new(0, 20, 0.875),
  446. NumberSequenceKeypoint.new(1, 5, 0.875)
  447. })
  448. tra.Transparency = NumberSequence.new({
  449. NumberSequenceKeypoint.new(0, 1, 0),
  450. NumberSequenceKeypoint.new(0.0399, 0.531, 0),
  451. NumberSequenceKeypoint.new(0.394, 0.906, 0),
  452. NumberSequenceKeypoint.new(0.699, 1, 0),
  453. NumberSequenceKeypoint.new(1, 1, 0)
  454. })
  455. tra.Speed = NumberRange.new(50)
  456. tra.VelocitySpread = 360
  457. tra.VelocityInheritance = 0.5
  458. tra.ZOffset = 3
  459. tra.Acceleration = Vector3.new(0, 350, 0)
  460. for i = 1, 50 do
  461. swait()
  462. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  463. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  464. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-25), rd(0), rd(-25)), 0.3)
  465. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  466. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-25), rd(0), rd(25)), 0.3)
  467. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  468. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
  469. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  470. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
  471. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  472. end
  473. resetlerp()
  474. attack = false
  475. anim.Parent = Humanoid
  476. end
  477. end
  478. ButtonDown = false
  479. CombatDebounce = false
  480. Combo = 1
  481. mouse.Button1Down:connect(function()
  482. if CombatDebounce == true then
  483. return
  484. end
  485. CombatDebounce = true
  486. ButtonDown = true
  487. if Form == "None" then
  488. local SP = Instance.new("Sound", c.HumanoidRootPart)
  489. SP.SoundId = "rbxassetid://696622391"
  490. SP.PlaybackSpeed = math.random(90, 120) / 100
  491. SP.Volume = 5
  492. SP:Play()
  493. for i, v in pairs(game.Workspace:children()) do
  494. if v:findFirstChild("Humanoid") ~= nil and v:findFirstChild("HumanoidRootPart") ~= nil and v ~= c and v.HumanoidRootPart.Position - c.HumanoidRootPart.Position.magnitude <= 6 then
  495. v.Humanoid.Health = v.Humanoid.Health - 15
  496. end
  497. end
  498. if Combo == 1 then
  499. Combo = 2
  500. for i = 1, 3 do
  501. swait()
  502. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(15), rd(60)), 0.8)
  503. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-60)), 0.8)
  504. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-60), rd(110)), 0.8)
  505. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  506. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  507. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  508. lerpz(RH, "C0", RHC0 * cf(0.5, 0.75, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  509. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  510. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 0.8)
  511. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  512. end
  513. for i = 1, 4 do
  514. swait()
  515. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(15), rd(100)), 0.5)
  516. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-100)), 0.5)
  517. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-80), rd(90)), 0.5)
  518. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  519. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  520. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  521. lerpz(RH, "C0", RHC0 * cf(0.5, 0.75, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  522. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  523. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 0.5)
  524. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  525. end
  526. CombatDebounce = false
  527. for i = 1, 2 do
  528. swait()
  529. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  530. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  531. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  532. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  533. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  534. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  535. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  536. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  537. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  538. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  539. end
  540. elseif Combo == 2 then
  541. Combo = 3
  542. for i = 1, 3 do
  543. swait()
  544. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(-25), rd(-80)), 0.8)
  545. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(40)), 0.8)
  546. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(40), rd(-80)), 0.8)
  547. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  548. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  549. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  550. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  551. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  552. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(40), rd(-60)), 0.8)
  553. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  554. end
  555. for i = 1, 4 do
  556. swait()
  557. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(-25), rd(-160)), 0.5)
  558. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(60)), 0.5)
  559. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(60), rd(-90)), 0.5)
  560. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  561. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  562. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  563. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  564. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  565. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(60), rd(-95)), 0.5)
  566. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  567. end
  568. CombatDebounce = false
  569. for i = 1, 2 do
  570. swait()
  571. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  572. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  573. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  574. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  575. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  576. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  577. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  578. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  579. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  580. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  581. end
  582. elseif Combo == 3 then
  583. Combo = 4
  584. for i = 1, 3 do
  585. swait()
  586. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(25), rd(80)), 0.8)
  587. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(40)), 0.8)
  588. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(40), rd(-80)), 0.8)
  589. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  590. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  591. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  592. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  593. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(40), rd(-60)), 0.8)
  594. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  595. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  596. end
  597. for i = 1, 4 do
  598. swait()
  599. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(25), rd(160)), 0.5)
  600. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(60)), 0.5)
  601. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(60), rd(-90)), 0.5)
  602. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  603. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  604. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  605. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(60), rd(-95)), 0.5)
  606. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  607. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  608. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  609. end
  610. CombatDebounce = false
  611. for i = 1, 2 do
  612. swait()
  613. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  614. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  615. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  616. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  617. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  618. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  619. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  620. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  621. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  622. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  623. end
  624. elseif Combo == 4 then
  625. Combo = 1
  626. for i = 1, 3 do
  627. swait()
  628. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(25), rd(-80)), 0.8)
  629. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(40)), 0.8)
  630. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(40), rd(80)), 0.8)
  631. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  632. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  633. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  634. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  635. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  636. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(40), rd(-60)), 0.8)
  637. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.8)
  638. end
  639. for i = 1, 4 do
  640. swait()
  641. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(25), rd(-160)), 0.5)
  642. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(60)), 0.5)
  643. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(60), rd(90)), 0.5)
  644. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  645. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  646. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  647. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  648. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  649. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(60), rd(-95)), 0.5)
  650. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  651. end
  652. CombatDebounce = false
  653. for i = 1, 2 do
  654. swait()
  655. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  656. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  657. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  658. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  659. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  660. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  661. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  662. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  663. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  664. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.45)
  665. end
  666. end
  667. else
  668. while ButtonDown == true do
  669. local SP = Instance.new("Sound", c.HumanoidRootPart)
  670. SP.SoundId = "rbxassetid://696622391"
  671. SP.PlaybackSpeed = math.random(90, 120) / 100
  672. SP.Volume = 5
  673. SP:Play()
  674. for i, v in pairs(game.Workspace:children()) do
  675. if v:findFirstChild("Humanoid") ~= nil and v:findFirstChild("HumanoidRootPart") ~= nil and v ~= c and v.HumanoidRootPart.Position - c.HumanoidRootPart.Position.magnitude <= 6 then
  676. v.Humanoid.Health = v.Humanoid.Health - 15
  677. end
  678. end
  679. if Combo == 1 then
  680. Combo = 2
  681. for i = 1, 1 do
  682. swait()
  683. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.random(-180, 180))), 1)
  684. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-math.random(-180, 180))), 1)
  685. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-60), rd(110)), 1)
  686. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  687. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  688. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  689. lerpz(RH, "C0", RHC0 * cf(0.5, 0.75, 0) * ang(rd(0), rd(0), rd(0)), 1)
  690. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  691. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 1)
  692. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  693. end
  694. for i = 1, 2 do
  695. swait()
  696. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.random(-180, 180))), 0.75)
  697. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-math.random(-180, 180))), 0.75)
  698. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-math.random(-90, 90)), rd(math.random(-90, 90))), 0.75)
  699. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  700. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 0.75)
  701. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  702. lerpz(RH, "C0", RHC0 * cf(0.5, 0.75, 0) * ang(rd(math.random(-90, 90)), rd(math.random(-90, 90)), rd(0)), 0.75)
  703. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  704. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 0.75)
  705. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  706. end
  707. CombatDebounce = false
  708. for i = 1, 2 do
  709. swait()
  710. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  711. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  712. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  713. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  714. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  715. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  716. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  717. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  718. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  719. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  720. end
  721. elseif Combo == 2 then
  722. Combo = 3
  723. for i = 1, 1 do
  724. swait()
  725. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-math.random(-180, 180))), 1)
  726. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.random(-180, 180))), 1)
  727. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(-math.random(-90, 90))), 1)
  728. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  729. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 1)
  730. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  731. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 1)
  732. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  733. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(-math.random(-90, 90))), 1)
  734. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  735. end
  736. for i = 1, 3 do
  737. swait()
  738. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-math.random(-180, 180))), 0.5)
  739. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.random(-180, 180))), 0.5)
  740. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(-math.random(-90, 90))), 0.5)
  741. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  742. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 0.5)
  743. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  744. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 0.5)
  745. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  746. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(-math.random(-90, 90))), 0.5)
  747. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  748. end
  749. CombatDebounce = false
  750. for i = 1, 2 do
  751. swait()
  752. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  753. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  754. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  755. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  756. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  757. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  758. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  759. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  760. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  761. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  762. end
  763. elseif Combo == 3 then
  764. Combo = 4
  765. for i = 1, 1 do
  766. swait()
  767. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.random(-180, 180))), 1)
  768. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.random(-180, 180))), 1)
  769. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(-math.random(-90, 90))), 1)
  770. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  771. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 1)
  772. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  773. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  774. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(-math.random(-90, 90))), 1)
  775. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  776. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  777. end
  778. for i = 1, 3 do
  779. swait()
  780. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(160)), 0.75)
  781. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(60)), 0.75)
  782. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(-math.random(-90, 90))), 0.75)
  783. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  784. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 0.75)
  785. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  786. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(-math.random(-90, 90))), 0.75)
  787. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  788. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 0.75)
  789. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  790. end
  791. CombatDebounce = false
  792. for i = 1, 2 do
  793. swait()
  794. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  795. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  796. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  797. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  798. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  799. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  800. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  801. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  802. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  803. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  804. end
  805. elseif Combo == 4 then
  806. Combo = 1
  807. for i = 1, 1 do
  808. swait()
  809. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-math.random(-180, 180))), 1)
  810. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.random(-180, 180))), 1)
  811. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 1)
  812. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  813. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 1)
  814. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  815. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 1)
  816. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  817. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 1)
  818. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  819. end
  820. for i = 1, 3 do
  821. swait()
  822. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-math.random(-180, 180))), 0.76)
  823. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.random(-180, 180))), 0.76)
  824. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 0.75)
  825. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  826. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 0.75)
  827. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  828. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 0.75)
  829. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  830. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(math.random(-90, 90)), rd(math.random(-90, 90))), 0.75)
  831. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  832. end
  833. CombatDebounce = false
  834. for i = 1, 2 do
  835. swait()
  836. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.76)
  837. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.76)
  838. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.76)
  839. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.76)
  840. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.76)
  841. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.76)
  842. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.76)
  843. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.76)
  844. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.76)
  845. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.76)
  846. end
  847. end
  848. end
  849. end
  850. resetlerp()
  851. end)
  852. mouse.Button1Up:connect(function()
  853. ButtonDown = false
  854. end)
  855. function Kamehameha()
  856. resetlerp()
  857. CombatDebounce = true
  858. attack = true
  859. anim.Parent = nil
  860. c.HumanoidRootPart.Anchored = true
  861. local P = Instance.new("Part", c)
  862. P.CanCollide = false
  863. P.Size = Vector3.new(0.2, 0.2, 0.2)
  864. P.Transparency = 1
  865. local W2 = Instance.new("Weld", c["Right Arm"])
  866. W2.Part0 = c["Right Arm"]
  867. W2.Part1 = P
  868. W2.C0 = CFrame.new(0, -1, 0)
  869. local tra
  870. if Form == "Kaioken" then
  871. tra = trazx:clone()
  872. tra.Parent = P
  873. tra.LightEmission = 1
  874. tra.Color = ColorSequence.new({
  875. ColorSequenceKeypoint.new(0, Color3.new(0, 0.6666666666666666, 1)),
  876. ColorSequenceKeypoint.new(0.5, Color3.new(0.3843137254901961, 0.8666666666666667, 1)),
  877. ColorSequenceKeypoint.new(1, Color3.new(1, 0.19607843137254902, 1))
  878. })
  879. tra.Rate = 50
  880. tra.Rotation = NumberRange.new(-360, 360)
  881. tra.Lifetime = NumberRange.new(1)
  882. tra.Size = NumberSequence.new({
  883. NumberSequenceKeypoint.new(0, 0.273, 0),
  884. NumberSequenceKeypoint.new(0.779, 0.984, 0.492),
  885. NumberSequenceKeypoint.new(1, 3.06, 0)
  886. })
  887. tra.Transparency = NumberSequence.new({
  888. NumberSequenceKeypoint.new(0, 1, 0),
  889. NumberSequenceKeypoint.new(0.135, 0, 0),
  890. NumberSequenceKeypoint.new(0.862, 0, 0),
  891. NumberSequenceKeypoint.new(1, 1, 0)
  892. })
  893. tra.Speed = NumberRange.new(0)
  894. tra.VelocitySpread = 360
  895. tra.LockedToPart = true
  896. tra.ZOffset = 3.6
  897. else
  898. tra = trazx:clone()
  899. tra.Parent = P
  900. tra.LightEmission = 1
  901. tra.Color = ColorSequence.new({
  902. ColorSequenceKeypoint.new(0, Color3.new(0, 0.6666666666666666, 1)),
  903. ColorSequenceKeypoint.new(0.5, Color3.new(0.3843137254901961, 0.8666666666666667, 1)),
  904. ColorSequenceKeypoint.new(1, Color3.new(0, 0.6666666666666666, 1))
  905. })
  906. tra.Rate = 50
  907. tra.Rotation = NumberRange.new(-360, 360)
  908. tra.Lifetime = NumberRange.new(1)
  909. tra.Size = NumberSequence.new({
  910. NumberSequenceKeypoint.new(0, 0.273, 0),
  911. NumberSequenceKeypoint.new(0.779, 0.984, 0.492),
  912. NumberSequenceKeypoint.new(1, 3.06, 0)
  913. })
  914. tra.Transparency = NumberSequence.new({
  915. NumberSequenceKeypoint.new(0, 1, 0),
  916. NumberSequenceKeypoint.new(0.135, 0, 0),
  917. NumberSequenceKeypoint.new(0.862, 0, 0),
  918. NumberSequenceKeypoint.new(1, 1, 0)
  919. })
  920. tra.Speed = NumberRange.new(0)
  921. tra.VelocitySpread = 360
  922. tra.LockedToPart = true
  923. tra.ZOffset = 3.6
  924. end
  925. local S4 = Instance.new("Sound", c.HumanoidRootPart)
  926. S4.SoundId = "rbxassetid://825760017"
  927. S4.Volume = 1
  928. S4:Play()
  929. for i = 1, 300 do
  930. swait()
  931. c.HumanoidRootPart.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(0, 0, 0)).p, mouse.hit.p)
  932. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(15), rd(-5), rd(-90)), 0.5)
  933. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.5)
  934. lerpz(RS, "C0", RSC0 * cf(0, 0.25, 0) * ang(rd(35), rd(15), rd(35)), 0.5)
  935. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  936. lerpz(LS, "C0", LSC0 * cf(0, 0.25, -0.5) * ang(rd(65), rd(15), rd(-35)), 0.5)
  937. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  938. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(5)), 0.5)
  939. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  940. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-5)), 0.5)
  941. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  942. end
  943. if Form == "Kaioken" then
  944. tra.Size = NumberSequence.new({
  945. NumberSequenceKeypoint.new(0, 0, 0),
  946. NumberSequenceKeypoint.new(0.4, 6.92, 0.492),
  947. NumberSequenceKeypoint.new(1, 3.44, 0)
  948. })
  949. else
  950. tra.Size = NumberSequence.new({
  951. NumberSequenceKeypoint.new(0, 0, 0),
  952. NumberSequenceKeypoint.new(0.275, 4.92, 0.492),
  953. NumberSequenceKeypoint.new(1, 1.44, 0)
  954. })
  955. end
  956. W2.C0 = CFrame.new(0, -2.5, 0)
  957. S4:Stop()
  958. S4.SoundId = "rbxassetid://256643436"
  959. S4:Play()
  960. S4.Volume = 5
  961. tra.ZOffset = 3.6
  962. for i = 1, 4 do
  963. swait()
  964. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  965. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  966. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(90)), 0.5)
  967. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  968. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(-90)), 0.5)
  969. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  970. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.5)
  971. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  972. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.5)
  973. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  974. end
  975. local PE, PE3
  976. if Form ~= "Kaioken" then
  977. PE = Instance.new("Part", c)
  978. PE.Size = Vector3.new(2, 2, 2)
  979. PE.Material = "Neon"
  980. PE.BrickColor = BrickColor.new("Light blue")
  981. PE.CanCollide = false
  982. PE.Anchored = true
  983. else
  984. PE = Instance.new("Part", c)
  985. PE.Size = Vector3.new(4, 4, 4)
  986. PE.Material = "Neon"
  987. PE.BrickColor = BrickColor.new("Bright red")
  988. PE.CanCollide = false
  989. PE.Anchored = true
  990. PE3 = Instance.new("Part", c)
  991. PE3.Size = Vector3.new(4.1, 4.1, 4.1)
  992. PE3.Material = "Neon"
  993. PE3.Transparency = 0.5
  994. PE3.BrickColor = BrickColor.new("Light blue")
  995. PE3.CanCollide = false
  996. PE3.Anchored = true
  997. end
  998. local Charge2 = 0
  999. for i = 1, 100 do
  1000. Charge2 = Charge2 + 1
  1001. PE.Size = PE.Size + Vector3.new(0, 0, 2)
  1002. if Form == "Kaioken" then
  1003. PE3.Size = PE3.Size + Vector3.new(0, 0, 2)
  1004. end
  1005. PE.Touched:connect(function(Hit)
  1006. if Hit.Anchored == false and Hit.Parent ~= c then
  1007. local BV2 = Instance.new("BodyVelocity", Hit)
  1008. BV2.Velocity = c.HumanoidRootPart.CFrame.lookVector * 400
  1009. BV2.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1010. game.Debris:AddItem(BV2, 0.5)
  1011. end
  1012. swait()
  1013. end)
  1014. if Form == "Kaioken" then
  1015. PE3.CFrame = c.HumanoidRootPart.CFrame * CFrame.new(0, 0, -2 + -2 * Charge2)
  1016. PE.CFrame = c.HumanoidRootPart.CFrame * CFrame.new(0, 0, -2 + -2 * Charge2)
  1017. else
  1018. PE.CFrame = c.HumanoidRootPart.CFrame * CFrame.new(0, 0, -2 + -2 * Charge2)
  1019. end
  1020. swait()
  1021. end
  1022. tra.Enabled = false
  1023. for i = 1, 80 do
  1024. Charge2 = Charge2 + 1
  1025. if Form == "Kaioken" then
  1026. PE3.Size = PE3.Size + Vector3.new(-0.025, -0.025, 4)
  1027. PE3.Velocity = Vector3.new(0, 0, 0)
  1028. PE3.Transparency = PE3.Transparency + 0.0125
  1029. PE.Size = PE.Size + Vector3.new(-0.025, -0.025, 4)
  1030. PE.Velocity = Vector3.new(0, 0, 0)
  1031. PE.Transparency = PE.Transparency + 0.0125
  1032. PE3.CFrame = c.HumanoidRootPart.CFrame * CFrame.new(0, 0, -2 + -2 * Charge2)
  1033. PE.CFrame = c.HumanoidRootPart.CFrame * CFrame.new(0, 0, -2 + -2 * Charge2)
  1034. else
  1035. PE.CFrame = c.HumanoidRootPart.CFrame * CFrame.new(0, 0, -2 + -2 * Charge2)
  1036. PE.Size = PE.Size + Vector3.new(-0.025, -0.025, 4)
  1037. PE.Velocity = Vector3.new(0, 0, 0)
  1038. PE.Transparency = PE.Transparency + 0.0125
  1039. end
  1040. swait()
  1041. end
  1042. P:remove()
  1043. PE:remove()
  1044. c.HumanoidRootPart.Anchored = false
  1045. if Form == "Kaioken" then
  1046. PE3:remove()
  1047. end
  1048. anim.Parent = Humanoid
  1049. resetlerp()
  1050. attack = false
  1051. CombatDebounce = false
  1052. end
  1053. function SuperKamehameha()
  1054. resetlerp()
  1055. CombatDebounce = true
  1056. attack = true
  1057. anim.Parent = nil
  1058. c.HumanoidRootPart.Anchored = true
  1059. local P = Instance.new("Part", c)
  1060. P.CanCollide = false
  1061. P.Size = Vector3.new(0.2, 0.2, 0.2)
  1062. P.Transparency = 1
  1063. local W2 = Instance.new("Weld", c["Right Arm"])
  1064. W2.Part0 = c["Right Arm"]
  1065. W2.Part1 = P
  1066. W2.C0 = CFrame.new(0, -1, 0)
  1067. local tra
  1068. if Form == "Kaioken" then
  1069. tra = trazx:clone()
  1070. tra.Parent = P
  1071. tra.LightEmission = 1
  1072. tra.Color = ColorSequence.new({
  1073. ColorSequenceKeypoint.new(0, Color3.new(0, 0.6666666666666666, 1)),
  1074. ColorSequenceKeypoint.new(0.5, Color3.new(0.3843137254901961, 0.8666666666666667, 1)),
  1075. ColorSequenceKeypoint.new(1, Color3.new(1, 0.19607843137254902, 0.7843137254901961))
  1076. })
  1077. tra.Rate = 50
  1078. tra.Rotation = NumberRange.new(-360, 360)
  1079. tra.Lifetime = NumberRange.new(0.5)
  1080. tra.Size = NumberSequence.new({
  1081. NumberSequenceKeypoint.new(0, 0.4, 0),
  1082. NumberSequenceKeypoint.new(0.779, 2, 0.492),
  1083. NumberSequenceKeypoint.new(1, 4.5, 0)
  1084. })
  1085. tra.Transparency = NumberSequence.new({
  1086. NumberSequenceKeypoint.new(0, 1, 0),
  1087. NumberSequenceKeypoint.new(0.135, 0, 0),
  1088. NumberSequenceKeypoint.new(0.862, 0, 0),
  1089. NumberSequenceKeypoint.new(1, 1, 0)
  1090. })
  1091. tra.Speed = NumberRange.new(0)
  1092. tra.VelocitySpread = 360
  1093. tra.LockedToPart = true
  1094. tra.ZOffset = 3.6
  1095. else
  1096. tra = trazx:clone()
  1097. tra.Parent = P
  1098. tra.LightEmission = 1
  1099. tra.Color = ColorSequence.new({
  1100. ColorSequenceKeypoint.new(0, Color3.new(0, 0.6666666666666666, 1)),
  1101. ColorSequenceKeypoint.new(0.5, Color3.new(0.3843137254901961, 0.8666666666666667, 1)),
  1102. ColorSequenceKeypoint.new(1, Color3.new(0, 0.6666666666666666, 1))
  1103. })
  1104. tra.Rate = 50
  1105. tra.Rotation = NumberRange.new(-360, 360)
  1106. tra.Lifetime = NumberRange.new(0.5)
  1107. tra.Size = NumberSequence.new({
  1108. NumberSequenceKeypoint.new(0, 0.4, 0),
  1109. NumberSequenceKeypoint.new(0.779, 2, 0.492),
  1110. NumberSequenceKeypoint.new(1, 4.5, 0)
  1111. })
  1112. tra.Transparency = NumberSequence.new({
  1113. NumberSequenceKeypoint.new(0, 1, 0),
  1114. NumberSequenceKeypoint.new(0.135, 0, 0),
  1115. NumberSequenceKeypoint.new(0.862, 0, 0),
  1116. NumberSequenceKeypoint.new(1, 1, 0)
  1117. })
  1118. tra.Speed = NumberRange.new(0)
  1119. tra.VelocitySpread = 360
  1120. tra.LockedToPart = true
  1121. tra.ZOffset = 3.6
  1122. end
  1123. local S4 = Instance.new("Sound", P)
  1124. S4.SoundId = "rbxassetid://858904104"
  1125. S4.Volume = 2.5
  1126. S4:Play()
  1127. for i = 1, 300 do
  1128. swait()
  1129. c.HumanoidRootPart.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(0, 0, 0)).p, mouse.hit.p)
  1130. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(15), rd(-5), rd(-90)), 0.5)
  1131. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.5)
  1132. lerpz(RS, "C0", RSC0 * cf(0, 0.25, 0) * ang(rd(35), rd(15), rd(35)), 0.5)
  1133. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1134. lerpz(LS, "C0", LSC0 * cf(0, 0.25, -0.5) * ang(rd(65), rd(15), rd(-35)), 0.5)
  1135. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1136. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(5)), 0.5)
  1137. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1138. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-5)), 0.5)
  1139. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1140. end
  1141. if Form == "Kaioken" then
  1142. tra.Size = NumberSequence.new({
  1143. NumberSequenceKeypoint.new(0, 14, 0),
  1144. NumberSequenceKeypoint.new(0.275, 14, 0.492),
  1145. NumberSequenceKeypoint.new(1, 14, 0)
  1146. })
  1147. else
  1148. tra.Size = NumberSequence.new({
  1149. NumberSequenceKeypoint.new(0, 10, 0),
  1150. NumberSequenceKeypoint.new(0.275, 10, 0.492),
  1151. NumberSequenceKeypoint.new(1, 10, 0)
  1152. })
  1153. end
  1154. W2:remove()
  1155. P.CFrame = c.HumanoidRootPart.CFrame * CFrame.new(0, 0, -5)
  1156. P.Anchored = true
  1157. S4:Stop()
  1158. S4.SoundId = "rbxassetid://870984991"
  1159. S4:Play()
  1160. S4.Volume = 5
  1161. tra.ZOffset = 3.6
  1162. for i = 1, 4 do
  1163. swait()
  1164. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1165. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1166. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(30), rd(90)), 0.5)
  1167. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1168. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-30), rd(-90)), 0.5)
  1169. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1170. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.5)
  1171. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1172. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.5)
  1173. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1174. end
  1175. local PE, PE3
  1176. if Form ~= "Kaioken" then
  1177. PE = Instance.new("Part", c)
  1178. PE.Size = Vector3.new(5, 5, 5)
  1179. PE.Material = "Neon"
  1180. PE.BrickColor = BrickColor.new("Light blue")
  1181. PE.CanCollide = false
  1182. PE.Anchored = true
  1183. else
  1184. PE = Instance.new("Part", c)
  1185. PE.Size = Vector3.new(9, 9, 9)
  1186. PE.Material = "Neon"
  1187. PE.BrickColor = BrickColor.new("Bright red")
  1188. PE.CanCollide = false
  1189. PE.Anchored = true
  1190. PE3 = Instance.new("Part", c)
  1191. PE3.Size = Vector3.new(9.1, 9.1, 9.1)
  1192. PE3.Material = "Neon"
  1193. PE3.Transparency = 0.5
  1194. PE3.BrickColor = BrickColor.new("Light blue")
  1195. PE3.CanCollide = false
  1196. PE3.Anchored = true
  1197. end
  1198. local Charge2 = 0
  1199. for i = 1, 100 do
  1200. Charge2 = Charge2 + 1
  1201. PE.Size = PE.Size + Vector3.new(0, 0, 4)
  1202. if Form == "Kaioken" then
  1203. PE3.Size = PE3.Size + Vector3.new(0, 0, 4)
  1204. end
  1205. PE.Touched:connect(function(Hit)
  1206. if Hit.Anchored == false and Hit.Parent ~= c then
  1207. Hit:remove()
  1208. end
  1209. swait()
  1210. end)
  1211. PE.CFrame = c.HumanoidRootPart.CFrame * CFrame.new(0, 0, -6 + -2 * Charge2)
  1212. if Form == "Kaioken" then
  1213. PE3.CFrame = c.HumanoidRootPart.CFrame * CFrame.new(0, 0, -6 + -2 * Charge2)
  1214. end
  1215. swait()
  1216. end
  1217. tra.Enabled = false
  1218. for i = 1, 80 do
  1219. Charge2 = Charge2 + 1
  1220. PE.Size = PE.Size + Vector3.new(-0.2, -0.2, 4)
  1221. PE.Velocity = Vector3.new(0, 0, 0)
  1222. PE.Transparency = PE.Transparency + 0.025
  1223. PE.CFrame = c.HumanoidRootPart.CFrame * CFrame.new(0, 0, -2 * Charge2)
  1224. PE.CFrame = PE.CFrame * CFrame.new(0, 0, -6)
  1225. if Form == "Kaioken" then
  1226. PE3.Size = PE3.Size + Vector3.new(-0.2005, -0.2005, 4)
  1227. PE3.CFrame = c.HumanoidRootPart.CFrame * CFrame.new(0, 0, -6 + -2 * Charge2)
  1228. end
  1229. swait()
  1230. end
  1231. game.Debris:AddItem(PE, 0)
  1232. game.Debris:AddItem(P, 10)
  1233. if Form == "Kaioken" then
  1234. game.Debris:AddItem(PE, 0)
  1235. end
  1236. anim.Parent = Humanoid
  1237. resetlerp()
  1238. c.HumanoidRootPart.Anchored = false
  1239. attack = false
  1240. CombatDebounce = false
  1241. end
  1242. function FireSpiritBomb(Bomb)
  1243. local Hit = false
  1244. Spawn(function()
  1245. if Hit == true then
  1246. return
  1247. end
  1248. Bomb.CFrame = Bomb.CFrame * CFrame.new(0, 0, -1)
  1249. swait()
  1250. end)
  1251. end
  1252. function SpiritBomb()
  1253. resetlerp()
  1254. CombatDebounce = true
  1255. attack = true
  1256. anim.Parent = nil
  1257. c.HumanoidRootPart.Anchored = true
  1258. local PE
  1259. PE = Instance.new("Part", c)
  1260. PE.Size = Vector3.new(0.2, 0.2, 0.2)
  1261. PE.Material = "Neon"
  1262. PE.BrickColor = BrickColor.new("Light blue")
  1263. PE.CanCollide = false
  1264. PE.Anchored = true
  1265. PE.Shape = "Ball"
  1266. local P = Instance.new("Part", c)
  1267. P.CanCollide = false
  1268. P.Size = Vector3.new(0.2, 0.2, 0.2)
  1269. P.Transparency = 1
  1270. local tra
  1271. tra = trazx:clone()
  1272. tra.Parent = P
  1273. tra.LightEmission = 1
  1274. tra.Color = ColorSequence.new({
  1275. ColorSequenceKeypoint.new(0, Color3.new(0, 0.6666666666666666, 1)),
  1276. ColorSequenceKeypoint.new(0.5, Color3.new(0.3843137254901961, 0.8666666666666667, 1)),
  1277. ColorSequenceKeypoint.new(1, Color3.new(0, 0.6666666666666666, 1))
  1278. })
  1279. tra.Rate = 50
  1280. tra.Rotation = NumberRange.new(-360, 360)
  1281. tra.Lifetime = NumberRange.new(0.5)
  1282. tra.Size = NumberSequence.new({
  1283. NumberSequenceKeypoint.new(0, 0.4, 0),
  1284. NumberSequenceKeypoint.new(0.779, 2, 0.492),
  1285. NumberSequenceKeypoint.new(1, 4.5, 0)
  1286. })
  1287. tra.Transparency = NumberSequence.new({
  1288. NumberSequenceKeypoint.new(0, 1, 0),
  1289. NumberSequenceKeypoint.new(0.135, 0, 0),
  1290. NumberSequenceKeypoint.new(0.862, 0, 0),
  1291. NumberSequenceKeypoint.new(1, 1, 0)
  1292. })
  1293. tra.Speed = NumberRange.new(0)
  1294. tra.VelocitySpread = 360
  1295. tra.LockedToPart = true
  1296. tra.ZOffset = 4
  1297. local S4 = Instance.new("Sound", P)
  1298. S4.SoundId = "rbxassetid://858904104"
  1299. S4.Volume = 2.5
  1300. S4:Play()
  1301. for i = 1, 50 do
  1302. swait()
  1303. c.HumanoidRootPart.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(0, 0, 0)).p, mouse.hit.p)
  1304. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1305. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1306. lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(10), rd(0), rd(180)), 0.5)
  1307. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1308. lerpz(LS, "C0", LSC0 * cf(0, 0.5, 0) * ang(rd(10), rd(0), rd(180)), 0.5)
  1309. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1310. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.5)
  1311. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1312. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.5)
  1313. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1314. end
  1315. for i = 1, 900 do
  1316. c.HumanoidRootPart.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(0, 0, 0)).p, mouse.hit.p)
  1317. tra.Size = NumberSequence.new({
  1318. NumberSequenceKeypoint.new(0, 0.2 + 0.05 * i, 0),
  1319. NumberSequenceKeypoint.new(1, 0.2 + 0.05 * i, 0)
  1320. })
  1321. PE.Size = PE.Size + Vector3.new(0.05, 0.05, 0.05)
  1322. PE.CFrame = c.HumanoidRootPart.CFrame * CFrame.new(0, 25, 0)
  1323. P.CFrame = c.HumanoidRootPart.CFrame * CFrame.new(0, 25, 0)
  1324. swait()
  1325. end
  1326. for i = 1, 4 do
  1327. swait()
  1328. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(10), rd(0)), 0.5)
  1329. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1330. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.5)
  1331. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1332. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.5)
  1333. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1334. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.5)
  1335. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1336. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.5)
  1337. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1338. end
  1339. local W2 = Instance.new("Weld", PE)
  1340. W2.Part0 = PE
  1341. W2.Part1 = P
  1342. W2.C0 = CFrame.new(0, 0, 0)
  1343. S4:Stop()
  1344. S4.SoundId = "rbxassetid://870984991"
  1345. S4:Play()
  1346. S4.Volume = 5
  1347. PE.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0, 0, 0)).p, mouse.hit.p)
  1348. PE.CFrame = PE.CFrame * CFrame.new(0, 0, -25)
  1349. FireSpiritBomb(PE)
  1350. anim.Parent = Humanoid
  1351. resetlerp()
  1352. c.HumanoidRootPart.Anchored = false
  1353. attack = false
  1354. CombatDebounce = false
  1355. end
  1356. mouse.KeyDown:connect(function(key)
  1357. if attack == true then
  1358. return
  1359. end
  1360. if key == "z" then
  1361. Kamehameha()
  1362. end
  1363. if key == "x" then
  1364. SuperKamehameha()
  1365. end
  1366. if key == "c" then
  1367. SpiritBomb()
  1368. end
  1369. if key == "m" then
  1370. SSJB()
  1371. end
  1372. end)
  1373. game:GetService("RunService").RenderStepped:connect(function()
  1374. Humanoid.MaxHealth = Humanoid.MaxHealth * 2
  1375. Humanoid.Health = Humanoid.MaxHealth * 2
  1376. if attack == false then
  1377. for i, v in pairs(c:children()) do
  1378. if v.ClassName == "Accessory" then
  1379. for i, v2 in pairs(v:children()) do
  1380. if v2.ClassName == "Part" then
  1381. v2.Anchored = false
  1382. end
  1383. end
  1384. end
  1385. end
  1386. for i, v in pairs(c:children()) do
  1387. if v.ClassName == "Part" then
  1388. v.Anchored = false
  1389. end
  1390. end
  1391. end
  1392. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement