I was working on a viewport GUI and then walked across this annoying error
local Config = ClonedEnemy:WaitForChild("Animations") local Animator = ClonedEnemy:WaitForChild("Humanoid"):WaitForChild("Animator") local Animation = Config:WaitForChild("Idle") local animTrack = Animator:LoadAnimation(Animation) if Animator:IsA("Animator") and Config and Animator and animTrack then animTrack:Play() end