I've tried this before and it's confusing. I have the gui made and everything it's just this part that trips me up.
If you are trying to make it for a certain team, you would use this script here.
if script.Parent.Parent.Parent.TeamColor == game.Teams.TEAMHERE.TeamColor then script.Parent.Enabled = true else script.Parent:remove() end
Put that in the screen gui. If the player is teamed on join, they will get it, if they are not, they need to reset.
Closed as Not Constructive by User#19524
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?