Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Animation Wont Work?

Asked by
22To 70
9 years ago

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)


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. EzraNehemiah_TF2 3552 — 9y
0
can you tell me the link? 22To 70 — 9y

Answer this question