It was the rate I was checking the if statement, I was running the loop 60 times a second and that wasn’t needed because I’m checking if I delayed the script for 30 seconds. Replacing the heartbeat with a wait(1) fixed it.
1 Like