The bus was attacked on Western Avenue in Perth.