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
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.
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
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.
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
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?
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.