Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you play an animation with an Animation?

The title might not make sense, but what I mean is that I want to play an animation using an Animation as in the class.

I know how to convert a KeyframeSequence into an Animation. Here is the script I used to play it:

wait(15)

local Character = script.Parent.Parent
local Humanoid = Character.Humanoid
local AnimSaves = script.Parent
local Animations = {
	
	LanturnEquip = AnimSaves.LanturnEquip,
	R15Dance1A = AnimSaves.R15Dance1A
	
}

local Animation = AnimSaves.R15Dance1A
local AnimationTrack = Humanoid:LoadAnimation(Animation)
AnimationTrack:Play()

The script is a server script and it is in AnimSaves (which is in the default R6 block rig named Dummy).

The R15Dance1A (/e dance1) animation won't play but there is not output messages so I really need help with someone more experienced in doing animations.

2 answers

Maybe you didn't set the animation priority to action or movement?

1 comment

0

ive found out how to do it. Please remove this answer because in every way this is not an answer. it is really just a comment. if you still want people to see it comment this.

ANSWERED BY CREATOR:

Character:LoadAnimation() sums it up. If you want to learn it go here.

This discussion is preserved as it was. New answers, comments, and votes are closed.