Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

MenuGui is come visible after death? [Solved]

Asked by 2 years ago
Edited 2 years ago

I tried to put a script to remove this bug but I couldn't do it

Script:

local frame = script.Parent

game:GetService('Players').PlayerAdded:Connect(function(player)
    player.CharacterAdded:Connect(function(character)
        character:WaitForChild("Humanoid").Died:Connect(function()
            while wait(5) do
                frame.Visible = false
            end
        end)
    end)
end)
0
Try turning the ResetOnDeath property of the ScreenGui to false. SitaruDaniel 44 — 2y
0
Thanks! It worked! Pedrougubtz 90 — 2y

Answer this question