This wont load when the player join or i join it still walks normal can you help me i tried everything

game.Players.PlayerAdded:connect(function(player)
    player.CharacterAdded:connect(function(character)
        local script = game.StarterPack.LocalScript
        if character:FindFirstChild("Humanoid") then
            local animation = Instance.new("Animation")
            animation.AnimationId = "http://www.roblox.com/Asset?ID=222080965"
            local animtrack = character.Humanoid:LoadAnimation(animation)
            animtrack:play()
        end
    end)
end)


3 comments

0

It's because there is already walking animations inside the player. You need to replace the walking animations with your own custom animation. There is a wiki page about it.

0

can you tell me the link?