Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
-- BurnLegion strikes again! -- wongxd, this is why you DON'T goto Voidacity's -- SLPM has been absent, so I've taken it upon myself to make something -------------------------------------------------------- pls = game:GetService'Players' rs = game:GetService'RunService' uinps = game:GetService'UserInputService' lp = pls.LocalPlayer mouse = lp:GetMouse() c = lp.Character human = c.Humanoid human.MaxHealth = 50 wait() human.Health = 50 c.Health:Destroy() -------------------------------------------------------- Debounces = { AnimationCycles = 0; FPS = 0; scalingDamage = false; damageLevel = 0; attackNumber = 0; isAttacking = false; isMoving = false; isSprinting = false; isBoosting = false; isPassive = false; isTyping = false; } -------------------------------------------------------- numLerp = function(start, goal, alpha) return(((goal - start) * alpha) + start) end CFrameZero = function() return CFrame.new(Vector3.new()) end rad = function(value) return math.rad(value) end CFAngles = function(Vector) return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z)) end -------------------------------------------------------- AnimStat = { lerpSpeed = .2; lerpSpeed2 = .35; lerpTween = 0; } Joints = { c.HumanoidRootPart.RootJoint; c.Torso.Neck; c.Torso['Left Shoulder']; c.Torso['Right Shoulder']; c.Torso['Left Hip']; c.Torso['Right Hip']; } JointTargets = { CFrameZero(); CFrameZero(); CFrameZero(); CFrameZero(); CFrameZero(); CFrameZero(); } -------------------------------------------------------- BodyColors = { HeadColor = BrickColor.new("Institutional white"); LeftArmColor = BrickColor.new("Institutional white"); RightArmColor = BrickColor.new("Institutional white"); LeftLegColor = BrickColor.new("Institutional white"); RightLegColor = BrickColor.new("Institutional white"); TorsoColor = BrickColor.new("Mid gray"); } Customs = { Face = "http://www.roblox.com/asset/?id=8560915"; Shirt = "http://www.roblox.com/asset/?id=334781688"; Pants = "http://www.roblox.com/asset/?id=335237283"; } -------------------------------------------------------- prepareCharacter = function() local transPoints = { NumberSequenceKeypoint.new(0,.819,.0375), NumberSequenceKeypoint.new(.207,.594,.0187), NumberSequenceKeypoint.new(.4,.55,.031), NumberSequenceKeypoint.new(.57,.619,.05), NumberSequenceKeypoint.new(.76,.8,.0375), NumberSequenceKeypoint.new(1,1,0), } local sizePoints = { NumberSequenceKeypoint.new(0,.687,0), NumberSequenceKeypoint.new(.111,.875,0), NumberSequenceKeypoint.new(.327,1.19,0), NumberSequenceKeypoint.new(.646,1.56,0), NumberSequenceKeypoint.new(.805,1.37,0), NumberSequenceKeypoint.new(.905,1.06,0), NumberSequenceKeypoint.new(.968,.938,0), NumberSequenceKeypoint.new(.984,1.13,0), NumberSequenceKeypoint.new(1,1.62,0), } local Size = NumberSequence.new(sizePoints) local Transparency = NumberSequence.new(transPoints) rayModel = Instance.new("Model",c) efxBlock = Instance.new("Part",c) efxBlock.BrickColor = BrickColor.new("Really red") efxBlock.Material = "Neon" efxBlock.FormFactor = "Custom" efxBlock.Transparency = .3 efxBlock.Size = Vector3.new(.3,.3,.3) local mesh = Instance.new("SpecialMesh",efxBlock) mesh.MeshType = Enum.MeshType.Sphere mesh.Scale = Vector3.new(1,1,1) light = Instance.new("PointLight",c.Head) light.Range = 10 light.Color = Color3.new(0,200/255,1) light.Shadows = false local particles = Instance.new("ParticleEmitter",efxBlock) particles.Color = ColorSequence.new(Color3.new(0,0,225/255),Color3.new(20/255,190/255,205/255)) particles.LightEmission = .95 particles.Size = Size particles.Name = "Fire" particles.Transparency = Transparency particles.LockedToPart = true particles.VelocityInheritance = .5 particles.LockedToPart = true particles.Rate = 70 particles.Texture = "rbxassetid://56561915" particles.Lifetime = NumberRange.new(2,2) particles.RotSpeed = NumberRange.new(100,100) particles.Speed = NumberRange.new(7,7) script.Parent = efxBlock fire = particles local offset = Vector3.new(-0.11, .23, -0.5) local weld = Instance.new("Weld",c.Head) weld.Part0 = c.Head weld.Part1 = efxBlock weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40)) efxBlock.Parent = c local music = Instance.new("Sound",c) music.SoundId = "rbxassetid://316012176" music.Looped = true music.Volume = 0 fight = music local music2 = Instance.new("Sound",c) music2.SoundId = "rbxassetid://316014309" music2.Looped = true music2.Volume = 0 sans = music2 pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart) pointGyro.P = 1e7 pointGyro.D = 1e3 pointGyro.MaxTorque = Vector3.new(0,1e7,0) animator = c.Humanoid:FindFirstChild("Animator") if animator then animator:Destroy() end c.Torso.roblox:Destroy() for i,v in pairs (c.Head:children()) do if v.ClassName == "Sound" then v:Destroy() end end for i = 1,#Joints do Joints[i].C1 = CFrame.new(Vector3.new()) end human.WalkSpeed = 0 human.JumpPower = 0 end uinps.InputBegan:connect(function(InputObject) if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then Debounces.isPassive = not Debounces.isPassive end end) setJointCFrames = function(table) for i = 1,#table do JointTargets[i] = table[i] end AnimationCycles = 0 end setLerp = function(speed) AnimStat.lerpSpeed = speed end setTween = function(tween) AnimStat.lerpTween = tween end takeDamage = function(position,damage,distance,platformStand) for i,v in pairs (pls:children()) do if v.ClassName == "Player" and v:FindFirstChild("Character") then local torso = v.Character:FindFirstChild("Torso") if torso and (torso.Position - position).magnitude < distance then v.Character.Humanoid:TakeDamage(damage) if platformStand == true then v.Character.PlatformStand = platformStand end end end end end -------------------------------------------------------- prepareCharacter() -------------------------------------------------------- spawn(function() local sine = 0 while wait() do pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100) if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then setLerp(.1) if Debounces.isPassive == true then setJointCFrames({ CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0)); 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)); CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0)); CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15)); CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489)); CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001)); }) else setJointCFrames({ CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0)); 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)); CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51)); 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)); CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0)); CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0)); }) end elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then sine = sine + math.rad(12) human.WalkSpeed = 15 setLerp(.15) setJointCFrames({ CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0)); CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001)); 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)); 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)); 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)); 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)); }) end if Debounces.scalingDamage == true then takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true) end end end) human.Changed:connect(function(prop) if prop == "MoveDirection" then if human.MoveDirection.magnitude > .02 then Debounces.isMoving = true else Debounces.isMoving = false end end end) uinps.InputBegan:connect(function(InputObject) 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 Debounces.isBoosting = true Debounces.damageLevel = 10 Debounces.scalingDamage = true local vel = Instance.new("BodyVelocity",c.HumanoidRootPart) setLerp(.15) setJointCFrames({ CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20)); CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837)); CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45)); CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45)); CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495)); CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999)); }) local boostSpeed = 250 local efx = Instance.new("Sound",c.Head) efx.SoundId = "rbxassetid://200632875" efx.Pitch = math.random(1100,1300)/1000 efx.Volume = .5 efx:Play() spawn(function() wait(5) efx:Destroy() end) vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed vel.P = 1e3 vel.MaxForce = Vector3.new(math.huge,0,math.huge) wait(.15) vel.P = 1000 vel.MaxForce = Vector3.new(3000,0,3000) vel.Velocity = Vector3.new() wait(.3) setLerp(.3) setJointCFrames({ CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13)); CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879)); CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45)); CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383)); CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457)); CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968)); }) wait(.2) vel:Destroy() Debounces.damageLevel = 0 Debounces.scalingDamage = false Debounces.isBoosting = false end end) uinps.InputBegan:connect(function(InputObject) 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 Debounces.isBoosting = true Debounces.damageLevel = 10 Debounces.scalingDamage = true local vel = Instance.new("BodyVelocity",c.HumanoidRootPart) setLerp(.15) setJointCFrames({ CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15)); CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645)); CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853)); CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102)); CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566)); CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528)); }) local boostSpeed = 250 local efx = Instance.new("Sound",c.Head) efx.SoundId = "rbxassetid://200632875" efx.Pitch = math.random(1100,1300)/1000 efx.Volume = .5 efx:Play() spawn(function() wait(5) efx:Destroy() end) vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed vel.P = 1e3 vel.MaxForce = Vector3.new(math.huge,0,math.huge) wait(.15) vel.P = 1000 vel.MaxForce = Vector3.new(3000,0,3000) vel.Velocity = Vector3.new() wait(.3) setLerp(.3) setJointCFrames({ CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13)); CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327)); CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60)); CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342)); CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729)); CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999)); }) wait(.2) vel:Destroy() Debounces.damageLevel = 0 Debounces.scalingDamage = false Debounces.isBoosting = false end end) uinps.InputBegan:connect(function(InputObject) 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 Debounces.isBoosting = true Debounces.damageLevel = 10 Debounces.scalingDamage = true local vel = Instance.new("BodyVelocity",c.HumanoidRootPart) setLerp(.15) setJointCFrames({ CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5)); CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878)); CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0)); CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087)); CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5)); CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968)); }) local boostSpeed = 250 local efx = Instance.new("Sound",c.Head) efx.SoundId = "rbxassetid://200632875" efx.Pitch = math.random(1100,1300)/1000 efx.Volume = .5 efx:Play() spawn(function() wait(5) efx:Destroy() end) vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed vel.P = 1e3 vel.MaxForce = Vector3.new(math.huge,0,math.huge) wait(.15) vel.P = 1000 vel.MaxForce = Vector3.new(3000,0,3000) vel.Velocity = Vector3.new() wait(.3) setLerp(.3) setJointCFrames({ CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13)); CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327)); CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60)); CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342)); CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729)); CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999)); }) wait(.2) vel:Destroy() Debounces.damageLevel = 0 Debounces.scalingDamage = false Debounces.isBoosting = false end end) uinps.InputBegan:connect(function(InputObject) 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 Debounces.isBoosting = true Debounces.damageLevel = 10 Debounces.scalingDamage = true local vel = Instance.new("BodyVelocity",c.HumanoidRootPart) setLerp(.15) setJointCFrames({ CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0)); CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093)); CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939)); CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465)); CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373)); CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968)); }) local boostSpeed = 150 local boostSpeed = 250 local efx = Instance.new("Sound",c.Head) efx.SoundId = "rbxassetid://200632875" efx.Pitch = math.random(1100,1300)/1000 efx.Volume = .5 efx:Play() spawn(function() wait(5) efx:Destroy() end) vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed vel.P = 1e3 vel.MaxForce = Vector3.new(math.huge,0,math.huge) wait(.15) vel.P = 1000 vel.MaxForce = Vector3.new(3000,0,3000) vel.Velocity = Vector3.new() wait(.3) setLerp(.3) setJointCFrames({ CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0)); CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598)); CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511)); CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887)); CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524)); CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631)); }) wait(.2) vel:Destroy() Debounces.damageLevel = 0 Debounces.scalingDamage = false Debounces.isBoosting = false end end) uinps.InputBegan:connect(function(InputObject) if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then local isLooping = true uinps.InputEnded:connect(function(InputObject2) if InputObject2.KeyCode == Enum.KeyCode.Q then isLooping = false end end) while true do if isLooping == false then break end Debounces.attackNumber = Debounces.attackNumber + 1 local aimPos = mouse.Hit.p local head = Instance.new("Part",c) head.Size = Vector3.new(12,.2,12) head.CanCollide = false head.Anchored = true head.Transparency = 1 for i = 1,2 do local decal = Instance.new("Decal",head) decal.Texture = "rbxassetid://323497117" if i == 1 then decal.Face = Enum.NormalId.Top else decal.Face = Enum.NormalId.Bottom end end if Debounces.attackNumber%2 == 1 then head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos) else head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos) end spawn(function() local timer = 0 while rs.RenderStepped:wait() do if timer >= 1.55 then break end head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60))) timer = timer + 1/30/(Debounces.FPS/60) end head.CFrame = CFrame.new(head.CFrame.p,aimPos) local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999) local hit, pos = workspace:FindPartOnRay(ray,c) local dis = (head.CFrame.p - pos).magnitude local rayPart = Instance.new("Part",rayModel) rayPart.Material = "Neon" rayPart.FormFactor = "Custom" rayPart.BrickColor = BrickColor.new(1,1,1) rayPart.Anchored = true rayPart.CanCollide = false rayPart.Size = Vector3.new(7,7,dis + 400) 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) rayPart.CFrame = rayCFrame head:Destroy() end) wait() local s = Instance.new("Sound",head) s.Volume = 1 s.SoundId = "rbxassetid://332223043" s:Play() wait(.04) end end end) uinps.InputBegan:connect(function(InputObj) if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then Debounces.isAttacking = true local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p local head = Instance.new("Part",c) head.Size = Vector3.new(18,.2,18) head.CanCollide = false head.Anchored = true head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos) head.Transparency = 1 for i = 1,2 do local decal = Instance.new("Decal",head) decal.Texture = "rbxassetid://323497117" if i == 1 then decal.Face = Enum.NormalId.Top else decal.Face = Enum.NormalId.Bottom end end setLerp(.1) setJointCFrames({ CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0)); CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001)); CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502)); CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928)); CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001)); CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0)); }) spawn(function() local timer = 0 while rs.RenderStepped:wait() do if timer >= 1.55/.8 then break end head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60))) timer = timer + 1/30/(Debounces.FPS/60) end head.CFrame = CFrame.new(head.CFrame.p,aimPos) local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999) local hit, pos = workspace:FindPartOnRay(ray,c) local dis = (head.CFrame.p - pos).magnitude local rayPart = Instance.new("Part",rayModel) rayPart.Material = "Neon" rayPart.FormFactor = "Custom" rayPart.Name = "Punch" rayPart.BrickColor = BrickColor.new(1,1,1) rayPart.Anchored = true rayPart.CanCollide = false rayPart.Size = Vector3.new(28,28,dis + 400) 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) rayPart.CFrame = rayCFrame head:Destroy() end) wait() local s = Instance.new("Sound",head) s.Volume = 1 s.SoundId = "rbxassetid://332223043" s.Pitch = .8 s:Play() wait(.75) setLerp(.17) setJointCFrames({ CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0)); CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001)); CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76)); CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155)); CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001)); CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0)); }) wait(.5) Debounces.isAttacking = false end end) reflect = function(d,n) local i, n = -1 * d.unit, n.unit local dot = n:Dot(i) return 2*dot*n - i end makeReflectionBeam = function(pos,look,isCrit) local ray = Ray.new(pos,look) local hit,hitpos,norm = workspace:FindPartOnRay(ray,c) local e = Instance.new("Part",rayModel) e.Anchored = true e.CanCollide = false e.BrickColor = BrickColor.new("White") e.Material = "Neon" e.FormFactor = "Custom" e.Size = Vector3.new(6,6,(pos - hitpos).magnitude) if isCrit == true then e.Size = Vector3.new(16,16,(pos - hitpos).magnitude) e.Name = "Punch" end e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos) local e = Instance.new("Sound",c) if isCrit == true then e.Volume = .5 else e.Volume = .3 e.Pitch = 1.5 end e.SoundId = "rbxassetid://200632875" e:Play() spawn(function() wait(6) e:Destroy() end) wait(.05) if hit ~= nil then newDir = reflect(look.unit,norm,isCrit) makeReflectionBeam(hitpos,newDir * 999,isCrit) end end uinps.InputBegan:connect(function(InputObject) if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then local isLooping = true uinps.InputEnded:connect(function(InputObject2) if InputObject2.KeyCode == Enum.KeyCode.Q then isLooping = false end end) while true do if isLooping == false then break end Debounces.attackNumber = Debounces.attackNumber + 1 local aimPos = mouse.Hit.p local head = Instance.new("Part",c) head.Size = Vector3.new(12,.2,12) head.CanCollide = false head.Anchored = true head.Transparency = 1 for i = 1,2 do local decal = Instance.new("Decal",head) decal.Texture = "rbxassetid://323497117" if i == 1 then decal.Face = Enum.NormalId.Top else decal.Face = Enum.NormalId.Bottom end end if Debounces.attackNumber%2 == 1 then head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos) else head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos) end spawn(function() local timer = 0 while rs.RenderStepped:wait() do if timer >= 1.55 then break end head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60))) timer = timer + 1/30/(Debounces.FPS/60) end head.CFrame = CFrame.new(head.CFrame.p,aimPos) head:Destroy() makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false) end) wait() local s = Instance.new("Sound",head) s.Volume = 1 s.SoundId = "rbxassetid://332223043" s.Pitch = 1.02 s:Play() wait(.2) end end end) uinps.InputBegan:connect(function(InputObj) if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then Debounces.isAttacking = true local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p local head = Instance.new("Part",c) head.Size = Vector3.new(18,.2,18) head.CanCollide = false head.Anchored = true head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos) head.Transparency = 1 for i = 1,2 do local decal = Instance.new("Decal",head) decal.Texture = "rbxassetid://323497117" if i == 1 then decal.Face = Enum.NormalId.Top else decal.Face = Enum.NormalId.Bottom end end setLerp(.1) setJointCFrames({ CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0)); CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001)); CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502)); CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928)); CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001)); CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0)); }) spawn(function() local timer = 0 while rs.RenderStepped:wait() do if timer >= 1.55/.8 then break end head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60))) timer = timer + 1/30/(Debounces.FPS/60) end head.CFrame = CFrame.new(head.CFrame.p,aimPos) head:Destroy() makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true) end) wait() local s = Instance.new("Sound",head) s.Volume = 2 s.SoundId = "rbxassetid://332223043" s.Pitch = .8 s:Play() wait(.75) setLerp(.17) setJointCFrames({ CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0)); CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001)); CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76)); CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155)); CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001)); CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0)); }) wait(.5) Debounces.isAttacking = false end end) uinps.InputBegan:connect(function(InputObj) if InputObj.KeyCode == Enum.KeyCode.Slash then local finishEvent = nil Debounces.isTyping = true finishEvent = uinps.InputBegan:connect(function(InputObj) if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then Debounces.isTyping = false finishEvent:disconnect() end end) end end) uinps.InputBegan:connect(function(InputObj) if InputObj.KeyCode == Enum.KeyCode.LeftShift then Debounces.isSprinting = true end end) uinps.InputEnded:connect(function(InputObj) if InputObj.KeyCode == Enum.KeyCode.LeftShift then Debounces.isSprinting = false end end) rs.RenderStepped:connect(function() Debounces.FPS = 1/rs.RenderStepped:wait() local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60) if Debounces.isPassive == false then fire.Enabled = false light.Range = 0 fight:Pause() sans:Resume() efxBlock.Transparency = 1 else fire.Enabled = true light.Range = 10 fight:Resume() sans:Pause() efxBlock.Transparency = 0 end for i,v in pairs (rayModel:children()) do if v.Transparency >= 1 then v:Destroy() else v.CanCollide = true local parts = v:GetTouchingParts() v.CanCollide = false for i = 1,#parts do if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60)) elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60)) end end v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0) v.Transparency = v.Transparency + .05/(Debounces.FPS/60) end end for i = 1,#Joints do Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp) end local sineval = math.sin(tick() * 2) * 3 fire.Acceleration = Vector3.new(sineval,1,sineval) light.Brightness = math.sin(math.cos(tick() * 2) * 1.5) end)
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
⭐⭐ FREE BTC GUIDE ✅ Working ⭐⭐
JavaScript | 22 sec ago | 0.67 KB
💎 2OOO$ 15 MIN INSANE METHOD 💵🚨 ⭐📌
JavaScript | 28 sec ago | 0.67 KB
Infinite Money Glitch
JavaScript | 1 min ago | 0.67 KB
📌 QUICK 1K$ 20 MINUTES 🎯🎯
JavaScript | 1 min ago | 0.67 KB
💸💸 INSTANT $370 PROMOTION
JavaScript | 2 min ago | 0.67 KB
📌 VIP MONEY METHOD 📌 ⭐✅
JavaScript | 2 min ago | 0.67 KB
💰 +12,000$ in 1 Week - METHOD
JavaScript | 3 min ago | 0.67 KB
💎💎💎 HOW TO EARN $5,000 A WEEK [GUIDE] 💎 📌✅
JavaScript | 3 min ago | 0.67 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!