i am trying to play animation with simple script and the script work only when The Player sit how i need fix it just working animation when you click with tool.
thx for support
i am trying to play animation with simple script and the script work only when The Player sit how i need fix it just working animation when you click with tool.
thx for support
The animationâs priority is too low. Try changing it to âActionâ. You can do this in the animation editor.
i dont think thats the problem can you try your self i send you link to animation and you put it in your studio
No, it is the problem. Your animation is not playing over the walk animation because the priority is too low. While sitting, the priority of the sit animation is much lower, so your animation can be played, as itâs priority is higher.
If you are not willing to try solutions, please do not ask for them. I can try to help you, but if you refuse to let me do so I canât.
Edit:
I just made a sample animation with action priority and it worked with the code you gave. When I did not set the priority, it had the same result as your problem.
soo how i need do higher priority??
Please read my post before replying; I already answered that. Robloxâs walk animation has a Movement Priority. The sit animation has a Idle Priority. Your animation is Idle Priority. This priority is used to determine which animation to play of the other. When your animation is lower then other animations, it will not be played. However, when sitting, the animation has priority and can play.
Animation Priorities (Highest to lowest)
-Action
-Movement
-Idle
-Core
i undarstand but i have example explane me it
example : in roleplay game you play as police officer and you want to âDRINK SOMETHING WHEN YOU STANDâ how i need do it ??
some games has this example when you stand you can drink.
Iâm actually not sure why, but I have one suggestion: I donât believe you have to destroy the animation. Unless itâs a repetitive animation? (Walking, etc). If itâs just like a sword swing, it doesnât need to load it. That will just cause extra server demand, possibly creating extra lag.
Change your animation priority to âActionâ