This is the code for my blinking text, the text is blinking/flashing but the program will crash after a few seconds of blinking.
blink_start = True
blink = True
while blink_start:
clock.tick(10)
if blink:
screen.blit(start, (200, 300))
blink = False
else:
screen.blit(start2, (200, 300))
blink = True
pygame.display.flip()