I following doing AlvinBlox's tutorial on how to animate but I haven't been able to make it work. I did the following:
Inserted ScreenGUI into StarterGUI
Inserted TextButton into ScreenGUI
Inserted LocalScript and put in the following
script.Parent.MouseButton1Click:Connect(function()
game.ReplicatedStorage.RemoteEvent:FireServer("2979587799")
end)
Inserted RemoteEvent in ReplicatedStorage
Inserted Script into Workspace and put the following
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(player,animationID)
local animation = Instance.new("Animation")
animation.AnimationId = "http://www.roblox.com/Asset?ID="..animationID
local loadedAnimation = game.Workspace(player.Name).Humanoid:LoadedAnimation(animation)
loadedAnimation:Play()
end)
I have tested it and played in-game with no luck. Are there any errors? Is the method simply outdated? What should I do instead?

5 comments
well then dont follow his tutorial
Make your own script instead, you don't even know what you're writing. Also that is bad practice.
This is why you never trust AlvinBlox.
The answer is "of course it doesn't work, it's AlvinBlox"
alvinblox.. lol