Error 3300: Microbit extension BluetoothDevice is not set

Hello XD SlimGuy, welcome to the forum

Unfortunately, the Micro:Bit library is broken (and a bit old). MIT are working on a new one. In the meantime, you can use Bluetooth functions to communicate.