Recursive rollup -> summing values

HI fellow Airtablers,

I am building a priority tool for myself that, at it’s core, has a list of tasks.
Each task has a total priority score.
Now tasks can have dependencies and I want to add their total score to the “total priority score” of the top(or root) task" This works for one level deep but not recursive.

Airtable gives me an error regarding a circular reference.
Which is logical if I would link a task to itself but I don’t… Anyone have an idea how I can fix this?

Thank you and I will post the solution if I find it.

I can’t add images or GDrive links so please DM or something for screenshots of my table