Wifi uno rev2 & MPU6050

Hi @hana1206. Here is your problem:

Unlike the classic Arduino Uno, the Uno WiFi Rev2 has dedicated pins for the I2C bus. So you must connect the MPU6050 to the pins marked SCL and SDA on the Uno WiFi Rev2 board.

Although it can be the source of confusion for people expecting the wiring to be the same, this is actually a really nice advancement because it means that on the Uno WiFi Rev2 the A4 and A5 pins are still free for you to use for whatever you like even when you have connected something to the SCL and SDA pins on the board. So you have two additional precious I/O pins to work with!