My idle animation only plays for me

i’ve added idle animations to roblox studio which works on the game itself, but the problem i have encountered is that the animations are only playing for me, not the other person in the server aswell.

i’d like the animations (which is a idle animation) to play for both me and other people

3 Likes

Can you make sure it’s not in localscript?

1 Like

Animations still replicate when played on a client.

2 Likes

Oh, then that should not be a issue

Can you provide the script?

Would be cool if you have gave us a script or your output so that we can 100% know what is actually happening.

You have probably forgot to add some things that the other person should have.

1 Like

https://gyazo.com/88a9cc508eabee1a7a93a121b2bb19c8

i have changed the id’s of the animations for idle, the animation only plays for me and not the other player.

another thing that i might need to add is that the animations are uploaded to MY account , and it is MY game, if thats the problem is there a way i can make it play the animations for everyone without them having to join a group?

Did you make sure to change the ID of the animation idle for the other person as well?

You will need to use the PlayerAdded event to grab the character of the player by typing local character = player.CharacterAdded or player.CharacterAdded:Wait() and then you can change the ID of the animation through there.

1 Like

This won’t matter, animation asset will be okay unless you didn’t uploaded the animation.
There’s literally no connection between groups and animations unless you want them to appear only for people in the group

I’m not sure this process is necessary, putting the animations in a server is more efficient then using then using a playeradded event. Playeradded event is more for things to change in server like leaderboards, datastores
You might want to use starterplayerscripts if you want to use the animations inside the player.
There’s al lot of other ways to do this, and I respect the idea of you saying about loading the animation. But please don’t use playeradded event for it

i will reply soon, im doing some tests and some weird things are happening

If you want the animation to be played on the server then you will need to get the character and in order to do that you will have to use the PlayerAdded event and then get the character.

local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(plr)
           local char = plr.CharacterAdded or plr.CharacterAdded:Wait()

end)

I don’t think there is a way to get the character without calling the PlayerAdded event and thats why I used it.

1 Like

You can use startercharacterscript. You might want to use server for remote events, and use startercharacterscript for others

1 Like

ok i may have encountered an entirely different problem? for some reason one of my test accounts idle animation isnt playing in the game, but on other players other peoples animations work. so im really confused

could it be because of the players size or something?

You have probably missed something on your code, can I see your output? :thinking:

1 Like

This won’t really matter, but I’m trying to come up with many ways as possible
Did you try doing this in the actual server?
Did you try making everyone same character by using startercharacter and test it?
Did you try changing character’s rig type to r15?
Did you try using the animation to a generated rig?
Did you try checking the animation Id?

1 Like

i encountered this. for me it happened when people had rthro package animations, or for example the ninja idle, or the toy walk

also you made a post on this 18 minutes ago, dont duplicate posts

1 Like

I believe the problem you are encountering is the default roblox idle animation that overwrites yours. I’ve tried this before where the default idle animation only overwrites to other people but the client itself.

Best way if you want an idle animation in a very easy and a bit hacky way is to just fork it in the animate script.

You can copy the localscript that loads by default into your character and paste it into StarterPlayerScripts, then go and find in the descendants one called “idle” and replace the animationID with yours.

2 Likes