SmoothShiftLock [Module]

i have the same issue in studio it works just fine but when trying it ingame, the mouse isnt locked at all and it just flies around, any fix for this? @Rixtys99