Im using an ATtiny85 (sorry I didnt put it in the fist post).
I figured out that the compass uses I2C to communicate with the Arduino.
The Arduino has hardware support for I2C and therefore it must be the A4 and A5 pins.
I just found out that there is an I2C library for the ATtiny and I will try if it works.