get_material=function()local g=footstepsModule:GetTableFromMaterial(humanoid.FloorMaterial)local L=footstepsModule:GetRandomSound(g)if check_repetition(L)==false then return L else L=get_material()return L end end

get_material = function()
    
    local soundTable = footstepsModule:GetTableFromMaterial(humanoid.FloorMaterial)
    local randomSound = footstepsModule:GetRandomSound(soundTable)
    
    if check_repetition(randomSound) == false then
        return randomSound
    else
        randomSound = get_material()
        
        return randomSound
    end
end
