Client sided dummies animations issue

  1. What do you want to achieve?
    I’m trying to make client sided visualized dummies, basically the model is on the client, that’s what matters.

  2. What is the issue?
    Everything work perfectly, the only issue that I’m having is that I can’t manage to get it animate, it just wont animate at all, no idle animation, no walking, no anything! My dummies are R15 but I wouldn’t mind switching to R6 if needed. My biggest concern is that because the dummy is created on the client side it wont animate (because it hates me ofc)

  3. What solutions have you tried so far?
    I have looked for solutions on the devhub but I couldn’t find any. I tried using various different animation scripts; local and server scripts from the toolbox, I tried different dummies. (I did keep in mind that there are different scripts for R6 and R15 dw)

I’m sorry if this post is brainless but I’m out of options

3 Likes

did you load the animation before playing it

5 Likes

Does it have an animate script inside

3 Likes

Can you check if the model is anchored?

3 Likes

Yeah it 100% has the script inside

2 Likes

Yeah it isn’t

3 Likes

image

Well its just this default script, I didn’t modify it. Not sure what need to be done for it work but I’m pretty sure it should just work by itself

2 Likes

sure it isnt with r6 animations?

2 Likes

weird, normal animations should be able to play as soon as the script is parented into the npc

check the animation ids and see if they are empty or not

1 Like

Do you have many animations or just idle?
If you want only one animation to play then its really basic to do.

Also I don’t really believe that default Roblox script will work.

3 Likes

I have to go so in this case I will leave the script I was talking about.


local Animation: Animation = script.Animation
local Character: Model = workspace.Rig
local Humanoid: Humanoid = Character.Humanoid
local Animator: Animator

if not Humanoid:FindFirstChild("Animator") then
   Animator = Instance.new("Animator", Humanoid)
else Animator = Humanoid.Animator end

local Track = Animator:LoadAnimation(Animation)
Track.Looped = true
Track.Priority = Enum.AnimationPriority.Action4

Track:Play()

2 Likes

2 Likes

Oh my, could it be something with the animator. Give me a second, it might not have one… this would be so dumb of me

1 Like

You have to include Animator for it.

1 Like

Both the one which was (in the video) idling, and the one who was not animating have an animator inside their humanoid. Only difference between those two is that the one idling was already created before running the game (I placed it in workspace in studio) and the one who was following me was the one created by the client.

1 Like

If you can wait about 1 hour I can try to help you. Because I got to go now.
For anyone here, please provide the rig model.

1 Like

Alright I will, thank you for your help so far and see you whenever u are back!

1 Like

Dummy.rbxm (28.3 KB)

1 Like

Hey! I am here. It didn’t take 1 hour right?
Let’s continue.

I’ve grabbed your model. Can you tell me where are your animation Ids.
Are they in the script or the values?

2 Likes

Hii, yeah that was wayy less than 1 hour!They should be in the script, I didn’t modify them tho, they should be the default ones (even tho the idle one looks a bit weird idk

1 Like