Wont run and i placed as a local script in starterpack and yes i did make and publish the animation. But it wont work when i join the game
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)

1 comment
Yep.