I fixed it. All I did was use a power supply that supplied less amps, and then it didn’t keep trying to restart.
open