I’m working on a game and in the game there are jumpscares for certain creatures that kill you, but i don’t know how i would preload their jumpscare animations.
Animator:LoadAnimation(animation) should preload the animation.
I recomend using an Animator object instead of the humanoid.
create a reference to the loaded animation before you play it
local loadedAnimation = humanoid.Animator:LoadAnimation(animation) function do_something() loadedAnimation:Play() end task.wait(2) do_something()
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.