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

GUI Troubleshoot? Everytime I reset the GUI is gone

Asked by 3 years ago

Owners = {'JerkDerekTheFirst', 'JerkDerekThe14alt', '', 'captinbubbles34','Player1'}

game.Players.PlayerAdded:connect(function(Player) local IsOwner = false for i, Owner in ipairs(Owners)do if Player.Name == Owner then IsOwner = true end end if IsOwner == true then Player.CharacterAdded:connect(function(Character) local Gui = script.ColorGui:Clone() Gui.Parent = Player.PlayerGui Gui.Manager.Disabled = false end) end end)

So this is basically like an admin you can say the thing is I want to know why it the GUI disappears when I reset how can I make the GUI appear even when I reset thanks.

1 answer

Log in to vote
0
Answered by
raid6n 2196 Moderation Voter Community Moderator
3 years ago
Edited 3 years ago

Turn ResetOnSpawn to false.

Ad

Answer this question