I am currently making a team counter surface gui, however the text never updates, despite me being on a team.
local RTeam = game.Teams["Lobby"]:GetPlayers()
while wait(1) do
script.Parent.Text = #RTeam
end
I am currently making a team counter surface gui, however the text never updates, despite me being on a team.
local RTeam = game.Teams["Lobby"]:GetPlayers()
while wait(1) do
script.Parent.Text = #RTeam
end
Try putting the RTeam variable inside of the loop. Maybe it isnt updating, and the server may begin looping this before any players are in any teams
cant believe something so simple fixed that. Thanks!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.