LShift + 2 unlocks shift lock

I’m working on a third-person shooter that uses a locked camera perspective behind the player, and a sprint mechanic bound to shift

The game also has multiple tools, and recently I’ve found a really weird problem i can’t find discussed anywhere. Whenever I switch to my second tool while holding shift to sprint, it unlocks my mouse and I can move it freely. (I’ve tested and it’s not the tool being selected that does this, but the 2 key being pressed)

As I said, I can’t find anything about this on the dev forum and I’m pretty sure its some weird Roblox feature or something, but if anyone know how to stop this that’d be great.

I’d appreciate if someone could shed some light on this situation, or help me fix this without having to rebind sprint.

Just to make sure, Modal isn’t enabled on any of the GUI related to any hotbar or item HUDs right?

you can disable shift lock and make your custom shift lock to prevent that issue.

I don’t have any interactable GUI elements in yet. Is there any way to disable modal for the default HUD buttons?