How to make UI from team?

  1. How to make the user interface be in a certain team - a short example I have a “warn ui” and I insert it into the team in which it can be opened.

u can check what team player is on from the player itself

example (this is localscript)


local me = game:GetService("Players") --// defining current player

print(me.Team.Name)  -- should print the current team player is on

you could also double check the team on the server if u would like to

u can check what team player is on from the player itself

example :


local me = game:GetService("Players") --// defining current player

print(me.Team.Name)  --should print current team name