How do I make UI work after respawning?

I think it may have to do something way it’s ownership but I’m not sure