-
What do you want to achieve?
I have no idea what is wrong with my script. I am trying to make a team chooser gui when a player joins the game. The gui won’t even pop up. Here is my script in server script service:
local function onPlayerJoin(player)
game.StarterGui.TeamChooser.Team1.Visible = true
I then repeat for the other two buttons. Next is the:
Players.PlayerAdded:Connect(function(onPlayerJoin)
-
What is the issue? the script will not work. Should it be a local?
-
What solutions have you tried so far? I have tried making the script do the same thing but turning the screen gui.Enabled to true as well.
Oh, btw I forgot to tell you, I defined players too.
local Players = game:GetService(“Players”)