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

How do I make Guis not disappear after you reset? (SOLVED)

Asked by
Loot_O 42
4 years ago
Edited 4 years ago

So last post, I wanted to figure out how to make certain players have a Gui, I got an answer, but when I reset, the Gui is gone, and I want it to not do that here's what I did

Script

game.Players.PlayerAdded:Connect(function(plr)
    for i, v in pairs(allowed) do
        if plr.Name == v then
            game.ReplicatedStorage.Remotes.GetGuis:FireClient(plr)
        end
    end
end

LocalScript

game.ReplicatedStorage.Remotes.GetGuis.OnServerEvent:Connect(function()
       PlayerGui.UTG.Enabled = true
end
0
In the "ScreenGui" there's property called "ResetOnSpawn", you want to disable that. ScuffedAI 435 — 4y
0
aight thanks mate Loot_O 42 — 4y

Answer this question