local T=script.Parent.Configuration script.Parent.Touched:connect(function(E)if E.Parent and(Game:GetService("\080\108\097\121\101\114\115")):GetPlayerFromCharacter(E.Parent)then local i=(Game:GetService("\080\108\097\121\101\114\115")):GetPlayerFromCharacter(E.Parent)if i:GetRankInGroup(T.GroupId.Value)then script.Parent.Transparency=1 script.Parent.CanCollide=false wait(2)script.Parent.Transparency=0 script.Parent.CanCollide=true end end end)


local config = script.Parent.Configuration

script.Parent.Touched:connect(function(part)
	if part.Parent and Game:GetService('Players'):GetPlayerFromCharacter(part.Parent) then
		local player = Game:GetService('Players'):GetPlayerFromCharacter(part.Parent)
		if player:GetRankInGroup(config.GroupId.Value)then
			script.Parent.Transparency = 1
			script.Parent.CanCollide = false
			wait(2)
			script.Parent.Transparency = 0
			script.Parent.CanCollide = true
		end
	end
end)
