I used the code above and I set my numbers to these:
maxforwardspeed = 3
maxbackwardsspeed = 2
maxsidewaysspeed = 0
The forward and backward speeds are perfect, but the sideways speed is the same as a no-jet player or standard player. I have tried it at 1, 2, and 3, but it's always the same speed. Any way to fix this?