Issue with the TRIGGER AND ANIMATION course

I'm trying to work through this course, I follow the instructions exactly and I get this error: [BOT_Bot1][2023.06.07-11.45.51]Error running Lua task: [611A0F8AB99D7722] AnimateSeller_1:3: attempt to index a nil value

The code I copied and pasted from the tutorial.

``local TRIGGER = script.parent
local NPC = script:GetCustomProperty("NPC"):WaitForObject()

function OnBeginOverlap(trigger, other)
if not other:IsA("Player") then return end

if other ~= Game.GetLocalPlayer() then return end

NPC:LookAt(other:GetWorldPosition())
NPC:PlayAnimation("unarmed_wave")

end

TRIGGER.beginOverlapEvent:Connect(OnBeginOverlap)`

My layout looks exactly like the one in the tutorial.


![Screenshot 2023-06-07 115345|573x255](upload://jpYeakbqhEotF4VGn2a8RQkaD2e.png)