So I have a script for a brick, that will only work when a player touches it. However, I only want the script to work if a certain team touches it. I wanted the Prisoners to be the only ones who could use it. (The teams are Prisoners, Guards, and Neutral, if you need that info) I'm not requesting anything, I just wanted to see if someone could tell me how to do it, if they couldn't be bothered to do it themselves.
all you need to do is add in an if statement to check what their team color is. so in pseudo code: if game.Players:FindFirstChild(HIT.Parent.Name).TeamColor == "[TEAMCOLOR]" then -- rest of code