	Pavičić joined Lokomotiva on loan from Dinamo Zagreb in order to get first team chances. He scored his first goal for the club against Zadar in a 2-0 away win. After returning from loan, it was announced that he would debut against his old club Lokomotiva. He came in the match as a 74th-minute substitute for Junior Fernandes as Dinamo won the match 2-0. Zoran Mamić, the coach of Dinamo Zagreb said: "Pavičić represents the future of Dinamo and maybe soon he will be in a very narrow choice for the first team." On 1 September 2017, Pavičić was loaned to Rijeka until January 2018. In January 2018, following the end of the loan, Pavičić signed a -year contract with Rijeka.