Do you have a variable that changes when the levels change?
I'm trying to make an autosplitter, and I struggle with finding anything like that
Edit: I found one