local function T()toggleViewmodel((Camera.Focus.Position-Camera.CFrame.Position).magnitude<=1 and not Character:GetAttribute("\082\097\103\100\111\108\108"))end local function E()return Humanoid.MoveDirection.Magnitude>.1 and(IncludeWalkSway and(Humanoid:GetState()~=Enum.HumanoidStateType.Freefall and Humanoid:GetState()~=Enum.HumanoidStateType.Landed))end

local function checkFirstPerson()
	toggleViewmodel(((Camera.Focus.Position - Camera.CFrame.Position).magnitude <= 1) and not Character:GetAttribute("Ragdoll"))
end

local function checkPlayerRunning()
	return Humanoid.MoveDirection.Magnitude > 0.1 and IncludeWalkSway and Humanoid:GetState() ~= Enum.HumanoidStateType.Freefall and Humanoid:GetState() ~= Enum.HumanoidStateType.Landed
end


