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

2 comments

0

In the "ScreenGui" there's property called "ResetOnSpawn", you want to disable that.

0

aight thanks mate