I have a sprint script that simply does this: when the shift key is held down, the player’s WalkSpeed is set to a higher speed and when shift is released, the player’s WalkSpeed is set to the default speed I’ve set. This script uses UserInputService.
As I hold down shift, I’m able to equip the tool in the 2nd slot normally in game, as seen here:
But as I hold down shift in studio and try to equip the 2nd tool slot while playtesting in studio, I get tabbed out, as seen here:
I only get tabbed out when I [press shift + 2] in studio, and as seen in the latter video, it enters my cursor into the box for changing stud increments for the move tool.
Any insight on how to prevent this is appreciated!