#I want to make character play an animation and stay on the last keyframes.

1 messages · Page 1 of 1 (latest)

limpid quarry
#

I wanted to make my character stay on the last keyframe when it finished playing the animation but cant find a way to do that. I see that you can adjust speed to 0 but idk how to implement it only on the last frame... and I dont think that is the best way to get what I want.

local humanoid = script.Parent:WaitForChild("Humanoid")
local animator = humanoid:WaitForChild("Animator")

local walk = animator:LoadAnimation(script:WaitForChild("Walk"))
local sit = animator:LoadAnimation(script:WaitForChild("Sit"))
local loaf = animator:LoadAnimation(script:WaitForChild("Sit to Loaf"))

sit:Play()
acoustic forge
#

i would recommend just doing it so when the animation finishes it just plays a separate one that is the 1 single frame you want.

limpid quarry
#

but sounds like a good idea