Make sui_scoreboard only work in Sandbox?

I’m wondering how I could make sui_scoreboard only work in sandbox gamemode. So it doesn’t show up in other gamemodes.

yeah, i hope theres a lua/addon file deactivator!