Background loop coding problem

Idk screen record it I guess