Mc console bedrock versions can't use scripting add-ons at all not. This is an issue when trying to join cross play worlds. It says scripting is not currently supported on this device. This may be an intended feature but if so it should be supported because it's not truly cross play if the players on console are limited to what add-ons are in use on Windows 10/mobile devices.
Thank you for your report!
However, this issue is Working as Intended.
Scripts are only available on the Windows 10 version of the game.
Full Version History – Snapshot Version History – Feature Requests and Suggestions
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki