Board Thread:Lua Help/@comment-37870409-20181220064026

Citizen.CreateThread(function while true do Wait(0) if GetEntityHealth(GetPlayerPed(-1)) <= 159 then     setHurt elseif GetEntityHealth(GetPlayerPed(-1)) > 160 then     setNotHurt   --NEED THIS FUNCTION TO LOAD ONLY ONCE end end end)

function setHurt RequestAnimSet("move_m@injured") SetPedMovementClipset(GetPlayerPed(-1), "move_m@injured", true) end

function setNotHurt ResetPedMovementClipset(GetPlayerPed(-1)) ResetPedWeaponMovementClipset(GetPlayerPed(-1)) ResetPedStrafeClipset(GetPlayerPed(-1)) end 