Inventory search tool

So I creating a game where one of teams need to check other team doesnt have any dangerous weapon so how I do tool that show what other teams have? Is this even possible?


There are multiple ways to achieve this goal. One way is to index all the players’ tools, and compare them if they meet the ‘dangerous weapon’ criterion, then do something with it.

Keep in mind, when a player has a tool equipped, it’s on their character.

An example loop to do so would be for i,v in pairs