So what I'm trying to do is make the variable 'lowertext' the player's current team name. But for some reason, when a player changes team, it doesn't change the name tag text. Someone please help, this has been annoying me for a while now lol.
for i, v in pairs(Players:GetChildren()) do
if v:IsA("Player") then
lowertext.Text = v.Team.Name
v.Team:GetPropertyChangedSignal(v.Team):Connect(function()
for i, v in pairs(Players:GetChildren()) do
if v:IsA("Player") then
lowertext.Text = v.Team.Name
end
end
end)
end
end

1 comment
You should always state the errors in their code to help them understand why their code is not working, and why the solution works.