Task script if possible

hey i was wondering if there is like a way to make it so a entity can have a way to give you a task in game

Please don’t create duplicate threads.

oh sorry i didnt notice woops