TaskPlayAnim how does it work

Hello,
I’ve been trying for a few days now to implement something in my farm script so that it plays the pickup_low animation more slowly. When I leave everything at the default settings, it plays the animation exactly once, which is what I want—but it’s too fast. I’d like to slow it down, but no matter what I try, it always executes it immediately. I’ve already adjusted and changed all the parameters, but none of them seem to have any effect—except that sometimes the animation plays halfway, not at all, or super fast, but never slower.

Thanks in advance for your help!

code:

        if distance < 20.0 then -- Interaktionsreichweite von 2 Metern
            -- Zeige Hinweistext
            DrawText3D(info.x, info.y, info.z + 0.5, "Drücke ~g~E~w~ zum Sammeln")
            
            -- Prüfe ob E gedrückt wurde
            if IsControlJustPressed(0, 38) then
                local playerPed = PlayerPedId()


                -- Stop any existing animations
                ClearPedTasks(playerPed)

                -- Play animation with exact timing
                TaskPlayAnim(playerPed, "random@domestic", "pickup_low", 2.0, 2.0, -1, 0, -0.5, false, false, false)
                SetEntityAnimSpeed(playerPed, "random@domestic", "pickup_low", 0.1) -- halbe Geschwindigkeit



                Wait(5000)

                -- Clear animation and reset lock
                ClearPedTasks(playerPed)
            end

TaskPlayAnim already has a parameter called “playbackRate”. You have set it to -0.5 in your code. I would guess you need to set that one to what you desire and remove SetEntityAnimSpeed entirely.

Yea i had that already this code was a suggestion from AI haha.

The Funny part ist in Cfx Nativs there stend lower is slower but on my scren it was the Opposite 1 was like instalnt 0.5 was double the speed and zero was normal speed.

I figured it out: animations can’t be slowed down unless you open them in an animation editor and adjust the speed directly.