local k=script.Parent.Parent.Door local J=script.Parent.ClickDetector J.MouseClick:Connect(function(J)local g=J.Team.Name if g=="\080\111\108\105\099\101"then k.CanCollide=false k.Transparency=1 wait(2)k.CanCollide=true k.Transparency=0 end end)


local Door = script.Parent.Parent.Door
local Click = script.Parent.ClickDetector

Click.MouseClick:Connect(function(Player)
	local PlayerTeam = Player.Team.Name
	if PlayerTeam == "Police" then
		Door.CanCollide = false
		Door.Transparency = 1
		wait(2)
		Door.CanCollide = true
		Door.Transparency = 0 
	end
end)
