After sleeping on the code that I wrote last night I realized that the code to make the GUI wait before popping up after the player dies was slightly incorrect. I just fixed that line of code to make sure that the timing should be correct now. -Zach