Have you checked your hydraulic fluid level? Do all other hydraulic functions work with full power? FEL? 3PH? If they are failing also, it could be a clogged main hyd filter that is starving the HST pump. It might also be a loose rubber boot on the inlet side of the pump (under the right operator's platform) that sometimes lets the system draw air mixed with fluid.
If fluid is at the right level and it is exclusively the HST operation, it could be a clogged HST filter on the left side in front of the operator's platform or a crimped HST cooler hose. This is the easier/cheaper problems. Otherwise, it might be a faulty charge pump that provides fluid to the HST or an internal HST problem. These are expensive problems.
Finally, you need to look at the bracket where your HST pedal mechanism enters your transmission housing. It's behind that big "B" shaped plate as shown in the photo below. This photo is taken from the top with the platform lifted and clearly shows the bracket. Mine is painted silver after I repaired it. You will be looking up from the bottom (with tractor not running) and you may have to move some stuff to examine the bracket. If this bracket is broken or slipping, it could be that the pedal movement is not making the input shaft to the transmission swashplate turn as it should. This is also pretty major, but not as much as splitting your tractor to work on the HST.