This is a demonstration of a simple method for dynamically applying a max value to Scratch's built-in sliders. Click the arrow button to switch pages. Look inside for more information.
This demo limits the max value, but you could of course limit the min value instead, or both. Thanks to @SpinningCube for suggesting that I add a duplicate slider behind. I added a fourth example (slider d) featuring that. Thanks to @grandpasp for teaching me a more compact and easily manageable way of setting multiple slider-change-detection variables: https://scratch.mit.edu/projects/1070739400/ Thanks to @NerdBoy628 for suggesting that I use the zero-width space character. I originally used a very similar character instead, which most people wouldn't notice, but using the zero-width space character, it looks EXACTLY the same.