Hello everyone. I am trying to rework the respawn system for my game, and it works well the first time you reset (Humanoid.Died fires, and enables the GUI), but after dying a second time, it respawns the player, but the GUI doesn’t show.
I know this isn’t a problem with a GUI, because I put a print statement everytime that Humanoid.Died is fired, and it doesn’t fire the second time that the Player dies.
Have you tried to do print statements for when the humanoid died? Maybe it could be the GUI not registering it or updating? No clue. Normally that connect function should work.
if anything you can set a variable to the character by doing
local character = player.Character or player.CharacterAdded:Wait()
When you die, the humanoid you’re referencing no longer exists, therefore .Died never fires. Place it under a .CharacterAdded:Connect()
and it should keep firing!
I tried doing the print statement, it prints for the first time that the humanoid dies, but it doesn’t for the second time, so the GUI is probably fine.