Crouch/prone script resets player walking style

I downloaded this script that lets you prone and Crouch, it works fine but if you have a walking style (example: if your injured and have that walking style) and I crouch/prone, when i uncrouch it resets the walking style to the default, even if your a female it sets it to the default male style. Anyone know why? here’s the crouch script: GitHub - Blumlaut/crouch-n-prone: Crouch'n Prone - FiveM Resource

Just set the walking style to be saved as a variable and then re-applied on a loop

how can i do that?

Add a loop to that - here’s a more inclusive example:

while (limping) do
  -- Apply animation state (native?)
  Citizen.Wait(1000)
end

(limping) is just a placeholder, replace that with whatever handles the checking for player HP right now to apply the walking style

Haze did you ever get it solved