Change this to: function behaviorLib.CustomRetreatExecute(botBrain)