collapse an edge every 0.5s

BUGS!
I STILL DON'T KNOW HOW TO FIX IT
THERE IS SOMETHING WRONG ZZZZZZZZZ