In Studio, my NPC's animation (holding a tool) works correctly in Studio, but not in the Game. Can anybody help me with this? Thanks!
Here is the script:
wait(1)
local Hum = script.Parent.Parent.Humanoid
local Anim = script.Parent.Equippe --This is what the animation is called. It's not an error.
local AnimPlay = Hum:LoadAnimation(Anim)
AnimPlay:Play()
Note: This code is ran in a Script, inside a tool, which is inside an NPC.

4 comments
Not an official answer since I am not too familiar with animation scripting, but try removing the locals. If that doesn't work, make sure that your variables are referencing the right thing, and lastly, make sure that everything is called correctly. Such as trying to load Destroy() but accidentally doing destroy() or Destroy without the ()
Also, if the script is in a tool, it will not run by itself. The script has to be run in the workspace being triggered by something, such as a ClickDetector or button or NPC chat selection. Scripts inside tools can only be triggered by a player clicking or pressing a key.
Stop. "local" has nothing to do with LocalScripts. Tool scripts do run by themselves.
What is the problem? Are there any errors or does the animation just not play? Can you check with print statements whether the "Play()" line is reached? Make sure the code is in a Script instance and not a LocalScript.