ViggoCS

RARE_GOKU

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