Ive been trying to make GUI hide when a player is not on the “Lobby” Team, The problem is that the GetPropertyChangedSignal Doesnt fire when its supposed to.
local Lobby = game:GetService("Teams"):WaitForChild("Lobby")
local Nato = game:GetService("Teams"):WaitForChild("Nato")
local Warsaw = game:GetService("Teams"):WaitForChild("Warsaw Pact")
PLR:GetPropertyChangedSignal("Team"):Connect(function()
task.wait (0.5)
if PLR.Team == Lobby then PLR.PlayerGui.LobbyGUI.Enabled = true print "hi"
if PLR.Team == Nato then PLR.PlayerGui.LobbyGUI.Enabled = false print "hi"
if PLR.Team == Warsaw then PLR.PlayerGui.LobbyGUI.Enabled = false print "hi"
end
end
end
end)
``` Doesnt print or change the guis visibility.