Im using an RemoteEvent that when fired changes the idle and walking animation of the character to the original ones, but when the Id is changed the old animation keeps playing to the other clients, even when the player moves.Not sure what to do but this is what i tried already:

-- IdleId and WalkId are the original roblox animations Id
-- Server Script
local function CoreAnimChange(Player, Animator, IdleId, WalkId)
    Animator.idle.Animation1.AnimationId = IdleId
    Animator.walk.WalkAnim.AnimationId = WalkId
end
CoreChangeEvent.OnServerEvent:Connect(CoreAnimChange)

--Local Script	
Humanoid.WalkSpeed = 0
UnEquipAnimation:Play()
UnEquipAnimation.Stopped:Connect(function()	
    Animate.Disabled = true
    CoreChangeEvent:FireServer(Animate, IdleAnim, WalkAnim)
    wait(0.1)			
    Animate.Disabled = false						
    Humanoid.WalkSpeed = WalkSpeed
end

Note: For the client whose animation id was changed the animation refreshes fine but for the other clients it keeps playing the old one. Any help appreciated!