I want it so if the player dies the Revive frame visibility will be set to true, the code currently does this but only when the player has respawned. I’d like that the frame would be visible instantly when the player has died.
I have tried to make a function but the Died:Connect(function() doesn’t wanna accept any functions I dont know why.
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Char)
Char.Humanoid.Died:Connect(function()
game.StarterGui.Revive.Revive.Visible = true
end)
end)
end)