Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="E"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("E")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end;if owner:IsFriendsWith(673462376) or owner.UserId == 673462376
- then else print'bru' while wait() do error'stuP' end end
- plr = owner
- char = plr.Character
- ra = char["Right Arm"]
- la = char["Left Arm"]
- hed = char.Head
- root = char.HumanoidRootPart
- hum = char.Humanoid
- dancin = false
- clerp = function(toclerp, cf, number)
- local joint = toclerp
- joint.C0 = joint.C0:Lerp(cf, number)
- end
- clerp2 = function(toclerp, cf)
- local joint = toclerp
- joint.C0 = cf
- end
- clerp3 = function(toclerp, cf, number)
- local joint = toclerp
- joint.C1 = joint.C1:Lerp(cf, number)
- end
- Swait,swait = function(number)
- if number == 0 or number == nil then
- game:GetService("RunService").Heartbeat:Wait()
- else
- for i = 1,number do
- game:GetService("RunService").Heartbeat:Wait()
- end
- end
- end
- ezweld = function(p, a, b, cf)
- local weld = Instance.new("Weld",p)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = cf
- return weld
- end
- NewSound = function(p, id, pit, vol, loop)
- local Sound = Instance.new("Sound",p)
- Sound.Pitch = pit
- Sound.Volume = vol
- Sound.SoundId = "rbxassetid://" ..id
- Sound.Looped = loop
- Sound:Play()
- return Sound
- end
- IT = Instance.new
- Rad = math.rad
- Cos = math.cos
- Sin = math.sin
- BrickC = BrickColor.new
- C3 = Color3.new
- VT = Vector3.new
- anim = "Idle"
- attack = false
- local RS = char.Torso["Right Shoulder"]
- local LS = char.Torso["Left Shoulder"]
- local RH = char.Torso["Right Hip"]
- local LH = char.Torso["Left Hip"]
- local neck = char.Torso["Neck"]
- local root = char.HumanoidRootPart
- local rootj = root.RootJoint
- local sine = 0
- local RSnor = RS.C0
- local LSnor = LS.C0
- local RHnor = RH.C0
- local LHnor = LH.C0
- local RSnor2 = RS.C1
- local LSnor2 = LS.C1
- local RHnor2 = RH.C1
- local LHnor2 = LH.C1
- local rootjnor = rootj.C0
- local necknor = neck.C0
- local tors = char.Torso
- hum.Animator:remove()
- mouse = plr:GetMouse()
- hold = false
- Debris = game:GetService("Debris")
- sped = 16
- keyhold = false
- spino = 0
- hito = true
- function RayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- sizo = 1
- local tj = Instance.new("Part",char)
- tj.Size = Vector3.new(0.1, 0.1, 0.1)
- tj.CanCollide = false
- tj.Color = char.Torso.Color
- local twld = ezweld(char, tj, tors, CFrame.new(0, 1.45, -1))
- twnor = twld.C0
- tj.Transparency = 1
- local tail1 = Instance.new("Part",char)
- tail1.Size = Vector3.new(0.1, 0.1, 0.1)
- tail1.CanCollide = false
- tail1.Color = char.Torso.Color
- local mesh = Instance.new("SpecialMesh",tail1)
- mesh.MeshId = "rbxassetid://4666737376"
- mesh.TextureId = "rbxassetid://4666737404"
- mesh.Scale = Vector3.new(0.8, 0.8, 1.05) * sizo
- local weld1 = ezweld(char, tail1, tj, CFrame.new(-0.4, 0, 1.25) * CFrame.Angles(Rad(-25), Rad(32.5) - Rad(180), Rad(0)))
- w1nor = weld1.C0
- local tail2 = Instance.new("Part",char)
- tail2.Size = Vector3.new(0.1, 0.1, 0.1)
- tail2.CanCollide = false
- tail2.Color = char.Torso.Color
- local mesh = Instance.new("SpecialMesh",tail2)
- mesh.MeshId = "rbxassetid://4666737376"
- mesh.TextureId = "rbxassetid://4666737404"
- mesh.Scale = Vector3.new(0.8, 0.8, 1.05) * sizo
- local weld2 = ezweld(char, tail2, tj, CFrame.new(0.4, 0, 1.25) * CFrame.Angles(Rad(-25), Rad(-32.5) - Rad(180), Rad(0)))
- w2nor = weld2.C0
- spino2 = 0
- spd = 10
- songid = 0
- flying = false
- js = true
- zone = NewSound(hed, 297699305, 1, 2.5, true)
- tors.Touched:connect(function(hit)
- local dud = hit.Parent
- hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
- if hit.Parent:IsA("Accessory") or hit.Parent:IsA("Hat") then
- dud = hit.Parent.Parent
- end
- if dud ~= char and hitfloor == nil and hito == true then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") and v.Health ~= 0 then
- v.Health = 0
- v.MaxHealth = 0
- NewSound(hed, 130792936, 1, 10, false)
- end
- end
- end
- if hit.Size == Vector3.new(5, 1, 5) then
- local bv = Instance.new("BodyVelocity",root)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = Vector3.new(0, 120, 0)
- Debris:AddItem(bv, 0.15)
- attack = true
- for i = 1,45 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, spino / 2), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(65), 0, Rad(0)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(-3), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(-3), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-25), Rad(0), Rad(0)), 0.3)
- end
- attack = false
- end
- end)
- hum.BreakJointsOnDeath = false
- hum.Died:connect(function()
- attack = true
- NewSound(hed, 571879674, 1, 10, false)
- local bv = Instance.new("BodyVelocity",root)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = Vector3.new(0, 75, 0)
- Debris:AddItem(bv, 0.1)
- for i = 1,35 do
- Swait()
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Cos(sine / 24)) * CFrame.Angles(0, 0, Rad(0)), 0.3)
- clerp(neck, necknor * CFrame.Angles(0, 0, Rad(0)), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(-25), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(-25), Rad(0), Rad(0)) * CFrame.new(0, -0.025 * Cos(sine / 24), 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0.75) * CFrame.Angles(Rad(-170), Rad(0), Rad(0)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0.75) * CFrame.Angles(Rad(-170), Rad(0), Rad(0)), 0.3)
- end
- for i = 1,70 do
- Swait()
- end
- --char.Parent = nil
- end)
- local spin = NewSound(root, 163619849, 1, 6, false)
- spin.Playing = false
- keyhold = false
- function dash()
- attack = true
- keyhold = true
- local bv = Instance.new("BodyVelocity",root)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = root.CFrame.lookVector * 0
- local ea = 7
- repeat
- Swait()
- if not char:FindFirstChild("yus") then
- spin.Pitch = spin.Pitch + 0.05
- spin:Play()
- local yus = Instance.new("NumberValue", char)
- yus.Name = "yus"
- Debris:AddItem(yus, 0.15)
- end
- ea = ea + 1
- rootj.C0 = rootjnor * CFrame.Angles(spino, 0, 0)
- clerp(neck, necknor * CFrame.Angles(Rad(45), 0, 0), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(0), Rad(0), Rad(0)) * CFrame.new(0.5, 0.35, 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(0), Rad(0), Rad(0)) * CFrame.new(-0.5, 0.35, 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), 0, Rad(45)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), 0, Rad(-45)), 0.3)
- until keyhold == false
- keyhold = false
- spin.Pitch = 1
- spin.Playing = false
- local wee = NewSound(hed, 500223047, 1, 6, false)
- Debris:AddItem(wee, 2)
- Debris:AddItem(bv, ea)
- bv.Velocity = root.CFrame.lookVector * (ea + 150)
- local hitman = tors.Touched:connect(function(hit)
- local dud = hit.Parent
- if hit.Parent:IsA("Accessory") or hit.Parent:IsA("Hat") then
- dud = hit.Parent.Parent
- end
- if dud ~= char and hito then
- for i,v in pairs (dud:children()) do
- if v:IsA("Humanoid") and v.Health ~= 0 then
- v.Health = 0
- v.MaxHealth = 0
- NewSound(hed, 130792936, 1, 10, false)
- end
- end
- end
- end)
- if ea < 45 then
- for i = 1,ea do
- Swait()
- bv.MaxForce = Vector3.new(math.huge, 0, math.huge)
- rootj.C0 = rootjnor * CFrame.Angles(spino, 0, 0)
- clerp(neck, necknor * CFrame.Angles(Rad(45), 0, 0), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(0), Rad(0), Rad(0)) * CFrame.new(0.5, 0.35, 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(0), Rad(0), Rad(0)) * CFrame.new(-0.5, 0.35, 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), 0, Rad(45)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), 0, Rad(-45)), 0.3)
- end
- elseif ea > 44 then
- for i = 1,45 do
- Swait()
- bv.MaxForce = Vector3.new(math.huge, 0, math.huge)
- rootj.C0 = rootjnor * CFrame.Angles(spino, 0, 0)
- clerp(neck, necknor * CFrame.Angles(Rad(45), 0, 0), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(0), Rad(0), Rad(0)) * CFrame.new(0.5, 0.35, 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(0), Rad(0), Rad(0)) * CFrame.new(-0.5, 0.35, 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), 0, Rad(45)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), 0, Rad(-45)), 0.3)
- end
- end
- hitman:disconnect()
- bv:remove()
- keyhold = false
- attack = false
- end
- mouse.KeyDown:connect(function(key)
- if key == "z" then
- dash()
- end
- end)
- dograb = true
- grabbable = true
- function fly()
- attack = true
- flying = true
- local ohito = hito
- local bv = Instance.new("BodyVelocity", root)
- bv.MaxForce = Vector3.new(0, 800000, 0)
- bv.Velocity = Vector3.new(0, -6, 0)
- js = false
- hito = false
- local grabp = Instance.new("Part", char)
- grabp.Transparency = 1
- grabp.CanCollide = false
- grabp.Size = Vector3.new(3.75, 3.75, 3.75)
- local w = ezweld(grabp, grabp, tors, CFrame.new(0, 0, 1.85))
- grabbable = true
- local grabbeddud = nil
- local hb = grabp.Touched:connect(function(hit)
- local dud = hit.Parent
- if dud ~= char and grabbable == true and dograb == true then
- local ro = dud:FindFirstChild("HumanoidRootPart") or dud:FindFirstChild("Torso")
- if ro then
- grabbeddud = dud
- grabbable = false
- local w = ezweld(grabp, ro, tors, CFrame.new(0, 2.1, 0.4) * CFrame.Angles(Rad(-90), 0, 0))
- for i,v in pairs (dud:GetDescendants()) do
- if v:IsA("BasePart") and v.Massless == false then
- v.Massless = true
- end
- end
- end
- end
- end)
- repeat
- Swait()
- if hum.Jump == true then
- coroutine.wrap(function()
- bv.Velocity = Vector3.new(0, 25, 0)
- wait(.25)
- bv.Velocity = Vector3.new(0, -11, 0)
- end)()
- end
- spd = 45
- local WALKSPEEDVALUE = 8 / (sped / 16)
- local heeh = 2
- local heeh = 2
- clerp(twld, twnor * CFrame.new(0, -0.45, 0), 0.3)
- clerp(weld1, w1nor * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, spino2), 0.3)
- clerp(weld2, w2nor * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, spino2), 0.3)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.1 + 0.05 * Cos(sine / (15)) * 0.025 - 0.025 * Cos(sine / (heeh / 2))) * CFrame.Angles(Rad(7 + 0 * Cos(sine / (heeh / 1.5))) - Rad(root.Velocity.y * 1.25) + Rad(90), -root.RotVelocity.y / 35, Rad(0 + 0.5 * Cos(sine / (heeh / 1.5)))), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(-7 - 1 * Cos((WALKSPEEDVALUE / 2))) + Rad(-35), 0, Rad(0 - 0.5 * Cos(sine / (WALKSPEEDVALUE / 2)))), 0.3)
- clerp(RH, RHnor * CFrame.new(0.25, 0.3, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-35)), 0.3)
- clerp(LH, LHnor * CFrame.new(-0.25, 0.3, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(35)), 0.3)
- clerp(RS, RSnor * CFrame.new(0.2, -0.25 - 0 * Cos(sine / 12), 0) * CFrame.Angles(Rad(6), Rad(11), Rad(83)), 0.3)
- clerp(LS, LSnor * CFrame.new(-0.2, -0.25 - 0 * Cos(sine / 12), 0) * CFrame.Angles(Rad(6), Rad(-11), Rad(-83)), 0.3)
- until flying == false
- hb:disconnect()
- if grabbeddud ~= nil then
- for i,v in pairs (grabbeddud:GetDescendants()) do
- if v:IsA("BasePart") and v.Massless == true then
- v.Massless = false
- end
- end
- end
- grabbable = true
- grabp:Destroy()
- hito = ohito
- js = true
- bv:Destroy()
- flying = false
- attack = false
- end
- mouse.KeyDown:connect(function(key)
- if key == "z" then
- keyhold = false
- keyhold = false
- end
- if key == "m" then
- if zone.Playing == true then
- zone.Playing = false
- else
- zone.Playing = true
- end
- end
- if key == "e" then
- if flying == false then
- fly()
- js = false
- else
- js = true
- flying = false
- end
- end
- if key == "p" then
- if hito then
- hito = false
- print("Spin damage off.")
- else
- hito = true
- print("Spin damage on.")
- end
- end
- if key == "b" then
- if dograb then
- dograb = false
- print("Flying grab off.")
- else
- dograb = true
- print("Flying grab on.")
- end
- end
- if key == "l" then
- if songid == 0 then
- songid = 1
- zone.SoundId = "rbxassetid://142286444"
- elseif songid == 1 then
- songid = 2
- zone.SoundId = "rbxassetid://183866857"
- elseif songid == 2 then
- songid = 3
- zone.SoundId = "rbxassetid://2460241779"
- elseif songid == 3 then
- songid = 0
- zone.SoundId = "rbxassetid://297699305"
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "z" then
- keyhold = false
- end
- end)
- while true do
- Swait()
- hum.WalkSpeed = spd
- hum.JumpPower = 70
- sine = sine + 1
- spino = spino + Rad(45)
- spino2 = spino2 + Rad(25)
- local TiltVelocity = CFrame.new(root.CFrame:vectorToObjectSpace(root.Velocity/1.6))
- local TORSOVELOCITY = (root.Velocity * VT(1, 0, 1)).magnitude
- local WALKSPEEDVALUE = 8 / (sped / 16)
- torsverticalvel = root.Velocity.y
- hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
- if TORSOVELOCITY < 1 and hitfloor ~= nil then
- anim = "Idle"
- if attack == false then
- spd = 10
- js = true
- clerp(twld, twnor, 0.3)
- clerp(weld1, w1nor * CFrame.Angles(Rad(7 * Sin(sine / (22))), Rad(-11 * Sin(sine / (22 * 2))), Rad(0)), 0.3)
- clerp(weld2, w2nor * CFrame.Angles(Rad(-7 * Sin(sine / (22))), Rad(-11 * Sin(sine / (22 * 2))), Rad(0)), 0.3)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.025 * Sin(sine / 22)) * CFrame.Angles(Rad(0), Rad(0), Rad(25)), 0.3)
- clerp(neck, necknor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-25)), 0.3)
- clerp(RH, RHnor * CFrame.new(0, -0.025 * Sin(sine / 22), 0) * CFrame.Angles(Rad(-2), Rad(-6), Rad(0)), 0.3)
- clerp(LH, LHnor * CFrame.new(0, -0.025 * Sin(sine / 22), 0) * CFrame.Angles(Rad(-2), Rad(6), Rad(0)), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-2 - 1 * Sin(sine / (22))), Rad(0), Rad(5 * Sin(sine / (22 * 2)))), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-2 - 1 * Sin(sine / (22))), Rad(0), Rad(-5 * Sin(sine / (22 * 2)))), 0.3)
- end
- elseif TORSOVELOCITY > 1 and hitfloor ~= nil then
- anim = "Walk"
- if attack == false and spd < 65 then
- if spd < 65 then
- spd = spd + 0.5
- end
- js = true
- local heeh = 6
- clerp(twld, twnor, 0.3)
- clerp(weld1, w1nor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(4 * Sin(sine / (22))), Rad(-6 * Sin(sine / (22 * 2))), Rad(0)), 0.3)
- clerp(weld2, w2nor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(-4 * Sin(sine / (22))), Rad(-6 * Sin(sine / (22 * 2))), Rad(0)), 0.3)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.05 * Cos(sine / (15)) * 0.1 - 0.1 * Cos(sine / (heeh / 2.5))) * CFrame.Angles(Rad(15 + 2 * Cos((heeh / 2))) - Rad(root.Velocity.y) * 1.25, -root.RotVelocity.y / 35, Rad(0 + 7 * Cos(sine / (heeh / 2)))), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(-15 - 2 * Cos((heeh / 2))), 0, Rad(0 - 7 * Cos(sine / (heeh / 2)))), 0.3)
- clerp(RH, RHnor * CFrame.new(0.4 * Cos(sine / (heeh / 2.5)), -0.1 + 0.2 * Cos(sine / (heeh / 2.5)), 0) * CFrame.Angles(0, 0, Rad(90 * Cos(sine / (heeh / 1.5)))), 0.3)
- clerp(LH, LHnor * CFrame.new(0.4 * Cos(sine / (heeh / 2.5)), -0.1 + 0.2 * Cos(sine / (heeh / 2.5)), 0) * CFrame.Angles(0, 0, Rad(90 * Cos(sine / (heeh / 1.5)))), 0.3)
- clerp(RS, RSnor * CFrame.Angles(0, 0, Rad(90 * Cos(sine / (heeh / 1.5)))), 0.3)
- clerp(LS, LSnor * CFrame.Angles(0, 0, Rad(90 * Cos(sine / (heeh / 1.5)))), 0.3)
- end
- if attack == false and spd > 64 then
- local heeh = 2
- js = true
- clerp(twld, twnor * CFrame.new(0, -0.45, 0), 0.3)
- clerp(weld1, w1nor * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, spino2), 0.3)
- clerp(weld2, w2nor * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, spino2), 0.3)
- clerp(rootj, rootjnor * CFrame.new(0, 0, 0.1 + 0.05 * Cos(sine / (15)) * 0.025 - 0.025 * Cos(sine / (heeh / 2))) * CFrame.Angles(Rad(7 + 1 * Cos(sine / (heeh / 1.5))) - Rad(root.Velocity.y * 1.25) + Rad(25), -root.RotVelocity.y / 35, Rad(0 + 0.5 * Cos(sine / (heeh / 1.5)))), 0.3)
- clerp(neck, necknor * CFrame.Angles(Rad(-7 - 1 * Cos((WALKSPEEDVALUE / 2))) + Rad(-25), 0, Rad(0 - 0.5 * Cos(sine / (WALKSPEEDVALUE / 2)))), 0.3)
- clerp(RH, RHnor * CFrame.new(0.25, 0.3, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-35)), 0.3)
- clerp(LH, LHnor * CFrame.new(-0.25, 0.3, 0) * CFrame.Angles(Rad(0), Rad(0), Rad(35)), 0.3)
- clerp(RS, RSnor * CFrame.new(0, -0.25 - 0 * Cos(sine / 12), 0) * CFrame.Angles(Rad(0), Rad(0), Rad(111)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, -0.25 - 0 * Cos(sine / 12), 0) * CFrame.Angles(Rad(0), Rad(0), Rad(-111)), 0.3)
- end
- elseif torsverticalvel > 0.5 and hitfloor == nil then
- anim = "Jump"
- if not hed:FindFirstChild("jump") and js == true then
- local jump = Instance.new("Sound", hed)
- jump.Name = "jump"
- jump.SoundId = "rbxassetid://130782425"
- jump.Volume = 0.95
- jump:Play()
- Debris:AddItem(jump, 0.5)
- end
- if attack == false then
- spd = spd
- clerp(twld, twnor, 0.3)
- rootj.C0 = rootjnor * CFrame.Angles(spino, 0, 0)
- clerp(neck, necknor * CFrame.Angles(Rad(45), 0, 0), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(0), Rad(0), Rad(0)) * CFrame.new(0.5, 0.35, 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(0), Rad(0), Rad(0)) * CFrame.new(-0.5, 0.35, 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), 0, Rad(45)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), 0, Rad(-45)), 0.3)
- end
- elseif torsverticalvel < 0.5 and hitfloor == nil then
- anim = "Fall"
- if attack == false then
- spd = spd
- clerp(twld, twnor, 0.3)
- rootj.C0 = rootjnor * CFrame.Angles(spino, 0, 0)
- clerp(neck, necknor * CFrame.Angles(Rad(45), 0, 0), 0.3)
- clerp(RH, RHnor * CFrame.Angles(Rad(0), Rad(0), Rad(0)) * CFrame.new(0.5, 0.35, 0), 0.3)
- clerp(LH, LHnor * CFrame.Angles(Rad(0), Rad(0), Rad(0)) * CFrame.new(-0.5, 0.35, 0), 0.3)
- clerp(RS, RSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), 0, Rad(45)), 0.3)
- clerp(LS, LSnor * CFrame.new(0, 0, 0) * CFrame.Angles(Rad(25), 0, Rad(-45)), 0.3)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement