Advertisement
DontAskme

lolrekta

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