- What do you want to achieve? Change animations on both server and client if player is a different character or has a model in them
- What is the issue? Animations end up being junky and not even appearing on some people clients
- What solutions have you tried so far? i tried putting the animation changer script itself in the character changer script but it didn’t work
game:GetService('Players').PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(Character)
Character.ChildAdded:Connect(function(instance)
if instance.Name == "Model" then
Character.Animate.idle.Animation1.AnimationId = "rbxassetid://id"
Character.Animate.idle.Animation2.AnimationId = "rbxassetid://id"
Character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://id"
end
end)
end)
end)
Note that i am using ChildAdded to identify what type of character the player is by using instance.new model inside the character. Also for some reason roblox couldn’t identify the model name being “IsGiant” so i instead used Instance.Name == “Model” since it worked.