The title is self-explainatory. The line of code:
59 | until StaminaBar.Size > UDim2.new(0, 350, 0, 50) or UserInputService:IsKeyDown(Enum.KeyCode.LeftShift)
I'm trying to get the stamina to not "overflow" when a person rapidly fires a Input into the script, so I'm using a > instead of ==, does anyone know how to make this work, please send a full example of code, it makes it easier to understand.

1 comment
If anyone wants to know how it can "overflow" for the time being, their is a wait(2) for when a player lets go of the button, and since its a GUI, it duplicates ontop of each other. their is a loop that adds +1 to a variable, so when it duplicates, it passes the mark.