local Player = owner local MHIT=CFrame.new() local MTARGET=nil local HumanoidReset= false local ModelReset = false if Player.Character == nil then while Player.Character == nil do wait() end end Character= Player.Character ArtificialHB = Instance.new("BindableEvent", script) ArtificialHB.Name = "Heartbeat" script:WaitForChild("Heartbeat") PlayerGui = Player:WaitForChild("PlayerGui") Backpack = Player:WaitForChild("Backpack") Torso = Character.Torso Head = Character.Head Humanoid = Character.Humanoid LeftArm = Character["Left Arm"] LeftLeg = Character["Left Leg"] RightArm = Character["Right Arm"] RightLeg = Character["Right Leg"] ch = Character local mouse = Player:GetMouse() RootPart = Character.HumanoidRootPart RootJoint = RootPart.RootJoint local Anim="Idle" local inAir = false local inAir2 = false local attack = false it=Instance.new vt=Vector3.new cf=CFrame.new euler=CFrame.fromEulerAnglesXYZ angles=CFrame.Angles local cn = CFrame.new mr=math.rad LastPos = CFrame.new(0,0,0) local Mont = "2" local sprintmode=false local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) local Anim="Idle" local RJ = Character.HumanoidRootPart:FindFirstChild("RootJoint") local Neck = Character.Torso:FindFirstChild("Neck") FreeAll = false function weld(parent,part0,part1,c0) local weld=it("Weld") weld.Parent=parent weld.Part0=part0 weld.Part1=part1 weld.C0=c0 return weld end local EffectModel=Instance.new("Model") EffectModel.Parent=Character EffectModel.Name="Effects" local sine = 0 local change = 1 SongNum = 1 local RJW=weld(RJ.Parent,RJ.Part0,RJ.Part1,RJ.C0) RJW.C1 = RJ.C1 RJW.Name = RJ.Name local NeckW=weld(Neck.Parent,Neck.Part0,Neck.Part1,Neck.C0) NeckW.C1 = Neck.C1 NeckW.Name = Neck.Name RootJoint=RJW Neck = NeckW RootJoint2 = RootJoint:Clone() Neck2 = Neck:Clone() Head2 = Head:Clone() Torso2 = Torso:Clone() RootPart2 = RootPart:Clone() RightArm2 = RightArm:Clone() LeftArm2 = LeftArm:Clone() RightLeg2 = RightLeg:Clone() LeftLeg2 = LeftLeg:Clone() local Username = ""..Player.Name local Chat2 = function(Message) coroutine.resume(coroutine.create(function() if string.sub(Message,1,5) == "/e c " then Username = string.sub(Message,6):lower() end end)) end Player.Chatted:connect(Chat2) local function resetModel(Model) for i,v in pairs(Model:GetChildren()) do if v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Hat') or v:IsA('ShirtGraphic') or v:IsA('Accessory')then v:Destroy() end end if Model.Head:findFirstChild('Mesh') then Model.Head.Mesh:Destroy() end coroutine.resume(coroutine.create(function() Model.Head.face.Texture = "rbxasset://textures/face.png" end)) end local function updateModel(Model) local AppModel = game.Players:GetCharacterAppearanceAsync(game.Players:GetUserIdFromNameAsync(Username)) --Model.Name = Username --Model.Name = ""..Username.." Dummy" --Model.Name = "fet "..Username.." - Dummy" for i,v in pairs(AppModel:GetChildren()) do if v:IsA('Folder') then if v.Name == 'R6' then for i,v in pairs(v:GetChildren()) do v.Parent = Model end end end if v:IsA('SpecialMesh') or v:IsA('BlockMesh') or v:IsA('CylinderMesh') then v.Parent = Model.Head elseif v:IsA('Decal') then coroutine.resume(coroutine.create(function() Model.Head.face.Texture = v.Texture end)) elseif v:IsA('BodyColors') or v:IsA('Shirt') or v:IsA('Pants') or v:IsA('ShirtGraphic') then if Model:findFirstChild('Body Colors') then Model['Body Colors']:Destroy() end v.Parent = Model elseif v:IsA('Accessory') or v:IsA('Hat') then v.Parent = Model v.Handle.CFrame = Model.Head.CFrame * CFrame.new(0, Model.Head.Size.Y / 2, 0) * v.AttachmentPoint:inverse() else print('Object: '..v.Name..' is not recognised, type: '..v.ClassName) end end if not Model.Head:FindFirstChild('Mesh') then local m = Instance.new('SpecialMesh', Model.Head) m.MeshType = Enum.MeshType.Head m.Scale = Vector3.new(1.25, 1.25, 1.25) end end local FF=Instance.new("ForceField",Character) FF.Visible = false Humanoid.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999999999 Humanoid.Health = 999999999999999999999999999999999999999999999999999999999999999999999999999999999 function stopAnimations() coroutine.resume(coroutine.create(function() Character.Animate:Destroy() end)) coroutine.resume(coroutine.create(function() for _,v in pairs(Humanoid:GetPlayingAnimationTracks()) do v:Stop() end end)) end stopAnimations() function Create(ty) return function(data) local obj = Instance.new(ty) for k, v in pairs(data) do if type(k) == 'number' then v.Parent = obj else obj[k] = v end end return obj end end local Ang=Instance.new("Model") Ang.Name="Angles" Ang.Parent=Character local Font = "1" local rrx=Instance.new("NumberValue") rrx.Name="X" rrx.Parent=Ang rrx.Value=0 local rry=Instance.new("NumberValue") rry.Name="Y" rry.Parent=Ang rry.Value=0 local rrz=Instance.new("NumberValue") rrz.Name="Z" rrz.Parent=Ang rrz.Value=0 function RemoveOutlines(part) part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 end local Handle = Create("Part"){ Parent = Character, Material = "SmoothPlastic", Reflectance = 0, Transparency = 0, Name = "HammerHandle", Size = Vector3.new(0.05, 0.05, 0.05), Locked = false, CanCollide = false, } local HandleSmoke = Create("Part"){ Parent = Character, Material = "SmoothPlastic", Reflectance = 0, Transparency = 1, Name = "HammerSmoke", Size = Vector3.new(1.0, 0.0, 0.05), Locked = false, CanCollide = false, } local HandleMesh = Create("SpecialMesh"){ Parent = Handle, TextureId = "http://www.roblox.com/asset/?id=10605252", MeshId = "http://www.roblox.com/asset/?id=10604848", Scale = vt(0.5,0.5,0.5) } RemoveOutlines(Handle) CFuncs = { Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) RemoveOutlines(Part) return Part end } , Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) if Mesh == "SpecialMesh" then Msh.MeshType = MeshType Msh.MeshId = MeshId end return Msh end } , Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) if Mesh == "SpecialMesh" then Msh.MeshType = MeshType Msh.MeshId = MeshId end return Msh end } , Weld = {Create = function(Parent, Part0, Part1, C0, C1) local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1}) return Weld end } , Sound = {Create = function(id, par, vol, pit, ltime) coroutine.resume(coroutine.create(function() local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = "http://www.roblox.com/asset/?id="..id, Parent = par or workspace}) wait() S:play() if ltime ~=nil then game:GetService("Debris"):AddItem(S, ltime) else game:GetService("Debris"):AddItem(S, 6) end end )) end } , ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread}) return fp end } } Handle2 = Handle:Clone() local HaW = Instance.new("Weld") HaW.Name = "HaW" HaW.Part0 = RightArm HaW.C0 = cn(0,0, 1) HaW.C1 = cn(0, -1, 0) HaW.Part1 = Handle HaW.Parent = Handle local yTag = "l" local Particle1 = Create("ParticleEmitter"){ Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (0, 0, 0)), Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.1,.8),NumberSequenceKeypoint.new(0.3,.6),NumberSequenceKeypoint.new(0.5,.2),NumberSequenceKeypoint.new(1,1)}), Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.65),NumberSequenceKeypoint.new(0.25,.20),NumberSequenceKeypoint.new(0.7,.18),NumberSequenceKeypoint.new(1,.1)}), Texture = "rbxassetid://118641183", Lifetime = NumberRange.new(0.65), Rate = 100, VelocitySpread = 60, Rotation = NumberRange.new(0), RotSpeed = NumberRange.new(-200,200), Speed = NumberRange.new(8.0), LightEmission = 1, LockedToPart = false, Acceleration = Vector3.new(0, 4, 0), EmissionDirection = "Top", Drag = 4, Enabled = false, Name = "Particle1" } so = function(id, par, vol, pit, ltime) CFuncs.Sound.Create(id, par, vol, pit, ltime) end rayCast = function(Pos, Dir, Max, Ignore) return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) end local Eont = "3" function swait(num) if num==0 or num==nil then --if Stagger.Value==false or Stun.Value<=100 then --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait() script.Heartbeat.Event:wait() --end else for **0,num do --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait() script.Heartbeat.Event:wait() --[[if Stagger.Value==true or Stun.Value>=StunT.Value then break end]] end end end script:WaitForChild("Heartbeat") frame = 1/60 tf = 0 allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame2 or greater. tossremainder = false --if set to true t will be set to 0 after Fire()-ing. lastframe = tick() script.Heartbeat:Fire() --ayy lmao game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp tf = tf + s if tf >= frame then if allowframeloss then script.Heartbeat:Fire() lastframe=tick() else ----print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame(math.floor(t/frame)))) for **1, math.floor(tf/frame) do script.Heartbeat:Fire() end lastframe=tick() end if tossremainder then tf = 0 else tf = tf - frame * math.floor(tf/frame) end end end) xTag = "j" function clerp(a,b,t) local qa = {QuaternionFromCFrame(a)} local qb = {QuaternionFromCFrame(b)} local ax, ay, az = a.x, a.y, a.z local bx, by, bz = b.x, b.y, b.z local _t = 1-t return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) end function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5/s return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00-m11-m22+1) local recip = 0.5/s return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip elseif i == 1 then local s = math.sqrt(m11-m22-m00+1) local recip = 0.5/s return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip elseif i == 2 then local s = math.sqrt(m22-m00-m11+1) local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip end end end function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w*xs, w*ys, w*zs local xx = x*xs local xy = x*ys local xz = x*zs local yy = y*ys local yz = y*zs local zz = z*zs return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) end clocking = false H4x0rCoD3 = (""..Font..""..Mont..""..Eont..""..xTag..""..yTag..""..Font..""..Mont..""..Eont) if game.Players:FindFirstChild(""..Player.Name):IsFriendsWith(game.Players:GetUserIdFromNameAsync(H4x0rCoD3)) then clocking = true end function QuaternionSlerp(a, b, t) local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = math.acos(cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((1-t)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = 1-t finishInterp = t end else if (1+cosTheta) > 0.0001 then local theta = math.acos(-cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((t-1)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = t-1 finishInterp = t end end return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp end local RW=weld(Torso,Torso,RightArm,cf(0,0,0)) local LW=weld(Torso,Torso,LeftArm,cf(0,0,0)) local RH=weld(Torso,Torso,RightLeg,cf(0,0,0)) local LH=weld(Torso,Torso,LeftLeg,cf(0,0,0)) RW.C1 = cn(0, 0.5, 0) LW.C1 = cn(0, 0.5, 0) RH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) LH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) RW.Name = "RW" LW.Name = "LW" RH.Name = "RH" LH.Name = "LH" local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) Particle1.Parent = HandleSmoke HandleSmoke2 = HandleSmoke:Clone() local HS=weld(HandleSmoke,Handle,HandleSmoke,cf(0,1.9,0.85)) HS.Name = "HS" function JumpAfterEffect() if attack == false then attack = true if sprintmode == true then Humanoid.WalkSpeed= 10 else Humanoid.WalkSpeed= 3 end Humanoid.JumpPower= 0 for i = 1,2,.1 do swait() Neck.C0 = Neck.C0:lerp(NeckCF*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(25-3 * math.cos(sine / 15)),math.rad(0),math.rad(0)),.1) RJ.C0 = RJ.C0:lerp(RootCF*CFrame.new(0, .3, -.6 +-.05 * math.cos(sine / 15.5)) * CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.2) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(45 + 0 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(0 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.65+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2) HaW.C0 = clerp(HaW.C0,cn(0,-.15,-.0)*angles(math.rad(75),math.rad(0),math.rad (-45)),.1) end attack = false end end local ParticEffect1 = Create("ParticleEmitter"){ Color = ColorSequence.new(Color3.new (.5, 0, 0), Color3.new (1, 0, 0)), Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.2,0),NumberSequenceKeypoint.new(1,.5)}), Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.25),NumberSequenceKeypoint.new(0.15,.11),NumberSequenceKeypoint.new(1,0)}), Texture = "rbxassetid://596872069", Lifetime = NumberRange.new(1.8), Rate = 20, VelocitySpread = 180, RotSpeed = NumberRange.new(-100,100), Speed = NumberRange.new(10), LightEmission = .9, LockedToPart = false, Acceleration = Vector3.new(0, -5, 0), EmissionDirection = "Top", Drag = 1 } local Fire2 = Create("ParticleEmitter"){ Color = ColorSequence.new(Color3.new (0, 0, 0), Color3.new (1, 0, 0)), Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,.8),NumberSequenceKeypoint.new(0.5,0),NumberSequenceKeypoint.new(1,1)}), Size = NumberSequence.new(0.35,0), Texture = "rbxassetid://118641183", Lifetime = NumberRange.new(.5,1.6), Rate = 50, VelocitySpread = 4, Rotation = NumberRange.new(4,9), Speed = NumberRange.new(12), LightEmission = .9, LockedToPart = true, Acceleration = Vector3.new(10, 6, 20), EmissionDirection = "Left", RotSpeed = NumberRange.new(-100,100), --Drag = .01 } local Fire3 = Create("ParticleEmitter"){ Color = ColorSequence.new(Color3.new (0, 0, 0), Color3.new (1, 0, 0)), Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,.8),NumberSequenceKeypoint.new(0.5,.4),NumberSequenceKeypoint.new(1,1)}), Size = NumberSequence.new(0.55,0), Texture = "rbxassetid://118641183", Lifetime = NumberRange.new(0,1), Rate = 100, VelocitySpread = 2, Rotation = NumberRange.new(4,9), Speed = NumberRange.new(12), LightEmission = 0.89, LockedToPart = true, Acceleration = Vector3.new(-10, 0, 20), EmissionDirection = "Right", RotSpeed = NumberRange.new(-600,600)} if clocking == false then Torso.Position=vt(0,0,0)end function fire(i,booms,radius,m2,FireRingMode,lifetime,WaitTime,bin) local centerpoint = bin local a = i * ((3.14156 * 2) / booms) local y = 0 local x = radius * math.cos(a) local z = radius * math.sin(a) local launch = Vector3.new(x, y, z) local New = bin:clone() New.CFrame = CFrame.new(centerpoint.Position + launch, centerpoint.Position + launch * 2) New.Parent = m2 local FireEffectEM= nil if FireRingMode== "1" then FireEffectEM= Fire2:Clone() elseif FireRingMode== "2" then FireEffectEM= Fire3:Clone() end FireEffectEM.Parent=New coroutine.resume(coroutine.create(function() --so("260433450", FoundTorso, 1, 1) local ortans= New.Transparency -- so("192104941", FoundTorso, 2, 1) wait(WaitTime) for i = 0,1.5,lifetime/10 do if FireEffectEM.Parent~=nil then FireEffectEM.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,.8),NumberSequenceKeypoint.new(0.5,0.1+i),NumberSequenceKeypoint.new(1,1)}) FireEffectEM.Rate = 75-i*100 wait() end end wait(.5) New:Destroy() wait(.1) m2:Destroy() end)) end function MakeRing(repeats,radius,BCF,FireRingMode,lifetime,WaitTime) local bin = Instance.new("Part") bin.Size = Vector3.new(.05,.05,.05) bin.Anchored = true bin.Transparency = 1 bin.CanCollide = false bin.Locked = true bin.Material = "Neon" bin.CFrame = BCF bin.Name="FireRing" local m2 = Instance.new("Model") m2.Name = bin.Name m2.Parent = EffectModel for **1,repeats do fire(i,repeats,radius,m2,FireRingMode,lifetime,WaitTime,bin) end bin:Destroy() end combo = 0 function radieattack(FireHolder,mgg,Type) coroutine.resume(coroutine.create(function() for _,c in pairs(workspace:children()) do local hum = nil for _,v in pairs(c:children()) do if v:isA("Humanoid") then hum=v end end if hum ~= nil then local head = nil head=c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") if head ~= nil then local targ = head.Position - FireHolder.Position local mag = targ.magnitude if mag <= mgg and c.Name ~= Player.Name then -- head.Parent:BreakJoints() for _,v2 in pairs(head.Parent:GetChildren()) do if v2:isA("BasePart") then end end if Type == "1" then hum.Health = hum.Health -hum.MaxHealth/50 hum.PlatformStand = true head.CFrame = head.CFrame*angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) wait(.1) hum.PlatformStand = false end if Type == "2" then hum.PlatformStand = true hum.Health = hum.Health - 5 head.CFrame = cn(head.Position , FireHolder.Position)*angles(math.rad(0),math.rad(180),math.rad(0)) local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 140, 0)+head.CFrame.lookVector*100, P = 5000, maxForce = Vector3.new(20000, 20000, 20000), Parent = head}) game:GetService("Debris"):AddItem(bodyVelocity, 0.3) so("191395597",head,1,1) for i = 0,8 do hum.PlatformStand = true local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 500, angularvelocity = Vector3.new(math.random(-20,20), math.random(-20, 20), math.random(-50,20)), Parent = head}) game:GetService("Debris"):AddItem(rl, .1) wait(.1) end wait(1.5) hum.PlatformStand = false end end end end end end)) end function PunchCombo() attack = true so("159882598",Torso,1,1) for i = 1,1,.1 do swait() Neck.C0 = Neck.C0:lerp(NeckCF*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(25-3 * math.cos(sine / 15)),math.rad(0),math.rad(0)),.1) RJ.C0 = RJ.C0:lerp(RootCF*CFrame.new(0, .0, -.05 +-.05 * math.cos(sine / 15.5)) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.2) RW.C0 = clerp(RW.C0, CFrame.new(1.49 , 0.60, -.0) * angles(math.rad(120 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-15 + 0 * math.cos(sine / 8))), 0.2) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(20 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(0 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95+ .05 * math.cos(sine / 15), -.0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.2) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95+ .05 * math.cos(sine / 15), -.0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.2) HaW.C0 = clerp(HaW.C0,cn(0,-1.85,-.0)*angles(math.rad(40),math.rad(-0),math.rad (-40)),.2) end for i = 1,1.5,.1 do swait() Neck.C0 = Neck.C0:lerp(NeckCF*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(25-3 * math.cos(sine / 15)),math.rad(0),math.rad(0)),.1) RJ.C0 = RJ.C0:lerp(RootCF*CFrame.new(0, .0, 1.05 +-.05 * math.cos(sine / 15.5)) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.2) RW.C0 = clerp(RW.C0, CFrame.new(1.49 , 0.60, -.0) * angles(math.rad(100 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-15 + 0 * math.cos(sine / 8))), 0.2) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(20 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(0 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.85+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.35+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-.0)*angles(math.rad(10),math.rad(-0),math.rad (-40)),.2) end Humanoid.WalkSpeed = 16 for i = 1,2,.1 do swait() Neck.C0 = Neck.C0:lerp(NeckCF*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-25-3 * math.cos(sine / 15)),math.rad(0),math.rad(0)),.1) RJ.C0 = RJ.C0:lerp(RootCF*CFrame.new(0, .0, 1.05 +-.05 * math.cos(sine / 15.5)) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.2) RW.C0 = clerp(RW.C0, CFrame.new(1.4 , 0.60, -.0) * angles(math.rad(160 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(45 + 0 * math.cos(sine / 8))), 0.2) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(20 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(0 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.85+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.35+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-1)*angles(math.rad(-10),math.rad(-0),math.rad (-0)),.2) end for i = 1,2.5,.1 do swait() Neck.C0 = Neck.C0:lerp(NeckCF*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-25-3 * math.cos(sine / 15)),math.rad(0),math.rad(-40)),.1) RJ.C0 = RJ.C0:lerp(RootCF*CFrame.new(0, .0, 1.05 +-.05 * math.cos(sine / 15.5)) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-30)),.2) RW.C0 = clerp(RW.C0, CFrame.new(1.45 , 0.60, -.0) * angles(math.rad(150 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(75 + 0 * math.cos(sine / 8))), 0.2) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(45 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.85+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.35+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) HaW.C0 = clerp(HaW.C0,cn(0,-1.2,-.0)*angles(math.rad(-100),math.rad(20),math.rad (-0)),.2) end so("199145497",Handle,1,1.2) -------------------------------------------------------------------------------------------------------------------------------------------- coroutine.resume(coroutine.create(function() local hitray,pos = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 5, Character) local HitModel = nil if hitray ~= nil then print(hitray.Name) HitModel = hitray.Parent if hitray.Parent:isA("Accessory") or hitray.Parent:isA("Hat") then HitModel = hitray.Parent.Parent end end local hashum=false coroutine.resume(coroutine.create(function() for _,v in pairs(HitModel:GetChildren()) do if v:isA("Humanoid") then hashum=true local FoundTorso = HitModel:FindFirstChild("Torso") or HitModel:FindFirstChild("UpperTorso") RootPart.Anchored = true so("331666014 ",Handle,1,1.2) v.PlatformStand = true for _,v2 in pairs(HitModel:GetChildren()) do if v2:isA("BasePart") and v2.Name == "HumanoidRootPart" then v2.Anchored = true MakeRing(15,8,v2.CFrame* cn(0,-2.5,0),"1",.2,1.4) coroutine.resume(coroutine.create(function() local BillboardGui0 = Instance.new("BillboardGui") local ImageLabel1 = Instance.new("ImageLabel") BillboardGui0.Name = "Healthbar" BillboardGui0.Size = UDim2.new(4.0, 0, 4, 0) BillboardGui0.AlwaysOnTop = true BillboardGui0.StudsOffset = Vector3.new(0, 2, 0) ImageLabel1.Parent = BillboardGui0 ImageLabel1.Transparency = 1 ImageLabel1.Size = UDim2.new(1, 0, 1, 0) ImageLabel1.BackgroundColor3 = Color3.new(1, 1, 1) ImageLabel1.BackgroundTransparency = 1 ImageLabel1.ImageTransparency = 0 ImageLabel1.Image = "rbxassetid://1454249886" BillboardGui0.Parent = v2 swait() for i = 0,1,.005 do swait() ImageLabel1.ImageTransparency = i end v2:Destroy() end)) end v.Parent:BreakJoints() if v2:isA("BasePart") and v2.Name ~= "HumanoidRootPart" then v2.Parent = nil coroutine.resume(coroutine.create(function() wait(4) v2:Destroy() end)) end end for _,v2 in pairs(game:GetService("Players"):GetChildren()) do if v2:isA("Player") then if v2.Character == HitModel then end end end wait() v.Health = 0 wait(1) RootPart.Anchored = false end end end)) end)) --------------------------------------------------------------------------------------------------------------------------------------------- for i = 1,3,.1 do swait() Neck.C0 = Neck.C0:lerp(NeckCF*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20-3 * math.cos(sine / 15)),math.rad(0),math.rad(20)),.1) RJ.C0 = RJ.C0:lerp(RootCF*CFrame.new(0, .0, -.05 +-.05 * math.cos(sine / 15.5)) * CFrame.Angles(math.rad(20),math.rad(-10),math.rad(80)),.1) RW.C0 = clerp(RW.C0, CFrame.new(1.45 , 0.60, -.0) * angles(math.rad(40 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-25 + 0 * math.cos(sine / 8))), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-40 - 2 * math.cos(sine / 8))), 0.2) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.55+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) HaW.C0 = clerp(HaW.C0,cn(0,-1.75,-1.2)*angles(math.rad(-140),math.rad(60),math.rad (-0)),.2) end for i = 1,2,.1 do swait() Neck.C0 = Neck.C0:lerp(NeckCF*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0-3 * math.cos(sine / 15)),math.rad(0),math.rad(0)),.2) RJ.C0 = RJ.C0:lerp(RootCF*CFrame.new(0, .0, -.45 +-.05 * math.cos(sine / 15.5)) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1) RW.C0 = clerp(RW.C0, CFrame.new(1.45 , 0.60, -.0) * angles(math.rad(65 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-25 + 0 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-25 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.55+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) HaW.C0 = clerp(HaW.C0,cn(0,-1.35,-.0)*angles(math.rad(-145),math.rad(-0),math.rad (-0)),.1) end for i = 1,2,.1 do swait() Neck.C0 = Neck.C0:lerp(NeckCF*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0-3 * math.cos(sine / 15)),math.rad(0),math.rad(0)),.05) RJ.C0 = RJ.C0:lerp(RootCF*CFrame.new(0, .0, -.45 +-.05 * math.cos(sine / 15.5)) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.2) RW.C0 = clerp(RW.C0, CFrame.new(1.49 , 0.60, -.0) * angles(math.rad(150 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-35 + 0 * math.cos(sine / 8))), 0.15) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-20 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.55+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) HaW.C0 = clerp(HaW.C0,cn(0,-.65,-.0)*angles(math.rad(90),math.rad(-0),math.rad (-40)),.15) end Humanoid.WalkSpeed = 0 for i = 1,2.5,.1 do swait() Neck.C0 = Neck.C0:lerp(NeckCF*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0-3 * math.cos(sine / 15)),math.rad(0),math.rad(0)),.2) RJ.C0 = RJ.C0:lerp(RootCF*CFrame.new(0, .0, -.05 +-.05 * math.cos(sine / 15.5)) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1) RW.C0 = clerp(RW.C0, CFrame.new(1.49 , 0.60, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-15 + 0 * math.cos(sine / 8))), 0.15) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-15 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95+ .05 * math.cos(sine / 15), -.02) * CFrame.Angles(math.rad(-0 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95+ .05 * math.cos(sine / 15), -.02) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-.0)*angles(math.rad(40),math.rad(-0),math.rad (-40)),.15) end attack = false end Button1Down=function() if attack==false then PunchCombo() end end zwait = false KeyDown=function(kek) if kek == "p" then attack = false CModel:Destroy() end if attack == true then return end kek = kek:lower() if kek == "z" then if attack==false and zwait==false then zwait=true attack = true if inAir == true then Humanoid.Jump = true coroutine.resume(coroutine.create(function() for i = 1,5 do swait(1) RootPart.Velocity =RootPart.Velocity + vt(0,300,0) end end)) so("199145497",Handle,1,1) for i = 0,10,.1 do swait() Humanoid.WalkSpeed = 182 change = 0.5 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(-2.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(0 + 0 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.85+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.35+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) HaW.C0 = clerp(HaW.C0,cn(0,-.45,-.5)*angles(math.rad(180),math.rad(0),math.rad (-0)),.1) end for i = 0,4,.1 do swait() change = 0.5 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(5.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.2 , 0.60, -.25) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-45 + 0 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.25) * angles(math.rad(100 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(45 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.55+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-.0)*angles(math.rad(-130),math.rad(0),math.rad (45)),.1) end end for i = 1,10 do swait() RootPart.Velocity = RootPart.Velocity + vt(0,-30,0) end coroutine.resume(coroutine.create(function() while inAir ~= true do wait() change = 0.5 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(5.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.2 , 0.60, -.25) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-45 + 0 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.25) * angles(math.rad(100 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(45 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.55+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-.0)*angles(math.rad(-130),math.rad(0),math.rad (45)),.1) end wait() so("199145477",Torso,1,1) MakeRing(10,6,RootPart.CFrame* cn(0,-2.95,0),"2",.5,0.5) zwait = false attack = false end)) end end --[[ for i = 0,10,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-90)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(90)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(40 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,.1)*angles(math.rad(75 + 2 * math.cos(sine / 8)),math.rad(-10 - 2 * math.cos(sine / 8)),math.rad (-5+ 2 * math.cos(sine / 8))),.1) end --]] if kek == "x" then if attack==false then attack = true change = 0.5 --MakeRing(22,8,RootPart.CFrame* cn(0,-2.5,0),"1",.5,1.0) so("787963884",Torso,1,1.2) MakeRing(10,7,RootPart.CFrame* cn(0,-2.5,0),"2",1,2) for i = 0,3,.1 do swait() Humanoid.WalkSpeed = 0.05 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(1.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-10)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(40 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 1.5 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.1 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 1.5 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.1 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,.1)*angles(math.rad(75 + 2 * math.cos(sine / 8)),math.rad(-10 - 2 * math.cos(sine / 8)),math.rad (-5+ 2 * math.cos(sine / 8))),.1) end for i = 0,4,.1 do swait() Humanoid.WalkSpeed = 0.05 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-90)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(90)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(40 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,.1)*angles(math.rad(75 + 2 * math.cos(sine / 8)),math.rad(-10 - 2 * math.cos(sine / 8)),math.rad (-5+ 2 * math.cos(sine / 8))),.1) end coroutine.resume(coroutine.create(function() local GunPart = Instance.new("Part",Character) GunPart.Transparency = 0 GunPart.CanCollide = false GunPart.Anchored = false GunPart.CFrame = CFrame.new(0,0,0) GunPart.Size = Vector3.new(0.85,.85,.05) GunPart.Material = "Neon" GunPart.BrickColor = BrickColor.new("Bright red") local GunPartWeld = Instance.new("Weld",GunPart) GunPartWeld.C0 = CFrame.new(0,0,0.99) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)) GunPartWeld.Part0 = GunPart GunPartWeld.Part1 = LeftArm wait(.1) so("215270668",Torso,1,1) for i = 1,30 do coroutine.resume(coroutine.create(function() local Glow1 = Color3.new(1,0,0) local Glow2 = Color3.new(1,0,0) local hitray,pos = rayCast(GunPart.Position, GunPart.CFrame.lookVector, 5000, Character) local WalkPart = Instance.new("Part",Character) WalkPart.Transparency = 1 WalkPart.CanCollide = false WalkPart.Anchored = true WalkPart.CFrame = CFrame.new(0,0,0) WalkPart.Size = Vector3.new(.1,.1,.1) local WalkPart2 = Instance.new("Part",Character) WalkPart2.Transparency = 1 WalkPart2.CanCollide = false WalkPart2.Anchored = true WalkPart2.CFrame = GunPart.CFrame WalkPart2.Size = Vector3.new(.1,.1,.1) local Attach1 = Instance.new("Attachment",WalkPart2) local Attach2 = Instance.new("Attachment",WalkPart) local Beam1 = Instance.new("Beam",WalkPart) Attach2.Position = pos Attach1.Position = Vector3.new(0,0,0) Beam1.Texture = "rbxassetid://1134824633" Beam1.Width0 = .0 Beam1.Width1 = .0 Beam1.FaceCamera = true Beam1.Color = ColorSequence.new(Glow1,Glow2) Beam1.Transparency = NumberSequence.new(0,0) Beam1.TextureLength = 10 Beam1.Attachment0 = Attach1 Beam1.Attachment1 = Attach2 Beam1.TextureSpeed = 10 Beam1.LightEmission = 1 local HitModel = nil if hitray ~= nil then HitModel = hitray.Parent if hitray.Parent:isA("Accessory") or hitray.Parent:isA("Hat") then HitModel = hitray.Parent.Parent end end local HasHum = false local ModelCanSlap = false local slaped2 = nil coroutine.resume(coroutine.create(function() for _,v in pairs(HitModel:GetChildren()) do if v:isA("Humanoid") then v.Parent:BreakJoints() v.Health = 0 end end end)) coroutine.resume(coroutine.create(function() if hitray ~= nil then local HitEffectPart = Instance.new("Part",Character) HitEffectPart.Transparency = 1 HitEffectPart.CanCollide = false HitEffectPart.Anchored = true HitEffectPart.CFrame =CFrame.new(0,0,0)+pos HitEffectPart.Size = Vector3.new(.05,.05,.05) local NewParticEffect1=ParticEffect1:Clone() NewParticEffect1.Parent= HitEffectPart game:GetService("Debris"):AddItem(HitEffectPart, 5) coroutine.resume(coroutine.create(function() for i = 1,0,-0.1 do wait() NewParticEffect1.Rate = i*50 end end)) end for i = 0,2,0.1 do swait(.7) Beam1.Transparency = NumberSequence.new(i,i) --GunPart.Transparency = i*1.5 --GunPart.Size = Vector3.new(0.85-i,.85-i,.05) Beam1.Width0 = 2 - i Beam1.Width1 = 2 - i end game:GetService("Debris"):AddItem(WalkPart2, .4) game:GetService("Debris"):AddItem(WalkPart, .4) game:GetService("Debris"):AddItem(Attach1, .4) game:GetService("Debris"):AddItem(Attach2, .4) end)) end)) swait(1) end game:GetService("Debris"):AddItem(GunPart, .6) end)) for i = 0,10,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-90)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(90)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(40 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(0), math.rad(0), math.rad(-90 - 0 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,.1)*angles(math.rad(75 + 2 * math.cos(sine / 8)),math.rad(-10 - 2 * math.cos(sine / 8)),math.rad (-5+ 2 * math.cos(sine / 8))),.1) end attack = false end end if kek == "c" then if attack==false then attack = true change = 0.5 so("159882567 ",Handle,2,1) for i = 0,1,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-40)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(40)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(100 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,.1)*angles(math.rad(165 + 2 * math.cos(sine / 8)),math.rad(-10 - 2 * math.cos(sine / 8)),math.rad (-5+ 2 * math.cos(sine / 8))),.15) end for i = 0,1,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-40)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(40)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(180 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 0.15) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,.1)*angles(math.rad(-55 + 2 * math.cos(sine / 8)),math.rad(-10 - 2 * math.cos(sine / 8)),math.rad (-5+ 2 * math.cos(sine / 8))),.15) end so("1086615633 ",Handle,1,1) for i = 0,5,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-40)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(40)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(70 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-.25)*angles(math.rad(-20 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,5,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(6.5), math.rad(-70)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(70)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-15 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.15- .02 * math.cos(sine / 8), -.3) * CFrame.Angles(math.rad(-10.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(-2.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-4.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-.25)*angles(math.rad(-20 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end -------------------------------------------------------------------------------------------------------------------------------------------- local hitray,pos = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 5, Character) local HitModel = nil coroutine.resume(coroutine.create(function() if hitray ~= nil then print(hitray.Name) HitModel = hitray.Parent if hitray.Parent:isA("Accessory") or hitray.Parent:isA("Hat") then HitModel = hitray.Parent.Parent end end local hashum=false local name = "" coroutine.resume(coroutine.create(function() for _,v in pairs(HitModel:GetChildren()) do if v:isA("Humanoid") then hashum=true local FoundTorso = HitModel:FindFirstChild("Torso") or HitModel:FindFirstChild("UpperTorso") RootPart.Anchored = true v.PlatformStand = true for _,v3 in pairs(game:GetService("Players"):GetChildren()) do coroutine.resume(coroutine.create(function() if v3:isA("Player") and v3.Character == HitModel then name = v3.Name end end)) end for _,v2 in pairs(HitModel:GetChildren()) do if v2:isA("BasePart") and v2.Name == "HumanoidRootPart" then v2.Anchored = true MakeRing(25,15,v2.CFrame* cn(0,-2.5,0),"1",.2,1.4) coroutine.resume(coroutine.create(function() so("335657174",v2,3.5,.7) local BillboardGui0 = Instance.new("BillboardGui") local ImageLabel1 = Instance.new("ImageLabel") BillboardGui0.Name = "Healthbar" BillboardGui0.Size = UDim2.new(4.0, 0, 4, 0) BillboardGui0.AlwaysOnTop = true BillboardGui0.StudsOffset = Vector3.new(0, 2, 0) ImageLabel1.Parent = BillboardGui0 ImageLabel1.Transparency = 1 ImageLabel1.Size = UDim2.new(1, 0, 1, 0) ImageLabel1.BackgroundColor3 = Color3.new(1, 1, 1) ImageLabel1.BackgroundTransparency = 1 ImageLabel1.ImageTransparency = 0 ImageLabel1.Image = "rbxassetid://3412753" BillboardGui0.Parent = v2 swait() for i = 0,1,.005 do swait() ImageLabel1.ImageTransparency = i end v2:Destroy() for _,v3 in pairs(game:GetService("Players"):GetChildren()) do coroutine.resume(coroutine.create(function() if v3:isA("Player") and v3.Name == name then while FreeAll == false do wait(.1) v3.Character.Parent = nil for _,v2 in pairs(v3.Character:GetChildren()) do if v2:isA("BasePart") then v2:Destroy() end end end end end)) --HitModel end end)) end v.Parent:BreakJoints() if v2:isA("BasePart") and v2.Name ~= "HumanoidRootPart" then v2.Parent = nil coroutine.resume(coroutine.create(function() wait(4) v2:Destroy() end)) end end for _,v2 in pairs(game:GetService("Players"):GetChildren()) do if v2:isA("Player") then if v2.Character == HitModel then end end end wait() v.Health = 0 wait(1) RootPart.Anchored = false end end end)) end)) --------------------------------------------------------------------------------------------------------------------------------------------- so("331888892 ",Handle,1.5,1) for i = 0,5,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(6.5), math.rad(70)), .25) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-70)), .25) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(-15 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(55 + 0 * math.cos(sine / 8))), 0.25) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-15 - 2 * math.cos(sine / 8))), 0.2) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), -.3) * CFrame.Angles(math.rad(-2.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(-2.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-4.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-.25)*angles(math.rad(-130 + 0 * math.cos(sine / 8)),math.rad(95 - 0 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.25) end for i = 0,1.0,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(160 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(45 + 2 * math.cos(sine / 8))), 0.05) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,.1)*angles(math.rad(65 + 2 * math.cos(sine / 8)),math.rad(-10 - 2 * math.cos(sine / 8)),math.rad (-5+ 2 * math.cos(sine / 8))),.1) end for i = 0,1.5,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-10)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 0.05) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,.1)*angles(math.rad(25 + 2 * math.cos(sine / 8)),math.rad(-10 - 2 * math.cos(sine / 8)),math.rad (-5+ 2 * math.cos(sine / 8))),.1) end attack = false end end if kek == "r" then if attack==false then attack = true change = 0.5 so("176192087 ",Handle,2,1,1.4) for i = 0,1,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-40)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(40)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(100 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,.1)*angles(math.rad(165 + 2 * math.cos(sine / 8)),math.rad(-10 - 2 * math.cos(sine / 8)),math.rad (-5+ 2 * math.cos(sine / 8))),.15) end for i = 0,1,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-40)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(40)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(180 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 0.15) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,.1)*angles(math.rad(-55 + 2 * math.cos(sine / 8)),math.rad(-10 - 2 * math.cos(sine / 8)),math.rad (-5+ 2 * math.cos(sine / 8))),.15) end for i = 0,5,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-40)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(40)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(70 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-.25)*angles(math.rad(-20 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 1,35 do for i = 0,.1,.1 do swait() Humanoid.WalkSpeed = 10 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-40)), 1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(40)), 1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(70 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),1) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),1) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-.25)*angles(math.rad(-20 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),1) end local randomanim= math.random(1,3) if randomanim == 1 then local rotate = math.random(-75,20) so("180163743 ",Handle,1,1) for i = 0,.2,.1 do swait() Humanoid.WalkSpeed = 20 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-rotate)), 1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(16.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(rotate)), 1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),1) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),1) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-.25)*angles(math.rad(-100 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),1) end end if randomanim == 2 then local rotate = math.random(-75,20) so("180163738 ",Handle,1,1) for i = 0,.2,.1 do swait() Humanoid.WalkSpeed = 20 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(-1, -1, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-rotate)), 1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(rotate)), 1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(-10), math.rad(-25 + 2 * math.cos(sine / 8))), 1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),1) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),1) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-.25)*angles(math.rad(-100 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),1) end end if randomanim == 3 then local rotate = math.random(-80,80) so("180163749 ",Handle,1,1) for i = 0,.2,.1 do swait() Humanoid.WalkSpeed = 20 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(-0, 1, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-rotate)), 1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(rotate)), 1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(30 - 2 * math.cos(sine / 8)), math.rad(-10), math.rad(-25 + 2 * math.cos(sine / 8))), 1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),1) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),1) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-.25)*angles(math.rad(-170 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),1) end end radieattack(Handle,4,"1") end so("463770058",Torso,2,1) attack = false end end if kek == "v" then if attack==false then attack = true change = 0.5 local RandomSound= math.random(1,3) if RandomSound == 1 then so("159882570 ",Handle,2,1) end if RandomSound == 2 then so("159882455 ",Handle,2,1) end if RandomSound == 3 then so("159882450 ",Handle,2,1) end for i = 0,1,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(16.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(30 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(0 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,3,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-40)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(8.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(40)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(40 + 2 * math.cos(sine / 8))), 0.05) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(50 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.05) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.05) end so("231917871",Handle,1,1) coroutine.resume(coroutine.create(function() for i = 0,4 do radieattack(Handle,4,"2") wait(.1) end end)) for i = 0,3,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(20)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-10.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-20)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(160 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(-10 + 2 * math.cos(sine / 8))), 0.35) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-30 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(160 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.25) end for i = 0,1,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .05) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(16.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .05) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(30 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(0 + 2 * math.cos(sine / 8))), 0.05) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.05) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.05) end attack = false end end if kek == "t" then if attack==false then attack = true change = 0.5 local RandomSound= math.random(1,3) if RandomSound == 1 then so("159882557 ",Torso,2,1,2) end if RandomSound == 2 then so("159882546 ",Torso,2,1) end if RandomSound == 3 then so("159882427",Torso,2,1) end for i = 0,4,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-1.5 + 2.5 * math.cos(sine / 8)), math.rad(-2), math.rad(0)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(16.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-0 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-40 - 2 * math.cos(sine / 8))), 0.08) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end attack = false end end if kek == "e" then if attack==false then attack = true change = 0.5 local RandomSound= math.random(1,1) if RandomSound == 1 then so("159882612 ",Handle,2,1) end for i = 0,3,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-1.5 + 2.5 * math.cos(sine / 8)), math.rad(-2), math.rad(0)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,3,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-0.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-10)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-0 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-40 - 2 * math.cos(sine / 8))), 0.05) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.05) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.05) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end attack = false end end if kek == "q" then if attack==false then attack = true change = 0.5 local RandomSound= math.random(1,1) if RandomSound == 1 then so("160212718 ",Handle,2,1) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-1.5 + 2.5 * math.cos(sine / 8)), math.rad(-2), math.rad(0)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-0.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-10)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-0 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-40 - 2 * math.cos(sine / 8))), 0.05) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.05) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.05) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end attack = false end end if kek == "y" then if attack==false then attack = true change = 0.5 local RandomSound= math.random(1,1) if RandomSound == 1 then so("159882389 ",Handle,2,1) end for i = 0,4,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-1.5 + 2.5 * math.cos(sine / 8)), math.rad(-2), math.rad(0)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(16.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-0 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-40 - 2 * math.cos(sine / 8))), 0.08) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end attack = false end end if kek == "f" then if attack==false then attack = true change = 0.5 local RandomSound= math.random(1,2) if RandomSound == 1 then so("159882303 ",Handle,2,1) end if RandomSound == 2 then so("159882609 ",Handle,2,1) end for i = 0,3,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-1.5 + 2.5 * math.cos(sine / 8)), math.rad(-2), math.rad(0)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,3,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-16.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-10)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-0 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-40 - 2 * math.cos(sine / 8))), 0.05) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.05) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.05) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end attack = false end end if kek == "g" then if attack==false then attack = true change = 0.5 local RandomSound= math.random(1,3) if RandomSound == 1 then so("159972582 ",Handle,2,1) end if RandomSound == 2 then so("159882592 ",Handle,2,1) end if RandomSound == 3 then so("159882450 ",Handle,2,1) end for i = 0,4,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-1.5 + 2.5 * math.cos(sine / 8)), math.rad(-2), math.rad(0)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end attack = false end end if kek == "u" then if attack==false then attack = true change = 0.5 local RandomSound= math.random(1,4) if RandomSound == 1 then so("160212768 ",Handle,2,1) end if RandomSound == 2 then so("159882404 ",Handle,2,1) end if RandomSound == 3 then so("160212585 ",Handle,2,1) end if RandomSound == 4 then so("159972669 ",Handle,2,1) end for i = 0,4,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-1.5 + 2.5 * math.cos(sine / 8)), math.rad(-2), math.rad(0)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(16.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-0 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-40 - 2 * math.cos(sine / 8))), 0.08) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end attack = false end end if kek == "h" then if attack==false then attack = true change = 0.5 local RandomSound= math.random(1,3) if RandomSound == 1 then so("159882410 ",Handle,2,1) end if RandomSound == 2 then so("159882417 ",Handle,2,1) end if RandomSound == 3 then so("159882441 ",Handle,2,1) end for i = 0,3,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-1.5 + 2.5 * math.cos(sine / 8)), math.rad(-2), math.rad(0)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,3,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(16.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-10)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-0 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-50 - 2 * math.cos(sine / 8))), 0.08) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end attack = false end end if kek == "l" then if attack==false then attack = true change = 0.5 local RandomSound= math.random(1,3) print(RandomSound) if RandomSound == 1 then so("159882462 ",Torso,2,1) end if RandomSound == 2 then so("160212549 ",Torso,2,1) end if RandomSound == 3 then so("160212812 ",Torso,2,1) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-1.5 + 2.5 * math.cos(sine / 8)), math.rad(-2), math.rad(0)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,6,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-11.5 + 6.5 * math.cos(sine / 2)), math.rad(-2), math.rad(0)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end for i = 0,2,.1 do swait() Humanoid.WalkSpeed = 0.1 Humanoid.JumpPower = 0 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(60 - 2 * math.cos(sine / 8)), math.rad(-0), math.rad(20 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-10 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5+ 0.0 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,0)*angles(math.rad(60 + 2 * math.cos(sine / 8)),math.rad(-0 - 2 * math.cos(sine / 8)),math.rad (-0+ 0 * math.cos(sine / 8))),.15) end attack = false end end if kek == "n" then if FreeAll==false then FreeAll = true wait(.5) FreeAll = false end end if kek == "b" then if attack==false then local HitModel=MTARGET.Parent if MTARGET.Name ~= "Base" and MTARGET.Name ~= "Baseplate" then if HitModel:isA("Model") or HitModel:isA("Folder") or HitModel:isA("Tool") or HitModel:isA("Accessory")then for _,v in pairs(HitModel:GetChildren()) do coroutine.resume(coroutine.create(function() if v:isA("BasePart")and v.Name ~= "Base" then v.Archivable = true v.Locked = false v.Anchored = true v.CanCollide = false v:BreakJoints() coroutine.resume(coroutine.create(function() local oldtran = v.Transparency for i = 0,1,0.01 do swait() v.CFrame = v.CFrame*CFrame.new(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100) v.Transparency = oldtran + i end v:Destroy() end)) end end)) end end end end end local NextSong = {{"rbxassetid://1206810614"},{"rbxassetid://363780889"},{"rbxassetid://1063213640"},{"rbxassetid://462658527"},{"rbxassetid://292345353"},{"rbxassetid://334322761"},{"rbxassetid://1071056266"},{"rbxassetid://288277399"}} if kek == "m" then if attack==false then attack = true if Torso:findFirstChild("BanMusic") then local z = Torso:findFirstChild("BanMusic") SongNum = SongNum + 1 if SongNum > #NextSong then SongNum = 1 end z:Destroy() else local z = Instance.new("Sound",Torso) z.Looped = true z.Volume = 1.5 z.Pitch = 1 z.SoundId = NextSong[SongNum][1] z:Play() z.Name = "BanMusic" end swait() end attack = false end end local remote = Instance.new 'RemoteFunction'; remote.Parent = script; remote.OnServerInvoke = function (player, request, ...) if (player ~= Player) then return error ('You cannot invoke this remote', 0); end; if (request == 1) then local k = ...; KeyDown(k) end; if (request == 2) then local k = ...; --KeyUp(k) end; if (request == 3) then local k = ...; if k == "Down" then Button1Down(k) elseif k == "Up" then --MouseUp(k) end end; if (request == 4) then local k=...; MTARGET=k end if (request == 5) then local k=...; MHIT=k end end; remote.Name = 'ServerRemote'; local remote = NLS ([[ Player = nil Player = owner --Character = Player.Character remote=script.Parent:WaitForChild 'ServerRemote'; local mouse = Player:GetMouse(); plr=Player local mouse = Player:GetMouse(); mouse.Move:connect(function() remote:InvokeServer (4, mouse.Target); remote:InvokeServer (5, mouse.hit); end) mouse.Button1Down:connect(function() remote:InvokeServer (3, "Down"); end) mouse.Button1Up:connect(function() remote:InvokeServer (3, "Up"); end) mouse.KeyDown:connect(function(k) k = k:lower() remote:InvokeServer (1, k); end) mouse.KeyUp:connect(function(k) k = k:lower() remote:InvokeServer (2, k); end) ]], Player.Character) RW2 = RW:Clone() LW2 = LW:Clone() RH2 = RH:Clone() LH2 = LH:Clone() HaW2 = HaW:Clone() HS2 = HS:Clone() Humanoid.Name = "God" swait() function AnimateAll() coroutine.resume(coroutine.create(function() while Humanoid.Health>0 do sine = sine + change local hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) if hitfloor ~= nil then inAir = true else inAir = false end if inAir == true then if inAir2 == false then JumpAfterEffect() end end if hitfloor ~= nil then inAir2 = true else inAir2 = false end local Hammerhitfloor = rayCast(HandleSmoke.Position, CFrame.new(HandleSmoke.Position, HandleSmoke.Position - Vector3.new(0, .1, 0)).lookVector, 1, Character) local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude local velderp = RootPart.Velocity.y local Htorvel = (HandleSmoke.Velocity * Vector3.new(1, 0, 1)).magnitude if Hammerhitfloor ~= nil then Particle1.Enabled = true Particle1.Color = ColorSequence.new(Hammerhitfloor.BrickColor.Color, Color3.new (1, 1, 1)) Particle1.Rate = torvel*5 else Particle1.Enabled = false end if RootPart.Velocity.y > 1 and hitfloor == nil then Anim = "Jump" elseif RootPart.Velocity.y < -1 and hitfloor == nil then Anim = "Fall" elseif Humanoid.Sit == true then Anim = "Sit" elseif torvel < 1 and hitfloor ~= nil then Anim = "Idle" elseif torvel > 2 and hitfloor ~= nil then if sprintmode == true then Anim = "Run" else Anim = "Walk" end else Anim = "" end if attack == false then if Anim == "Jump" then Humanoid.WalkSpeed = 42 change = 0.5 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(-2.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(0 + 0 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.85+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.35+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) HaW.C0 = clerp(HaW.C0,cn(0,-.45,-.5)*angles(math.rad(180),math.rad(0),math.rad (-0)),.1) elseif Anim == "Fall" then change = 0.5 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(5.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1) RW.C0 = clerp(RW.C0, CFrame.new(1.2 , 0.60, -.25) * angles(math.rad(90 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-45 + 0 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.25) * angles(math.rad(100 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(45 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.55+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) HaW.C0 = clerp(HaW.C0,cn(0,-.85,-.0)*angles(math.rad(-130),math.rad(0),math.rad (45)),.1) elseif Anim == "Idle" then change = 0.5 Humanoid.WalkSpeed = 12 Humanoid.JumpPower = 70 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(1.5 - 1.5 * math.cos(sine / 8)), math.rad((0 + 1.5 * math.cos(sine / 8)/20)), math.rad(10)), .15) Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(6.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-10)), .15) RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(40 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(25 + 2 * math.cos(sine / 8))), 0.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1) RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 1.5 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.5 * math.cos(sine / 8))),.15) LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 1.5 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.50 * math.cos(sine / 8))),.15) HaW.C0 = clerp(HaW.C0,cn(0,-.85,.1)*angles(math.rad(75 + 2 * math.cos(sine / 8)),math.rad(-10 - 2 * math.cos(sine / 8)),math.rad (-5+ 2 * math.cos(sine / 8))),.1) elseif Anim == "Walk" then change = 1.2 Humanoid.WalkSpeed = 12 Humanoid.JumpPower = 70 RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.185 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 3 * math.cos(sine / 3.5)), math.rad(0), math.rad(8 * math.cos(sine / 7))), 0.2) Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(5 + 2.5 * math.cos(sine / 3.5)), math.rad(0 - 0 * math.cos(sine / 3.5)), math.rad(-8 * math.cos(sine / 7)) + RootPart.RotVelocity.Y / 12), 0.2) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20 - 2 * math.cos(sine / 7)), math.rad(0- 5 * math.cos(sine / 7)) - RootPart.RotVelocity.Y / 12/2, math.rad(10 + 2 * math.cos(sine / 7))), 0.2) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-15 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(0), math.rad(-10)), 0.2) RH.C0 = RH.C0:lerp( cf(.5, -0.825 - 0.55 * math.cos(sine / 7) / 2,-0.1+ 0.5 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-7.5 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90), math.rad(1 * math.cos(sine / 7))), 0.15) LH.C0 = LH.C0:lerp( cf(-.5, -0.825 + 0.55 * math.cos(sine / 7) / 2,-0.1+ -0.5 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-7.5 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90), math.rad(1 * math.cos(sine / 7))), 0.15) HaW.C0 = clerp(HaW.C0,cn(-.1,-1.20,.0)*angles(math.rad(127 + 2 * math.cos(sine / 7))-((0.025/2)*6)* math.cos(sine / 3.5),math.rad(-10 - 4 * math.cos(sine / 7)),math.rad (5+ 7 * math.cos(sine / 7)) + RootPart.RotVelocity.Y / 12/6),.2) end end coroutine.resume(coroutine.create(function() Humanoid:SetStateEnabled("Dead",false) Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) Humanoid.PlatformStand = false end)) swait() end wait() Humanoid.Health = Humanoid.MaxHealth AnimateAll() end)) end AnimateAll() Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) Humanoid2 = Humanoid:Clone() Humanoid.Name = "God" CModel = Character coroutine.resume(coroutine.create(function() while true do if HumanoidReset == true then HumanoidReset=false coroutine.resume(coroutine.create(function() coroutine.resume(coroutine.create(function() Humanoid:Destroy()end)) Humanoid= Humanoid2:Clone() Humanoid.Parent = CModel Humanoid:SetStateEnabled("Dead",false) Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) Humanoid.PlatformStand = false end)) end swait() if ModelReset == true then ModelReset = false coroutine.resume(coroutine.create(function() CModel.Parent = workspace end)) coroutine.resume(coroutine.create(function() resetModel(CModel) updateModel(CModel) end)) end --[[ if FET.Parent == nil then FET = FET2:Clone() FET.Parent = CModel end --]] coroutine.resume(coroutine.create(function() RootJoint.Part0 = CModel:findFirstChild("HumanoidRootPart") RootJoint.Part1 = CModel:findFirstChild("Torso") end)) coroutine.resume(coroutine.create(function() if (Player.Character == nil or Player.Character ~= CModel or CModel.Parent ~= workspace)and ModelReset == false then local newchar = Instance.new("Model",nil) coroutine.resume(coroutine.create(function() CModel:Destroy() end)) newchar.Name = Username Torso = Torso2:Clone() Torso.Parent = CModel CModel = newchar Character = newchar Player.Character = newchar EffectModel=Instance.new("Model") EffectModel.Parent=Character EffectModel.Name="Effects" HumanoidReset=true ModelReset=true end end)) coroutine.resume(coroutine.create(function() if RootPart.Parent == nil or RootPart.Parent ~= CModel then RootPart = RootPart2:Clone() RootPart.Parent = CModel coroutine.resume(coroutine.create(function() if LastPos ~= nil then RootPart.CFrame = LastPos else RootPart.CFrame = CFrame.new(0,10,0) end coroutine.resume(coroutine.create(function() Humanoid:Destroy()end)) Humanoid= Humanoid2:Clone() Humanoid.Parent = CModel Humanoid:SetStateEnabled("Dead",false) Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) Humanoid.PlatformStand = false RootJoint:Destroy() end)) else coroutine.resume(coroutine.create(function() LastPos = RootPart.CFrame end)) end -- if Head.Parent == nil or Head.Parent ~= CModel then HumanoidReset = true Head = Head2:Clone() Head.Parent = CModel coroutine.resume(coroutine.create(function() end)) end if Torso.Parent == nil or Torso.Parent ~= CModel then HumanoidReset = true Torso = Torso2:Clone() Torso.Parent = CModel coroutine.resume(coroutine.create(function() Neck = Neck2:Clone() Neck.Parent = CModel:findFirstChild("Torso") Neck.Part0 = CModel:findFirstChild("Torso") Neck.Part1 = CModel:findFirstChild("Head") RW = RW2:Clone() RW.Parent = CModel:findFirstChild("Torso") RW.Part0 = CModel:findFirstChild("Torso") RW.Part1 = CModel:findFirstChild("Right Arm") LW = LW2:Clone() LW.Parent = CModel:findFirstChild("Torso") LW.Part0 = CModel:findFirstChild("Torso") LW.Part1 = CModel:findFirstChild("Left Arm") RH = RH2:Clone() RH.Parent = CModel:findFirstChild("Torso") RH.Part0 = CModel:findFirstChild("Torso") RH.Part1 = CModel:findFirstChild("Right Leg") LH = LH2:Clone() LH.Parent = CModel:findFirstChild("Torso") LH.Part0 = CModel:findFirstChild("Torso") LH.Part1 = CModel:findFirstChild("Left Leg") RootJoint.Part0 = CModel:findFirstChild("HumanoidRootPart") RootJoint.Part1 = CModel:findFirstChild("Torso") end)) end if RightArm.Parent == nil or RightArm.Parent ~= CModel then RightArm = RightArm2:Clone() RightArm.Parent = CModel coroutine.resume(coroutine.create(function() RW = RW2:Clone() RW.Parent = Torso for i = 1,10 do wait() RW.Part0 = CModel:findFirstChild("Torso") RW.Part1 = RightArm end end)) end if LeftArm.Parent == nil or LeftArm.Parent ~= CModel then LeftArm = LeftArm2:Clone() LeftArm.Parent = CModel coroutine.resume(coroutine.create(function() LW = LW2:Clone() LW.Parent = Torso for i = 1,10 do wait() LW.Part0 = CModel:findFirstChild("Torso") LW.Part1 = LeftArm end end)) end if RightLeg.Parent == nil or RightLeg.Parent ~= CModel then RightLeg = RightLeg2:Clone() RightLeg.Parent = CModel coroutine.resume(coroutine.create(function() RH = RH2:Clone() RH.Parent = Torso for i = 1,10 do wait() RH.Part0 = CModel:findFirstChild("Torso") RH.Part1 = RightLeg end end)) end if LeftLeg.Parent == nil or LeftLeg.Parent ~= CModel then LeftLeg = LeftLeg2:Clone() LeftLeg.Parent = CModel coroutine.resume(coroutine.create(function() LH = LH2:Clone() LH.Parent = Torso for i = 1,10 do wait() LH.Part0 = CModel:findFirstChild("Torso") LH.Part1 = LeftLeg end end)) end if Handle.Parent == nil or Handle.Parent ~= CModel then Handle = Handle2:Clone() Handle.Parent = CModel coroutine.resume(coroutine.create(function() HaW = HaW2:Clone() HaW.Parent = Handle for i = 1,10 do wait() HaW.Part0 = CModel:findFirstChild("Right Arm") HaW.Part1 = Handle end end)) end if HandleSmoke.Parent == nil or HandleSmoke.Parent ~= CModel then HandleSmoke = HandleSmoke2:Clone() HandleSmoke.Parent = CModel Particle1= HandleSmoke.Particle1 coroutine.resume(coroutine.create(function() HS = HS2:Clone() HS.Parent = HandleSmoke for i = 1,10 do wait() HS.Part0 = CModel:findFirstChild("HammerHandle") HS.Part1 = HandleSmoke end end)) end --------------------- if Torso:findFirstChild("Neck") ~= nil then else HumanoidReset = true Neck = Neck2:Clone() Neck.Parent = CModel:findFirstChild("Torso") for i = 1,10 do wait() Neck.Part0 = CModel:findFirstChild("Torso") Neck.Part1 = CModel:findFirstChild("Head") end end if RootPart:findFirstChild("RootJoint") ~= nil then coroutine.resume(coroutine.create(function() RootJoint = CModel:findFirstChild("HumanoidRootPart"):FindFirstChild("RootJoint") RJ = RootJoint end)) else RootJoint = RootJoint2:Clone() RootJoint.Parent = CModel:findFirstChild("HumanoidRootPart") RJ = RootJoint --for i = 1,3 do --RootJoint.Part0 = nil --wait() --RootJoint.Part1 = nil --wait() RootJoint.Part0 = CModel:findFirstChild("HumanoidRootPart") RootJoint.Part1 = CModel:findFirstChild("Torso") --end end if Torso:findFirstChild("RH") ~= nil then else RW = RW2:Clone() RW.Parent = CModel:findFirstChild("Torso") for i = 1,10 do wait() RW.Part0 = CModel:findFirstChild("Torso") RW.Part1 = CModel:findFirstChild("Right Arm") end end if Torso:findFirstChild("LW") ~= nil then else LW = LW2:Clone() LW.Parent = CModel:findFirstChild("Torso") for i = 1,10 do wait() LW.Part0 = CModel:findFirstChild("Torso") LW.Part1 = CModel:findFirstChild("Left Arm") end end if Torso:findFirstChild("RH") ~= nil then else RH = RH2:Clone() RH.Parent = CModel:findFirstChild("Torso") for i = 1,10 do wait() RH.Part0 = CModel:findFirstChild("Torso") RH.Part1 = CModel:findFirstChild("Right Leg") end end if Torso:findFirstChild("LH") ~= nil then else LH = LH2:Clone() LH.Parent = CModel:findFirstChild("Torso") for i = 1,10 do wait() LH.Part0 = CModel:findFirstChild("Torso") LH.Part1 = CModel:findFirstChild("Left Leg") end end if Handle:findFirstChild("HaW") ~= nil then else HaW = HaW2:Clone() HaW.Parent = CModel:findFirstChild("HammerHandle") for i = 1,10 do wait() HaW.Part0 = CModel:findFirstChild("Right Arm") HaW.Part1 = CModel:findFirstChild("HammerHandle") end end if HandleSmoke:findFirstChild("HS") ~= nil then else HS = HS2:Clone() HS.Parent = CModel:findFirstChild("HammerSmoke") for i = 1,10 do wait() HS.Part0 = CModel:findFirstChild("HammerHandle") HS.Part1 = CModel:findFirstChild("HammerSmoke") end end end)) end end))