http://i.imgur.com/uCncN1E.png
That's the error, and that shouldn't be possible in the local script as everything else works except animations. But it exists and I don't know how to get rid of it.
Many people have this issue but nobody knows how to fix it based on the amount of searching I've done.
Here's the code:
local Player = game.Players.LocalPlayer local Character = Player.Character or Player.CharacterAdded:wait() local Humanoid = Character:WaitForChild("Humanoid") local RunningTrack = Humanoid:LoadAnimation(RunHolder:WaitForChild 'RunAnim') RunningTrack:Play()
Any solutions?
Try this, if it doesn't work, lmk:
local Player = game.Players.LocalPlayer local Character = Player.Character or Player.CharacterAdded:wait() local Humanoid = Character:WaitForChild("Humanoid") local RunAnim = -- Define your Animation here local RunningTrack = Humanoid:LoadAnimation(RunAnim) RunningTrack:Play()