Open in the app to sign in, vote and reply

Bugs · Investigating

Sandboxing permission requiring issue when two topbarplus application initialise

· · 6 votes · 1 comments · marked investigating by on 2026-11-13

Big big thanks to @gabys2005 for sharing this obscure one:

When there's two topbarplus applications that are initialised in an experience, the second-initiated one tries to require the original one (to correctly prevent two being initialised) although it appears that roblox's new sandboxes script capabilities causes this to throw an error, potentially because of the requiring, or potentially because of its location in ReplicatedStorage. Will need to investigate further but this is a top priority one to fix up as it potentially impacts applications like HD Admin too

Comments

·

This happens when there are two TopbarPlus modules in the game and there's a capability mismatch between them. The big problem here is that Roblox sandboxes all models inserted from the toolbox except for a few models on their "nice list", and both HD Admin and Topbar+ are on the nice list. This means that if a person inserts Topbar+ and basically any other free model that uses Topbar+, the free model is almost guaranteed to error because it indirectly requires the non-sandboxed Topbar+.

Since HD Admin also uses Topbar+ and isn't sandboxed, having HD Admin in the game can also cause free models to error if they take too long to load and HD Admin loads Topbar+ first. As far as I understand, this doesn't work the other way (so HD Admin won't error if a sandboxed Topbar+ copy loads first), because Roblox is mostly fine with non-sandboxed scripts requiring sandboxed ones.

This makes it really hard to use Topbar+ in free models, because I have to pretty much tell the people using my models to manually disable sandboxing on my model if they use Topbar+ or HD Admin in their game.

I'm not sure how exactly to solve this, my best guess is that either the entire Topbar+ module or just the shared data could be stored in _G to avoid requiring the other module?