I’ve got a bank robbery system, whenever someone robs it it will send a announcement to everyone. Although I want this to send to a certain team, like police.
On the client side where the message is printed just check the team.
local Teams = game:GetService("Teams")
local Player = game:GetService("Players").LocalPlayer
if Player.Team == Teams.MyTeam then
-- send message
end
idk if im mistaked but doesn’t the player.team only refer to the person that robbed the bank?