Simple, just do the opposite of what you did for that gui.
Under line 8 of “deathhandler” just disable the other gui’s.
I can’t write the script for you since I don’t have all the info I need for that tho.
(dm me on dizzy(Arzeticz#1565) if you need more help, if you give me perms I can fix it for ya)
local player = game:GetService("Players").LocalPlayer
local targetGui = script.Parent --Enabled GUI
for _, gui in ipairs(player.PlayerGui:GetChildren()) do
if gui.Name ~= targetGui.Name then
gui.Enabled = false
end
end