How to make a billboard gui that shows where each teammate is at

Basically i want a billboard gui above players head that is visible ONLY to a players teammates

again feel free to ask any questions because im bad at explaining

For this I would check out TeamService. Assign each player to a team, and then only have the billboard gui’s Visible property to a player’s team.

Example (client)
:

for i,player in pairs(Players:GetPlayers()) do
   if player.TeamColor == BrickColor.new("Bright Red") then
      player.gui.Visible = true
   else
      player.gui.Visible = false
   end
end