Not sure which code you are referring to, but as SteveJ suggested, seems you are resetting your scene everytime you die, by setting deadCount = 0 in Start() method.
I think following could help:
Change “public int deadcount;” to “public static int deadcount = 0;”
Remove “deadcount = 0;” from your Start() method
Where do you actually call the deadads() method from?