I can’t seem to find a way to play this. This is the right way for what I know.
The code:
-- local script in StarterCharacterScripts
while true do
local Character = workspace.Dummy
local Animator = Character.Humanoid.Animator
local Anim1 = Animator.Anim1
local Anim2 = Animator.Anim2
local Anim3 = Animator.Anim3
Animator:LoadAnimation(Anim1)
Animator.AnimationPlayed:Wait()
Animator:LoadAnimation(Anim2)
Animator.AnimationPlayed:Wait()
Animator:LoadAnimation(Anim3)
Animator.AnimationPlayed:Wait()
Anim1:Destroy()
Anim2:Destroy()
Anim3:Destroy()
end
Also, instead of using an while true loop and loading animations into the animator each time, you can immediately load them into the animator and use.
You can also use the AnimationTrack’s Stopped event to start them one by one.
local someAnimator
local someAnimation
local animationTrack = someAnimator:LoadAnimation(someAnimation)
animationTrack.Stopped:Connect(function()
--do something
end)
local Character = workspace.Dummy
local Animator = Character.Humanoid.Animator
local Anim1 = Animator.Anim1
local Anim2 = Animator.Anim2
local Anim3 = Animator.Anim3
while true do
local Anim1Animator = Animator:LoadAnimation(Anim1)
Anim1Animator:Play()
Animator.AnimationPlayed:Wait()
local Anim2Animator = Animator:LoadAnimation(Anim2)
Anim2Animator:Play()
Animator.AnimationPlayed:Wait()
local Anim3Animator = Animator:LoadAnimation(Anim3)
Anim3Animator:Play()
Animator.AnimationPlayed:Wait()
end
If team create is enabled, then in order for the animations to work, the owner of the place needs to upload animations on their behalf, and then use them in the game.
At the same time, only the owner will see animations in the studio, but everyone will see them in the place.
They are owned by a group. Ever animation is owned by a group, and the game is owned under the same group. Plus, the animations play, the issue is they don’t repeat.
Do animations work in the place, not in the studio? If so, then the problem is clearly elsewhere.
Could you upload the place file with animations and dummy?
Sorry, I don’t understand what could be the problem, everything works fine in the file.
Maybe someone else can help you with this problem.
I’m sorry for wasting your time