How to make the player character uses the run animation

i have a walk and run animation on my game (yes it well is on the animate localscript).

but when the player starts to run (i have a running/walking system) it reach 30 speed, but it dont seems to activate the running anim

basically, i want to “really” put the player in a running mode, idk if its possible.
i dont want to like set the walk animation id, cus it looks improvisation

i think theres no topics relating this, i looked for and didnt find.

In order to make a player use a running animation you must use Animator. Here is a documentation on it Animator | Documentation - Roblox Creator Hub

Humanoid.Running:Connect(function()
        local Animator = Humanoid:FindFirstChildOfClass("Animator")
        local Animation  = Animator:LoadAnimation("AnimationId")
        Animation:Play()
end)
2 Likes