Hey,
so I decide to make a Menu where you can choose a Team, I tried it with Characterautoload to wait before they chose a Team but the GUI is not appearing. Thanks for the help, I am a Beginner.
Script:
game.Players.CharacterAutoLoads = false
game.Players.PlayerAdded:Connect(function(player)
while true do
local char = player.CharacterAdded:wait()
char.Humanoid.Died:Connect(function()
char:Remove()
end)
end
end)
while true do
local players = game.Players:GetChildren()
for i, player in pairs (players) do
if (not game.Workspace:FindFirstChild(player.Name)) then
player:LoadCharacter()
end
end
wait(10)
end