game.Players.LocalPlayer.Character.Humanoid.Running:connect(function(speed) if speed >.1 then walking = true else walking = false end end)

RS:connect(function() if walking then local speed = Character.Humanoid.WalkSpeed/10

		Right_Weld.C0 = Right_Weld.C0:lerp(
		 CFrame.new(
				
				0.01 * math.sin(tick() * (2 * speed)),
				0.03 * math.cos(tick() * (4 * speed)),
				0
				
			)*
			CFrame.Angles(
				
				0,
				0,
				-.02 * math.sin(tick() * (2 * speed))
			
			)
		,.5) 
		
		Right_Weld.C0 = Right_Weld.C0:lerp(
		 CFrame.new(
				
				0.03 * math.sin(tick() * (2 * speed)),
				0.03 * math.cos(tick() * (4 * speed)),
				0
				
			)*
			CFrame.Angles(
				
				0,
				0,
				-.02 * math.sin(tick() * (2 * speed))
			
			)
		,.5) 

else

		Right_Weld.C0 = Right_Weld.C0:lerp(CFrame.new(),.1)
		Right_Weld.C0 = Right_Weld.C0:lerp(CFrame.new(),.1)

end end)