script.Parent.RemoteEvent3.OnClientEvent:Connect(function(plr)
game.Players.LocalPlayer.Character.Animate.run.RunAnim.AnimationId = "http://www.roblox.com/asset/?id=6026178868"
game.Players.LocalPlayer.Character.Animate.walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=6026178868"
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 20
end)
RemoteEvent3 is in the tool.
I have a local script that fires a remoteevent in into a script which fires that into a local script to which changes the animation. It gives me that error and I'm stuck on how to fix it.

4 comments
Which script gives you that error??
Just a tip: If you have a local script that fires a remote event to the server and then you fire it back from the server, you can use remote functions for that
@LordKemono it's the script that's given
@Soban06 didn't know that, I'll try to learn how to use remote functions!