It’s because your Screen GUI is set to reset when the character died
In order to make it stop you’ll just have to uncheck ResetOnSpawn :

You also should consider making a better pet inventory in the future using GUI as storage is not very practical 
It’s because your Screen GUI is set to reset when the character died
In order to make it stop you’ll just have to uncheck ResetOnSpawn :

You also should consider making a better pet inventory in the future using GUI as storage is not very practical 