8 Port relay module + ACS712, delay time not turning on for right amount of time

Ever thought of using arrays?

Probably takes 3 seconds to print all that out...