This script's purpose it so that the button is only visible if there are no players on the governor team, but once someone joins the team the button disappears.

if game.Teams.Governer.Players == 0 then
	script.Parent.Visible = true
	
elseif game.Teams.Governor.Players == 1 then
	script.Parent.Visible = false
end

2 comments

0

I tried using your script in my practice scripting game and I found out that there is no such property called Players inside of your governor team. I am still a beginner and I don't know much about teams but try finding a function that shows how many players are in the team and use the if statement on your code.

0

K, I fixed it