local L=function()if humanoid.WalkSpeed>0 and(humanoid.MoveDirection.Magnitude>0 and humanoid.FloorMaterial~=Enum.Material.Air)then return true elseif humanoid.WalkSpeed<=0 or humanoid.MoveDirection.Magnitude<=0 or humanoid.FloorMaterial==Enum.Material.Air then return false end end

local check_movement = function()
    if humanoid.WalkSpeed > 0 and humanoid.MoveDirection.Magnitude > 0 and humanoid.FloorMaterial ~= Enum.Material.Air then
        return true
    elseif humanoid.WalkSpeed <= 0 or humanoid.MoveDirection.Magnitude <= 0 or humanoid.FloorMaterial == Enum.Material.Air then
        return false
    end
end
