Solved it like this now. Don’t know why I didn’t think about the if/else statement haha
var Dur = comp("00 MASTER CONTROL").layer("MASTER CONTROL").effect("Duration endpage")("Slider");
var AS = framesToTime(0);
var AE = framesToTime(181);
var AC = framesToTime(200);
var OP1 = linear(time, 0, Dur, AS, AE);
var OP2 = linear(time, Dur, 10, AE, AC);
if (time < Dur) {
OP1
} else {
OP2
}