I have no idea how to make a click door for a certain team. I am making a prison game
I don’t know completely how but, I will try to help you. So,
local part = script.Parent local player = game.Players part.MouseClick:Connect(function() if game.player.Teams.guards == true then part.CanCollide = false end