rahuliscool

SSJB Goku (R6)

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