Cock Hero script patterns from stroking to vibrating

This Python script does that

Needs like a -0.2 second offset in MultiFunPlayer typically. And you would tweak the top variables to get the result you want.
Bu it assumes that the script uses alternating up-down movements. For scripts with weird curves those parts will be skipped, but you could change the code to include them verbatim in the new script, or it would need some preprocessing.

Can also comfortably inspect and modify scripts here: Funscript.io

To get more separation between lower and higher-intensity segments in a script it can be good to apply a power function to the speed, for example:

power = 1.3
speed = int(min(100, max(0, speed)))
speed = pow(speed, power)
intensity = int(min(100, max(0, speed)))