SHOW:
|
|
- or go back to the newest paste.
| 1 | -- BurnLegion strikes again! | |
| 2 | -- wongxd, this is why you DON'T goto Voidacity's | |
| 3 | -- SLPM has been absent, so I've taken it upon myself to make something | |
| 4 | -- Sound credit by jasonskg123 and affady482 | |
| 5 | - | warn"when you're bad time mode do q then u will be Fell :)" |
| 5 | + | warn"edit by ExplosiveDaniel if you see him in game ur really lucky!" |
| 6 | - | warn"edit by ExplosiveDaniel if you see him ur lucky!" |
| 6 | + | warn"if you're in bad time mode then press q then ur error" |
| 7 | -------------------------------------------------------- | |
| 8 | ||
| 9 | pls = game:GetService'Players' | |
| 10 | rs = game:GetService'RunService' | |
| 11 | uinps = game:GetService'UserInputService' | |
| 12 | lp = pls.LocalPlayer | |
| 13 | mouse = lp:GetMouse() | |
| 14 | c = lp.Character | |
| 15 | human = c.Humanoid | |
| 16 | human.MaxHealth = 100000000000000 | |
| 17 | wait() | |
| 18 | human.Health = 100000000000000 | |
| 19 | c.Health:Destroy() | |
| 20 | ||
| 21 | -------------------------------------------------------- | |
| 22 | ||
| 23 | Debounces = {
| |
| 24 | AnimationCycles = 0; | |
| 25 | FPS = 0; | |
| 26 | scalingDamage = false; | |
| 27 | damageLevel = 0; | |
| 28 | attackNumber = 0; | |
| 29 | isAttacking = false; | |
| 30 | isMoving = false; | |
| 31 | isSprinting = false; | |
| 32 | isBoosting = false; | |
| 33 | isPassive = false; | |
| 34 | isTyping = false; | |
| 35 | } | |
| 36 | ||
| 37 | -------------------------------------------------------- | |
| 38 | ||
| 39 | numLerp = function(start, goal, alpha) | |
| 40 | return(((goal - start) * alpha) + start) | |
| 41 | end | |
| 42 | ||
| 43 | CFrameZero = function() | |
| 44 | return CFrame.new(Vector3.new()) | |
| 45 | end | |
| 46 | ||
| 47 | rad = function(value) | |
| 48 | return math.rad(value) | |
| 49 | end | |
| 50 | ||
| 51 | CFAngles = function(Vector) | |
| 52 | return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z)) | |
| 53 | end | |
| 54 | ||
| 55 | -------------------------------------------------------- | |
| 56 | ||
| 57 | AnimStat = {
| |
| 58 | lerpSpeed = .2; | |
| 59 | lerpSpeed2 = .35; | |
| 60 | lerpTween = 0; | |
| 61 | } | |
| 62 | ||
| 63 | Joints = {
| |
| 64 | c.HumanoidRootPart.RootJoint; | |
| 65 | c.Torso.Neck; | |
| 66 | c.Torso['Left Shoulder']; | |
| 67 | c.Torso['Right Shoulder']; | |
| 68 | c.Torso['Left Hip']; | |
| 69 | c.Torso['Right Hip']; | |
| 70 | } | |
| 71 | ||
| 72 | JointTargets = {
| |
| 73 | CFrameZero(); | |
| 74 | CFrameZero(); | |
| 75 | CFrameZero(); | |
| 76 | CFrameZero(); | |
| 77 | CFrameZero(); | |
| 78 | CFrameZero(); | |
| 79 | } | |
| 80 | ||
| 81 | ||
| 82 | ||
| 83 | prepareCharacter = function() | |
| 84 | local transPoints = {
| |
| 85 | NumberSequenceKeypoint.new(0,.819,.0375), | |
| 86 | NumberSequenceKeypoint.new(.207,.594,.0187), | |
| 87 | NumberSequenceKeypoint.new(.4,.55,.031), | |
| 88 | NumberSequenceKeypoint.new(.57,.619,.05), | |
| 89 | NumberSequenceKeypoint.new(.76,.8,.0375), | |
| 90 | NumberSequenceKeypoint.new(1,1,0), | |
| 91 | } | |
| 92 | local sizePoints = {
| |
| 93 | NumberSequenceKeypoint.new(0,.687,0), | |
| 94 | NumberSequenceKeypoint.new(.111,.875,0), | |
| 95 | NumberSequenceKeypoint.new(.327,1.19,0), | |
| 96 | NumberSequenceKeypoint.new(.646,1.56,0), | |
| 97 | NumberSequenceKeypoint.new(.805,1.37,0), | |
| 98 | NumberSequenceKeypoint.new(.905,1.06,0), | |
| 99 | NumberSequenceKeypoint.new(.968,.938,0), | |
| 100 | NumberSequenceKeypoint.new(.984,1.13,0), | |
| 101 | NumberSequenceKeypoint.new(1,1.62,0), | |
| 102 | } | |
| 103 | local Size = NumberSequence.new(sizePoints) | |
| 104 | local Transparency = NumberSequence.new(transPoints) | |
| 105 | rayModel = Instance.new("Model",c)
| |
| 106 | efxBlock = Instance.new("Part",c)
| |
| 107 | - | efxBlock.BrickColor = BrickColor.new("Bright red")
|
| 107 | + | efxBlock.BrickColor = BrickColor.new("Black")
|
| 108 | efxBlock.Material = "Neon" | |
| 109 | efxBlock.FormFactor = "Custom" | |
| 110 | efxBlock.Transparency = .3 | |
| 111 | efxBlock.Size = Vector3.new(.3,.3,.3) | |
| 112 | local mesh = Instance.new("SpecialMesh",efxBlock)
| |
| 113 | mesh.MeshType = Enum.MeshType.Sphere | |
| 114 | mesh.Scale = Vector3.new(1,1,1) | |
| 115 | light = Instance.new("PointLight",c.Head)
| |
| 116 | light.Range = 10 | |
| 117 | - | light.Color = Color3.new(21,21,21) |
| 117 | + | light.Color = Color3.new(0,0,0) |
| 118 | light.Shadows = false | |
| 119 | local particles = Instance.new("ParticleEmitter",efxBlock)
| |
| 120 | particles.Color = ColorSequence.new(Color3.new(0,0,0/0),Color3.new(0/0,0/0,0/0)) | |
| 121 | particles.LightEmission = .95 | |
| 122 | particles.Size = Size | |
| 123 | particles.Name = "Fire" | |
| 124 | particles.Transparency = Transparency | |
| 125 | particles.LockedToPart = true | |
| 126 | particles.VelocityInheritance = .5 | |
| 127 | particles.LockedToPart = true | |
| 128 | particles.Rate = 70 | |
| 129 | - | particles.Texture = "rbxassetid://43708993" |
| 129 | + | particles.Texture = "rbxassetid://129170332" |
| 130 | particles.Lifetime = NumberRange.new(2,2) | |
| 131 | particles.RotSpeed = NumberRange.new(100,100) | |
| 132 | particles.Speed = NumberRange.new(7,7) | |
| 133 | script.Parent = efxBlock | |
| 134 | fire = particles | |
| 135 | local offset = Vector3.new(-0.11, .23, -0.5) | |
| 136 | local weld = Instance.new("Weld",c.Head)
| |
| 137 | weld.Part0 = c.Head | |
| 138 | weld.Part1 = efxBlock | |
| 139 | weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40)) | |
| 140 | efxBlock.Parent = c | |
| 141 | local music = Instance.new("Sound",c)
| |
| 142 | - | music.SoundId = "rbxassetid://893314717" |
| 142 | + | music.SoundId = "rbxassetid://402783719" |
| 143 | music.Looped = true | |
| 144 | music.Volume = 4.5 | |
| 145 | fight = music | |
| 146 | local music2 = Instance.new("Sound",c)
| |
| 147 | - | music2.SoundId = "rbxassetid://477519375" |
| 147 | + | music2.SoundId = "rbxassetid://1267815025" |
| 148 | music2.Looped = true | |
| 149 | music2.Volume = 4.5 | |
| 150 | sans = music2 | |
| 151 | pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
| |
| 152 | pointGyro.P = 1e7 | |
| 153 | pointGyro.D = 1e3 | |
| 154 | pointGyro.MaxTorque = Vector3.new(0,1e7,0) | |
| 155 | animator = c.Humanoid:FindFirstChild("Animator")
| |
| 156 | if animator then | |
| 157 | animator:Destroy() | |
| 158 | end | |
| 159 | c.Torso.roblox:Destroy() | |
| 160 | for i,v in pairs (c.Head:children()) do | |
| 161 | if v.ClassName == "Sound" then | |
| 162 | v:Destroy() | |
| 163 | end | |
| 164 | end | |
| 165 | for i = 1,#Joints do | |
| 166 | Joints[i].C1 = CFrame.new(Vector3.new()) | |
| 167 | end | |
| 168 | human.WalkSpeed = 0 | |
| 169 | human.JumpPower = 0 | |
| 170 | end | |
| 171 | ||
| 172 | uinps.InputBegan:connect(function(InputObject) | |
| 173 | if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then | |
| 174 | Debounces.isPassive = not Debounces.isPassive | |
| 175 | end | |
| 176 | end) | |
| 177 | ||
| 178 | setJointCFrames = function(table) | |
| 179 | for i = 1,#table do | |
| 180 | JointTargets[i] = table[i] | |
| 181 | end | |
| 182 | AnimationCycles = 0 | |
| 183 | end | |
| 184 | ||
| 185 | setLerp = function(speed) | |
| 186 | AnimStat.lerpSpeed = speed | |
| 187 | end | |
| 188 | ||
| 189 | setTween = function(tween) | |
| 190 | AnimStat.lerpTween = tween | |
| 191 | end | |
| 192 | ||
| 193 | takeDamage = function(position,damage,distance,platformStand) | |
| 194 | for i,v in pairs (pls:children()) do | |
| 195 | if v.ClassName == "Player" and v:FindFirstChild("Character") then
| |
| 196 | local torso = v.Character:FindFirstChild("Torso")
| |
| 197 | if torso and (torso.Position - position).magnitude < distance then | |
| 198 | v.Character.Humanoid:TakeDamage(damage) | |
| 199 | if platformStand == true then | |
| 200 | v.Character.PlatformStand = platformStand | |
| 201 | end | |
| 202 | end | |
| 203 | end | |
| 204 | end | |
| 205 | end | |
| 206 | ||
| 207 | ||
| 208 | -------------------------------------------------------- | |
| 209 | ||
| 210 | prepareCharacter() | |
| 211 | ||
| 212 | -------------------------------------------------------- | |
| 213 | ||
| 214 | spawn(function() | |
| 215 | local sine = 0 | |
| 216 | while wait() do | |
| 217 | pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100) | |
| 218 | if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then | |
| 219 | setLerp(.1) | |
| 220 | if Debounces.isPassive == true then | |
| 221 | setJointCFrames({
| |
| 222 | CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0)); | |
| 223 | CFrame.new(Vector3.new(-0.001, 1.52 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(-10.861 + math.sin((-tick() + 2) * 1.5) * 5, 13.765, -1.658)); | |
| 224 | CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0)); | |
| 225 | CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15)); | |
| 226 | CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489)); | |
| 227 | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001)); | |
| 228 | }) | |
| 229 | else | |
| 230 | setJointCFrames({
| |
| 231 | CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0)); | |
| 232 | CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001)); | |
| 233 | CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51)); | |
| 234 | CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511)); | |
| 235 | CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0)); | |
| 236 | CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0)); | |
| 237 | }) | |
| 238 | end | |
| 239 | elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then | |
| 240 | sine = sine + math.rad(12) | |
| 241 | human.WalkSpeed = 15 | |
| 242 | setLerp(.15) | |
| 243 | setJointCFrames({
| |
| 244 | CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0)); | |
| 245 | CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001)); | |
| 246 | CFrame.new(Vector3.new(-1.97, 0 + math.sin(sine + .5)/20, 0.1 + math.sin(-sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(sine) * 23, 0, 0)); | |
| 247 | CFrame.new(Vector3.new(1.97, 0 - math.sin(sine + .5)/20, 0.1 + math.sin(sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(-sine) * 23, 0, 0)); | |
| 248 | CFrame.new(Vector3.new(-0.5, -1.93 - math.cos(sine)/8.7, 0.2 + math.sin(sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(-sine) * 30, 0, 0)); | |
| 249 | CFrame.new(Vector3.new(0.5, -1.93 + math.cos(sine)/8.7, 0.2 + math.sin(-sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(sine) * 30, 0, 0)); | |
| 250 | }) | |
| 251 | end | |
| 252 | if Debounces.scalingDamage == true then | |
| 253 | takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true) | |
| 254 | end | |
| 255 | end | |
| 256 | end) | |
| 257 | ||
| 258 | human.Changed:connect(function(prop) | |
| 259 | if prop == "MoveDirection" then | |
| 260 | if human.MoveDirection.magnitude > .02 then | |
| 261 | Debounces.isMoving = true | |
| 262 | else | |
| 263 | Debounces.isMoving = false | |
| 264 | end | |
| 265 | end | |
| 266 | end) | |
| 267 | ||
| 268 | uinps.InputBegan:connect(function(InputObject) | |
| 269 | if InputObject.KeyCode == Enum.KeyCode.A and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then | |
| 270 | Debounces.isBoosting = true | |
| 271 | Debounces.damageLevel = 5000 | |
| 272 | Debounces.scalingDamage = true | |
| 273 | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
| |
| 274 | setLerp(.15) | |
| 275 | setJointCFrames({
| |
| 276 | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20)); | |
| 277 | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837)); | |
| 278 | CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45)); | |
| 279 | CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45)); | |
| 280 | CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495)); | |
| 281 | CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999)); | |
| 282 | }) | |
| 283 | local boostSpeed = 250 | |
| 284 | local efx = Instance.new("Sound",c.Head)
| |
| 285 | efx.SoundId = "rbxassetid://200632875" | |
| 286 | efx.Pitch = math.random(1100,1300)/1000 | |
| 287 | efx.Volume = .5 | |
| 288 | efx:Play() | |
| 289 | spawn(function() | |
| 290 | wait(5) | |
| 291 | efx:Destroy() | |
| 292 | end) | |
| 293 | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed | |
| 294 | vel.P = 1e3 | |
| 295 | vel.MaxForce = Vector3.new(math.huge,0,math.huge) | |
| 296 | wait(.15) | |
| 297 | vel.P = 1000 | |
| 298 | vel.MaxForce = Vector3.new(3000,0,3000) | |
| 299 | vel.Velocity = Vector3.new() | |
| 300 | wait(.3) | |
| 301 | setLerp(.3) | |
| 302 | setJointCFrames({
| |
| 303 | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13)); | |
| 304 | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879)); | |
| 305 | CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45)); | |
| 306 | CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383)); | |
| 307 | CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457)); | |
| 308 | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968)); | |
| 309 | }) | |
| 310 | wait(.2) | |
| 311 | vel:Destroy() | |
| 312 | Debounces.damageLevel = 0 | |
| 313 | Debounces.scalingDamage = false | |
| 314 | Debounces.isBoosting = false | |
| 315 | end | |
| 316 | end) | |
| 317 | ||
| 318 | uinps.InputBegan:connect(function(InputObject) | |
| 319 | if InputObject.KeyCode == Enum.KeyCode.D and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then | |
| 320 | Debounces.isBoosting = true | |
| 321 | Debounces.damageLevel = 5000 | |
| 322 | Debounces.scalingDamage = true | |
| 323 | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
| |
| 324 | setLerp(.15) | |
| 325 | setJointCFrames({
| |
| 326 | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15)); | |
| 327 | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645)); | |
| 328 | CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853)); | |
| 329 | CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102)); | |
| 330 | CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566)); | |
| 331 | CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528)); | |
| 332 | }) | |
| 333 | local boostSpeed = 250 | |
| 334 | local efx = Instance.new("Sound",c.Head)
| |
| 335 | efx.SoundId = "rbxassetid://200632875" | |
| 336 | efx.Pitch = math.random(1100,1300)/1000 | |
| 337 | efx.Volume = .5 | |
| 338 | efx:Play() | |
| 339 | spawn(function() | |
| 340 | wait(5) | |
| 341 | efx:Destroy() | |
| 342 | end) | |
| 343 | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed | |
| 344 | vel.P = 1e3 | |
| 345 | vel.MaxForce = Vector3.new(math.huge,0,math.huge) | |
| 346 | wait(.15) | |
| 347 | vel.P = 1000 | |
| 348 | vel.MaxForce = Vector3.new(3000,0,3000) | |
| 349 | vel.Velocity = Vector3.new() | |
| 350 | wait(.3) | |
| 351 | setLerp(.3) | |
| 352 | setJointCFrames({
| |
| 353 | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13)); | |
| 354 | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327)); | |
| 355 | CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60)); | |
| 356 | CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342)); | |
| 357 | CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729)); | |
| 358 | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999)); | |
| 359 | }) | |
| 360 | wait(.2) | |
| 361 | vel:Destroy() | |
| 362 | Debounces.damageLevel = 0 | |
| 363 | Debounces.scalingDamage = false | |
| 364 | Debounces.isBoosting = false | |
| 365 | end | |
| 366 | end) | |
| 367 | ||
| 368 | uinps.InputBegan:connect(function(InputObject) | |
| 369 | if InputObject.KeyCode == Enum.KeyCode.W and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then | |
| 370 | Debounces.isBoosting = true | |
| 371 | Debounces.damageLevel = 5000 | |
| 372 | Debounces.scalingDamage = true | |
| 373 | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
| |
| 374 | setLerp(.15) | |
| 375 | setJointCFrames({
| |
| 376 | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5)); | |
| 377 | CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878)); | |
| 378 | CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0)); | |
| 379 | CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087)); | |
| 380 | CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5)); | |
| 381 | CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968)); | |
| 382 | }) | |
| 383 | local boostSpeed = 250 | |
| 384 | local efx = Instance.new("Sound",c.Head)
| |
| 385 | efx.SoundId = "rbxassetid://200632875" | |
| 386 | efx.Pitch = math.random(1100,1300)/1000 | |
| 387 | efx.Volume = .5 | |
| 388 | efx:Play() | |
| 389 | spawn(function() | |
| 390 | wait(5) | |
| 391 | efx:Destroy() | |
| 392 | end) | |
| 393 | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed | |
| 394 | vel.P = 1e3 | |
| 395 | vel.MaxForce = Vector3.new(math.huge,0,math.huge) | |
| 396 | wait(.15) | |
| 397 | vel.P = 1000 | |
| 398 | vel.MaxForce = Vector3.new(3000,0,3000) | |
| 399 | vel.Velocity = Vector3.new() | |
| 400 | wait(.3) | |
| 401 | setLerp(.3) | |
| 402 | setJointCFrames({
| |
| 403 | CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13)); | |
| 404 | CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327)); | |
| 405 | CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60)); | |
| 406 | CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342)); | |
| 407 | CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729)); | |
| 408 | CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999)); | |
| 409 | }) | |
| 410 | wait(.2) | |
| 411 | vel:Destroy() | |
| 412 | Debounces.damageLevel = 0 | |
| 413 | Debounces.scalingDamage = false | |
| 414 | Debounces.isBoosting = false | |
| 415 | end | |
| 416 | end) | |
| 417 | ||
| 418 | uinps.InputBegan:connect(function(InputObject) | |
| 419 | if InputObject.KeyCode == Enum.KeyCode.S and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then | |
| 420 | Debounces.isBoosting = true | |
| 421 | Debounces.damageLevel = 5000 | |
| 422 | Debounces.scalingDamage = true | |
| 423 | local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
| |
| 424 | setLerp(.15) | |
| 425 | setJointCFrames({
| |
| 426 | CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0)); | |
| 427 | CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093)); | |
| 428 | CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939)); | |
| 429 | CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465)); | |
| 430 | CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373)); | |
| 431 | CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968)); | |
| 432 | }) | |
| 433 | local boostSpeed = 150 | |
| 434 | local boostSpeed = 250 | |
| 435 | local efx = Instance.new("Sound",c.Head)
| |
| 436 | efx.SoundId = "rbxassetid://200632875" | |
| 437 | efx.Pitch = math.random(1100,1300)/1000 | |
| 438 | efx.Volume = .5 | |
| 439 | efx:Play() | |
| 440 | spawn(function() | |
| 441 | wait(5) | |
| 442 | efx:Destroy() | |
| 443 | end) | |
| 444 | vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed | |
| 445 | vel.P = 1e3 | |
| 446 | vel.MaxForce = Vector3.new(math.huge,0,math.huge) | |
| 447 | wait(.15) | |
| 448 | vel.P = 1000 | |
| 449 | vel.MaxForce = Vector3.new(3000,0,3000) | |
| 450 | vel.Velocity = Vector3.new() | |
| 451 | wait(.3) | |
| 452 | setLerp(.3) | |
| 453 | setJointCFrames({
| |
| 454 | CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0)); | |
| 455 | CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598)); | |
| 456 | CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511)); | |
| 457 | CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887)); | |
| 458 | CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524)); | |
| 459 | CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631)); | |
| 460 | }) | |
| 461 | wait(.2) | |
| 462 | vel:Destroy() | |
| 463 | Debounces.damageLevel = 0 | |
| 464 | Debounces.scalingDamage = false | |
| 465 | Debounces.isBoosting = false | |
| 466 | end | |
| 467 | end) | |
| 468 | ||
| 469 | uinps.InputBegan:connect(function(InputObject) | |
| 470 | if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then | |
| 471 | local isLooping = true | |
| 472 | uinps.InputEnded:connect(function(InputObject2) | |
| 473 | if InputObject2.KeyCode == Enum.KeyCode.Q then | |
| 474 | isLooping = false | |
| 475 | end | |
| 476 | end) | |
| 477 | while true do | |
| 478 | if isLooping == false then | |
| 479 | break | |
| 480 | end | |
| 481 | Debounces.attackNumber = Debounces.attackNumber + 1 | |
| 482 | local aimPos = mouse.Hit.p | |
| 483 | local head = Instance.new("Part",c)
| |
| 484 | head.Size = Vector3.new(12,.2,12) | |
| 485 | head.CanCollide = false | |
| 486 | head.Anchored = true | |
| 487 | head.Transparency = 1 | |
| 488 | for i = 1,2 do | |
| 489 | - | decal.Texture = "rbxassetid://1350472031" |
| 489 | + | |
| 490 | decal.Texture = "rbxassetid://333659455" | |
| 491 | if i == 1 then | |
| 492 | decal.Face = Enum.NormalId.Top | |
| 493 | else | |
| 494 | decal.Face = Enum.NormalId.Bottom | |
| 495 | end | |
| 496 | end | |
| 497 | if Debounces.attackNumber%2 == 1 then | |
| 498 | head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos) | |
| 499 | else | |
| 500 | head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos) | |
| 501 | end | |
| 502 | spawn(function() | |
| 503 | local timer = 0 | |
| 504 | while rs.RenderStepped:wait() do | |
| 505 | if timer >= 1.55 then | |
| 506 | break | |
| 507 | end | |
| 508 | head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60))) | |
| 509 | timer = timer + 1/30/(Debounces.FPS/60) | |
| 510 | end | |
| 511 | head.CFrame = CFrame.new(head.CFrame.p,aimPos) | |
| 512 | local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999) | |
| 513 | local hit, pos = workspace:FindPartOnRay(ray,c) | |
| 514 | local dis = (head.CFrame.p - pos).magnitude | |
| 515 | local rayPart = Instance.new("Part",rayModel)
| |
| 516 | rayPart.Material = "Neon" | |
| 517 | - | rayPart.BrickColor = BrickColor.new(1,1,1) |
| 517 | + | |
| 518 | rayPart.BrickColor = BrickColor.new(0,0,0) | |
| 519 | rayPart.Anchored = true | |
| 520 | rayPart.CanCollide = false | |
| 521 | rayPart.Size = Vector3.new(7,7,dis + 400) | |
| 522 | local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2) | |
| 523 | rayPart.CFrame = rayCFrame | |
| 524 | head:Destroy() | |
| 525 | end) | |
| 526 | wait() | |
| 527 | local s = Instance.new("Sound",head)
| |
| 528 | s.Volume = 1 | |
| 529 | s.SoundId = "rbxassetid://332223043" | |
| 530 | s:Play() | |
| 531 | wait(.04) | |
| 532 | plr = game.Players.LocalPlayer | |
| 533 | char = plr.Character | |
| 534 | - | whitecolor = Color3.new(1,1,1) |
| 534 | + | |
| 535 | whitecolor = Color3.new(0,0,0) | |
| 536 | epicmode = false | |
| 537 | normal = true | |
| 538 | for i,v in pairs(char:GetChildren()) do | |
| 539 | if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then | |
| 540 | v:Destroy() | |
| 541 | end | |
| 542 | end | |
| 543 | - | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1357487550" |
| 543 | + | |
| 544 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1073860492" | |
| 545 | - | pants.PantsTemplate = "http://www.roblox.com/asset/?id=1588478839" |
| 545 | + | |
| 546 | - | char.Head.face.Texture = "http://www.roblox.com/asset/?id=1011290299" |
| 546 | + | pants.PantsTemplate = "http://www.roblox.com/asset/?id=1073897070" |
| 547 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=574253123" | |
| 548 | local bdycolors = char["Body Colors"] | |
| 549 | bdycolors.HeadColor3 = whitecolor | |
| 550 | bdycolors.LeftArmColor3 = whitecolor | |
| 551 | bdycolors.LeftLegColor3 = whitecolor | |
| 552 | bdycolors.RightArmColor3 = whitecolor | |
| 553 | bdycolors.RightLegColor3 = whitecolor | |
| 554 | bdycolors.TorsoColor3 = whitecolor | |
| 555 | for i,v in pairs(char:GetChildren()) do | |
| 556 | if v.ClassName == "Hat" or v.ClassName == "Accessory" then | |
| 557 | v:Destroy() | |
| 558 | end | |
| 559 | end | |
| 560 | end | |
| 561 | end | |
| 562 | end) | |
| 563 | ||
| 564 | uinps.InputBegan:connect(function(InputObj) | |
| 565 | if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then | |
| 566 | Debounces.isAttacking = true | |
| 567 | local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p | |
| 568 | local head = Instance.new("Part",c)
| |
| 569 | head.Size = Vector3.new(18,.2,18) | |
| 570 | head.CanCollide = false | |
| 571 | head.Anchored = true | |
| 572 | head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos) | |
| 573 | head.Transparency = 1 | |
| 574 | for i = 1,2 do | |
| 575 | - | decal.Texture = "rbxassetid://1350472031" |
| 575 | + | |
| 576 | decal.Texture = "rbxassetid://333659455" | |
| 577 | if i == 1 then | |
| 578 | decal.Face = Enum.NormalId.Top | |
| 579 | else | |
| 580 | decal.Face = Enum.NormalId.Bottom | |
| 581 | end | |
| 582 | end | |
| 583 | setLerp(.1) | |
| 584 | setJointCFrames({
| |
| 585 | CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0)); | |
| 586 | CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001)); | |
| 587 | CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502)); | |
| 588 | CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928)); | |
| 589 | CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001)); | |
| 590 | CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0)); | |
| 591 | }) | |
| 592 | spawn(function() | |
| 593 | local timer = 0 | |
| 594 | while rs.RenderStepped:wait() do | |
| 595 | if timer >= 1.55/.8 then | |
| 596 | break | |
| 597 | end | |
| 598 | head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60))) | |
| 599 | timer = timer + 1/30/(Debounces.FPS/60) | |
| 600 | end | |
| 601 | head.CFrame = CFrame.new(head.CFrame.p,aimPos) | |
| 602 | local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999) | |
| 603 | local hit, pos = workspace:FindPartOnRay(ray,c) | |
| 604 | local dis = (head.CFrame.p - pos).magnitude | |
| 605 | local rayPart = Instance.new("Part",rayModel)
| |
| 606 | rayPart.Material = "Neon" | |
| 607 | rayPart.FormFactor = "Custom" | |
| 608 | - | rayPart.BrickColor = BrickColor.new(1,1,1) |
| 608 | + | |
| 609 | rayPart.BrickColor = BrickColor.new(0,0,0) | |
| 610 | rayPart.Anchored = true | |
| 611 | rayPart.CanCollide = false | |
| 612 | rayPart.Size = Vector3.new(28,28,dis + 400) | |
| 613 | local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2) | |
| 614 | rayPart.CFrame = rayCFrame | |
| 615 | head:Destroy() | |
| 616 | end) | |
| 617 | wait() | |
| 618 | local s = Instance.new("Sound",head)
| |
| 619 | s.Volume = 1 | |
| 620 | s.SoundId = "rbxassetid://332223043" | |
| 621 | s.Pitch = .8 | |
| 622 | s:Play() | |
| 623 | wait(.75) | |
| 624 | setLerp(.17) | |
| 625 | setJointCFrames({
| |
| 626 | CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0)); | |
| 627 | CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001)); | |
| 628 | CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76)); | |
| 629 | CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155)); | |
| 630 | CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001)); | |
| 631 | CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0)); | |
| 632 | }) | |
| 633 | wait(.5) | |
| 634 | Debounces.isAttacking = false | |
| 635 | end | |
| 636 | end) | |
| 637 | ||
| 638 | reflect = function(d,n) | |
| 639 | local i, n = -1 * d.unit, n.unit | |
| 640 | local dot = n:Dot(i) | |
| 641 | return 2*dot*n - i | |
| 642 | end | |
| 643 | ||
| 644 | makeReflectionBeam = function(pos,look,isCrit) | |
| 645 | local ray = Ray.new(pos,look) | |
| 646 | local hit,hitpos,norm = workspace:FindPartOnRay(ray,c) | |
| 647 | local e = Instance.new("Part",rayModel)
| |
| 648 | e.Anchored = true | |
| 649 | - | e.BrickColor = BrickColor.new("Red")
|
| 649 | + | |
| 650 | e.BrickColor = BrickColor.new("Black")
| |
| 651 | e.Material = "Neon" | |
| 652 | e.FormFactor = "Custom" | |
| 653 | e.Size = Vector3.new(6,6,(pos - hitpos).magnitude) | |
| 654 | if isCrit == true then | |
| 655 | e.Size = Vector3.new(16,16,(pos - hitpos).magnitude) | |
| 656 | e.Name = "Punch" | |
| 657 | end | |
| 658 | e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos) | |
| 659 | local e = Instance.new("Sound",c)
| |
| 660 | if isCrit == true then | |
| 661 | e.Volume = .5 | |
| 662 | else | |
| 663 | e.Volume = .3 | |
| 664 | e.Pitch = 1.5 | |
| 665 | end | |
| 666 | e.SoundId = "rbxassetid://200632875" | |
| 667 | e:Play() | |
| 668 | spawn(function() | |
| 669 | wait(6) | |
| 670 | e:Destroy() | |
| 671 | end) | |
| 672 | wait(.05) | |
| 673 | if hit ~= nil then | |
| 674 | newDir = reflect(look.unit,norm,isCrit) | |
| 675 | makeReflectionBeam(hitpos,newDir * 999,isCrit) | |
| 676 | end | |
| 677 | end | |
| 678 | ||
| 679 | uinps.InputBegan:connect(function(InputObject) | |
| 680 | if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then | |
| 681 | local isLooping = true | |
| 682 | uinps.InputEnded:connect(function(InputObject2) | |
| 683 | if InputObject2.KeyCode == Enum.KeyCode.Q then | |
| 684 | isLooping = false | |
| 685 | end | |
| 686 | end) | |
| 687 | while true do | |
| 688 | if isLooping == false then | |
| 689 | break | |
| 690 | end | |
| 691 | Debounces.attackNumber = Debounces.attackNumber + 1 | |
| 692 | local aimPos = mouse.Hit.p | |
| 693 | local head = Instance.new("Part",c)
| |
| 694 | head.Size = Vector3.new(12,.2,12) | |
| 695 | head.CanCollide = false | |
| 696 | head.Anchored = true | |
| 697 | head.Transparency = 1 | |
| 698 | for i = 1,2 do | |
| 699 | - | decal.Texture = "rbxassetid://1350472031" |
| 699 | + | |
| 700 | decal.Texture = "rbxassetid://333659455" | |
| 701 | if i == 1 then | |
| 702 | decal.Face = Enum.NormalId.Top | |
| 703 | else | |
| 704 | decal.Face = Enum.NormalId.Bottom | |
| 705 | end | |
| 706 | end | |
| 707 | if Debounces.attackNumber%2 == 1 then | |
| 708 | head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos) | |
| 709 | else | |
| 710 | head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos) | |
| 711 | end | |
| 712 | spawn(function() | |
| 713 | local timer = 0 | |
| 714 | while rs.RenderStepped:wait() do | |
| 715 | if timer >= 1.55 then | |
| 716 | break | |
| 717 | end | |
| 718 | head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60))) | |
| 719 | timer = timer + 1/30/(Debounces.FPS/60) | |
| 720 | end | |
| 721 | head.CFrame = CFrame.new(head.CFrame.p,aimPos) | |
| 722 | head:Destroy() | |
| 723 | makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false) | |
| 724 | end) | |
| 725 | ||
| 726 | wait() | |
| 727 | local s = Instance.new("Sound",head)
| |
| 728 | s.Volume = 2 | |
| 729 | s.SoundId = "rbxassetid://332223043" | |
| 730 | s.Pitch = 1.02 | |
| 731 | s:Play() | |
| 732 | wait(.2) | |
| 733 | end | |
| 734 | end | |
| 735 | end) | |
| 736 | ||
| 737 | uinps.InputBegan:connect(function(InputObj) | |
| 738 | if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then | |
| 739 | Debounces.isAttacking = true | |
| 740 | local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p | |
| 741 | local head = Instance.new("Part",c)
| |
| 742 | head.Size = Vector3.new(18,.2,18) | |
| 743 | head.CanCollide = false | |
| 744 | head.Anchored = true | |
| 745 | head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos) | |
| 746 | head.Transparency = 1 | |
| 747 | for i = 1,2 do | |
| 748 | - | decal.Texture = "rbxassetid://1350472031" |
| 748 | + | |
| 749 | decal.Texture = "rbxassetid://333659455" | |
| 750 | if i == 1 then | |
| 751 | decal.Face = Enum.NormalId.Top | |
| 752 | else | |
| 753 | decal.Face = Enum.NormalId.Bottom | |
| 754 | end | |
| 755 | end | |
| 756 | setLerp(.1) | |
| 757 | setJointCFrames({
| |
| 758 | CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0)); | |
| 759 | CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001)); | |
| 760 | CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502)); | |
| 761 | CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928)); | |
| 762 | CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001)); | |
| 763 | CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0)); | |
| 764 | }) | |
| 765 | spawn(function() | |
| 766 | local timer = 0 | |
| 767 | while rs.RenderStepped:wait() do | |
| 768 | if timer >= 1.55/.8 then | |
| 769 | break | |
| 770 | end | |
| 771 | head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60))) | |
| 772 | timer = timer + 1/30/(Debounces.FPS/60) | |
| 773 | end | |
| 774 | head.CFrame = CFrame.new(head.CFrame.p,aimPos) | |
| 775 | head:Destroy() | |
| 776 | makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true) | |
| 777 | end) | |
| 778 | wait() | |
| 779 | local s = Instance.new("Sound",head)
| |
| 780 | s.Volume = 2 | |
| 781 | s.SoundId = "rbxassetid://332223043" | |
| 782 | s.Pitch = .8 | |
| 783 | s:Play() | |
| 784 | wait(.75) | |
| 785 | setLerp(.17) | |
| 786 | setJointCFrames({
| |
| 787 | CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0)); | |
| 788 | CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001)); | |
| 789 | CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76)); | |
| 790 | CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155)); | |
| 791 | CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001)); | |
| 792 | CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0)); | |
| 793 | }) | |
| 794 | wait(.5) | |
| 795 | Debounces.isAttacking = false | |
| 796 | end | |
| 797 | end) | |
| 798 | ||
| 799 | uinps.InputBegan:connect(function(InputObj) | |
| 800 | if InputObj.KeyCode == Enum.KeyCode.Slash then | |
| 801 | local finishEvent = nil | |
| 802 | Debounces.isTyping = true | |
| 803 | finishEvent = uinps.InputBegan:connect(function(InputObj) | |
| 804 | if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 805 | Debounces.isTyping = false | |
| 806 | finishEvent:disconnect() | |
| 807 | end | |
| 808 | end) | |
| 809 | end | |
| 810 | end) | |
| 811 | ||
| 812 | uinps.InputBegan:connect(function(InputObj) | |
| 813 | if InputObj.KeyCode == Enum.KeyCode.LeftShift then | |
| 814 | Debounces.isSprinting = true | |
| 815 | end | |
| 816 | end) | |
| 817 | ||
| 818 | uinps.InputEnded:connect(function(InputObj) | |
| 819 | if InputObj.KeyCode == Enum.KeyCode.LeftShift then | |
| 820 | Debounces.isSprinting = false | |
| 821 | end | |
| 822 | end) | |
| 823 | ||
| 824 | rs.RenderStepped:connect(function() | |
| 825 | Debounces.FPS = 1/rs.RenderStepped:wait() | |
| 826 | local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60) | |
| 827 | if Debounces.isPassive == false then | |
| 828 | fire.Enabled = false | |
| 829 | light.Range = 0 | |
| 830 | fight:Pause() | |
| 831 | sans:Resume() | |
| 832 | efxBlock.Transparency = 1 | |
| 833 | else | |
| 834 | fire.Enabled = true | |
| 835 | light.Range = 10 | |
| 836 | fight:Resume() | |
| 837 | sans:Pause() | |
| 838 | efxBlock.Transparency = 0 | |
| 839 | end | |
| 840 | for i,v in pairs (rayModel:children()) do | |
| 841 | if v.Transparency >= 1 then | |
| 842 | v:Destroy() | |
| 843 | else | |
| 844 | v.CanCollide = true | |
| 845 | local parts = v:GetTouchingParts() | |
| 846 | v.CanCollide = false | |
| 847 | for i = 1,#parts do | |
| 848 | if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
| |
| 849 | parts[i].Parent.Humanoid:TakeDamage(5000.5/(Debounces.FPS/60)) | |
| 850 | elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
| |
| 851 | parts[i].Parent.Humanoid:TakeDamage(1000.1/(Debounces.FPS/60)) | |
| 852 | end | |
| 853 | end | |
| 854 | v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0) | |
| 855 | v.Transparency = v.Transparency + .05/(Debounces.FPS/60) | |
| 856 | end | |
| 857 | end | |
| 858 | for i = 1,#Joints do | |
| 859 | Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp) | |
| 860 | end | |
| 861 | local sineval = math.sin(tick() * 2) * 3 | |
| 862 | fire.Acceleration = Vector3.new(sineval,1,sineval) | |
| 863 | light.Brightness = math.sin(math.cos(tick() * 2) * 1.5) | |
| 864 | end) |