Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

LoadAnimation requires the Humanoid object error?

Asked by 4 years ago

Im making a script to load a fps reload animation and this error keeps popping up

LoadAnimation requires the Humanoid object (M4A1.Humanoid) to be a descendant of the game object

Here is the script

local reloadanim = CurrentModel:WaitForChild("Humanoid"):LoadAnimation(game.ReplicatedStorage:WaitForChild("GunSettings")[CurrentModel.Name].Animations.Reload)

Thanks in Advance

Answer this question