Shiftlock bug when gui is open

so i made a radial inventory system by following this video:

Although i have a bug , you see the weapons in my game have shiftlock which means when the weapon are equipped it puts the player into shiftlock

But when they open the inventory the wheel wont move and is stuck in shiftlock

How can i make that when a gui is open shiftlock is disabled and when the gui is closed shiftlock is enabled again.

Any help is appreciated
Thanks

Hey!
Have a look through this thread and see if anything works:

1 Like

nvm i figured it out
thanks i guees