-- Get sound id

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
