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