In order to make this script work you need to set your wiggle buttons as 'A' and 'D' and struggle button (which is also a button for skillchecks) as space. Script is easy to use, simply push 'F' abd you will start struggling or push 'G' and you will start wiggling, to stop wiggling or struggling just push 'V'.
If you don't want to compile it, here's a link to .exe file https://mega.nz/file/dOIwQSxa#vB0Vdmb9GsuMWgiWe7I9rjuhZduXbhQR3cBvPt3RZNc