Hello everyone, I was wondering how I could make unique sitting animations like in the vibe train. I tried many scripts the one closest to working would play my animation then stop it right away. Please give a script with specific details because I am not a very experienced scripter.
Here is a video that might help you. I suggest you look up tutorials on youtube or searching up how to do this on google. https://www.youtube.com/watch?v=nm3RUWPBWd0
I tried that one, YouTube has not been a reliable source for me.
Oh ok. I can try to find some more info on that. Iâll keep in touch with you. I am not the best scripter, but have you tried this? Specific seat animation - #3 by GeorgeOfAIITrades
Did you set the Animations Priority to Action? Because if an animation lower down, such as at Core, it wonât play over other animations
No I have not tried that, would you be kind enough as to tell me how to do that?
If you created the animations in the AnimationEditor plugin, thereâs an option under the . . . which allows you to set the Animation priority.
And the response to your question, I have I just wanted a updated version.
Unfortunately, I feel like to be honest that the script didnât work in the first place
Also, this was the script I was using it would great if you could give me some pointers
local sitAnim = 4841260780
local seat = script.Parent
local playingAnim
local newAnim = Instance.new(âAnimationâ)
newAnim.AnimationId = ârbxassetid://ââŚsitAnim
seat.Changed:Connect(function(property)
if property == âOccupantâ then
local occupant = seat.Occupant
if not occupant then if playingAnim then playingAnim:Stop() return end end
playingAnim = occupant:LoadAnimation(newAnim)
playingAnim:Play()
end
end)
âsolution
Do you get any errors in the output from this? And do you own the animation yourself?
I did make the animation myself, also, there are no errors in the output yet there are no successes
Do you think the problem is that I have multiple properties named âScriptâ? and if yes how could I change that?
That shouldnât be an issue since you arenât referencing a script in your code.
However, you said that it would play for a couple seconds then stop playing? Did you set the animation to loop?
Is the Script also placed inside the Seat so that itâs parent is the seat?
Yes I did set it to loop but now I just realized i think it just didnât play at all. And yes I put the script inside the seat I believe. Also if itâs not the scripts problem it might be my animation