Automatically being revived when you're death (ambulancejob script)

Hello, I was developing my server, so always when I die, I’m automatically being revived, but it’s like reviving my ped and changing the ped for default peds, but the timer and the screen continues.

Example: