local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Player = Players.LocalPlayer local function Setup(Character) local Humanoid = Character:WaitForChild("Humanoid") if Humanoid.RigType ~= Enum.HumanoidRigType.R6 then warn("R6 only") return end local function removeAnimate() local anim = Character:FindFirstChild("Animate") if anim then anim:Destroy() end end removeAnimate() Character.ChildAdded:Connect(function(child) if child.Name == "Animate" then child:Destroy() end end) task.wait() local Torso = Character:WaitForChild("Torso") local RootPart = Character:WaitForChild("HumanoidRootPart") local RS = Torso:WaitForChild("Right Shoulder") local LS = Torso:WaitForChild("Left Shoulder") local RH = Torso:WaitForChild("Right Hip") local LH = Torso:WaitForChild("Left Hip") local Neck = Torso:WaitForChild("Neck") local RSC0 = RS.C0 local LSC0 = LS.C0 local RHC0 = RH.C0 local LHC0 = LH.C0 local NeckC0 = Neck.C0 local sine = 0 RunService.Heartbeat:Connect(function(dt) if not Character or not Character.Parent then return end sine += dt * 8 local moving = Humanoid.MoveDirection.Magnitude > 0 local falling = Humanoid.FloorMaterial == Enum.Material.Air if falling then RS.C0 = RS.C0:Lerp(RSC0 * CFrame.Angles(math.rad(-35),0,math.rad(10)), 0.25) LS.C0 = LS.C0:Lerp(LSC0 * CFrame.Angles(math.rad(-35),0,math.rad(-10)), 0.25) RH.C0 = RH.C0:Lerp(RHC0 * CFrame.Angles(math.rad(20),0,0), 0.25) LH.C0 = LH.C0:Lerp(LHC0 * CFrame.Angles(math.rad(20),0,0), 0.25) elseif moving then local swing = math.sin(sine * 6) RS.C0 = RS.C0:Lerp(RSC0 * CFrame.Angles(math.rad(swing * 45),0,0), 0.3) LS.C0 = LS.C0:Lerp(LSC0 * CFrame.Angles(math.rad(-swing * 45),0,0), 0.3) RH.C0 = RH.C0:Lerp(RHC0 * CFrame.Angles(math.rad(-swing * 45),0,0), 0.3) LH.C0 = LH.C0:Lerp(LHC0 * CFrame.Angles(math.rad(swing * 45),0,0), 0.3) else local breathe = math.sin(sine * 2) Neck.C0 = Neck.C0:Lerp(NeckC0 * CFrame.Angles(math.rad(breathe * 4),0,0), 0.15) RS.C0 = RS.C0:Lerp(RSC0 * CFrame.Angles(math.rad(5),0,math.rad(5)), 0.15) LS.C0 = LS.C0:Lerp(LSC0 * CFrame.Angles(math.rad(5),0,math.rad(-5)), 0.15) RH.C0 = RH.C0:Lerp(RHC0, 0.15) LH.C0 = LH.C0:Lerp(LHC0, 0.15) end end) end if Player.Character then Setup(Player.Character) end Player.CharacterAdded:Connect(Setup)