game.Players.PlayerAdded:connect(function(Player) local PlayerGui = Player.PlayerGui local AM = script.Admin AM.Disabled = false local c = script.Login:Clone() c.Parent = PlayerGui return nil end)
What happens is the Login does not Clone to PlayerGui in the actual game, but it does in test. Even when I do it manually with :explorer from scripth's admin, the gui doesn't work, even though it works in test mode. Does anyone know what's going on?
game.Players.PlayerAdded:connect(function(Player) local PlayerGui = Player.PlayerGui local AM = script.Admin AM.Disabled = false Player:WaitForChild("PlayerGui") local c = script.Login:Clone() c.Parent = PlayerGui --return nil end)
I tried this. Didn't work, could you post some code I could try, you seem much more experienced with this.