How to check which team all players are on

I want to check which team each players are on and if they are on a specific team, for example “Police”, then a message will be sent to them. I made a script, but it doesn’t work.

Local script

local announce = game.ReplicatedStorage.ServerControllers.Announce
announce:FireAllClients("[Р] Robbery the bankomat by railway station! (Robbered: "..plr.Name..")")

delete the return in line 4 on the localscript, because for some reason… if you use that in a for i,v loop, it’ll break the entire loop which leaves some instances off the table

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.