local G=script.Parent.Parent.Door local R=script.Parent.ClickDetector R.MouseClick:Connect(function(R)local d=R.Team.Name if d=="\080\111\108\105\099\101"then G.CanCollide=false G.Transparency=1 wait(2)G.CanCollide=true G.Transparency=0 end end)
-- JamieWallace_RBLX
-- 19/05/2019

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)
