MakerDoe
(Dez)
#1
I have made an animation with the set animation priority set to Core and it is looped, when ever I tried to play the animation, it won’t play.
local animation = Instance.new("Animation", test.Main)
animation.AnimationId = "rbxassetid://6284599080"
local loaded = test.Main.AnimationController:LoadAnimation(animation)
loaded:Play()
The thing that I want to animate.
![Screenshot_1](//devforum-uploads.s3.dualstack.us-east-2.amazonaws.com/uploads/original/4X/7/d/e/7debf8ab7781fd20a37b2aaeb59024f34c75ce8b.jpeg)
1 Like
radio_OVA
(radio)
#2
I hope this helps you out, also core isn’t the best for animation, I recommend using Action or Movement.
MakerDoe
(Dez)
#4
I tried using the Instance.new("Animator")
it’s still the same the animation won’t play.
local animator = Instance.new("Animator", test.Main)
local animation = Instance.new("Animation", animator)
animation.AnimationId = "rbxassetid://6284739674"
local loaded = animator:LoadAnimation(animation)
loaded:Play()
Then I tried using humanoid
it finally worked.
local animation = Instance.new("Animation", test.Main)
animation.AnimationId = "rbxassetid://6284739674"
local loaded = test.Humanoid:LoadAnimation(animation)
loaded:Play()
lluckvy
(aaron)
#5
Try using test.Main:FindFirstChildOfClass("Animator")
as one already may exist
Edit: You used humanoid which works but won’t replicate to other clients
MakerDoe
(Dez)
#6
I tried using test local server and it did replicate it to the other clients.