Fix warnings in PlayerDeathScript