So I make a copy the animate local script, and including some animation in it, but now it just playing default animation, I want the avatar animation to be player choice, I did check the player choice for animation in game setting
You can access the player’s animation tracks under a LocalScript called Animate
inside the character and the change the AnimationId to whatever you want.
For example, if you want to change a player’s walk animation you would do
player.Character.Animate.walk:FindFirstChildOfClass("Animation").AnimationId = myAnimation
The dance and idle animation tracks have more than one animation, so you may want to overwrite both of them.
From what you wrote, you want only your character to be animated a specific way? If so I would add a script to StarterPlayer-StarterCharacterScripts. Inside the script put:
wait(1) – lets the character load in
if script.Parent.Name == “Your Username” then – if the character is named after your username
script.Parent.Animate.Idle:FindFirstChildOfClass(“Animation”).AnimationId == “Animation Id” – replace idle with what animation your changing. Replace Animation Id in the quotes to your animation id.
end
I know how to do that, I wanted is that the player play the animation that they apply in the avatar shop on the site
Simply make a script in ServerScriptService and put this in it:
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
local hum = char:WaitForChild(“Humanoid”)
hum.RigType = Enum.HumanoidRigType.R15
end)
end)