Hey Adrian,
There are some circuitous ways to implement this, but I think the easiest way to do this wouldjust be to create a new score field, called something like event score. Set up a trigger campaign with any events you want to increment this and add a Change Score +1 to it. For the threshold, you can have Score is Changed, New Score is X or Greater, and then a flow to create a task. You can optionally set the score back to zero with this flow to start a new counter for these events.
Alternatively if you've already implemented a behavioral scoring model, you could implement something similar based on the scale of scores which you already have for that field.