Ok so here is my script
local teams = game.Teams
frame = game.StarterGui.Jobs.TeamMain
if teams.Name == "Teacher" then
while true do
frame.Visible = false
wait(0.5)
end
end
now I want it to check for the team name and if it is that name of the job as shown here Teacher it wont open the job chooser frame again even when the die?

1 comment
Im pretty sure my problem here is that I dotn really have the name and Im declaring a folder im thinking about classnames perhaps