local X=script.Parent.Configuration script.Parent.Touched:connect(function(G)if G.Parent and(Game:GetService("\080\108\097\121\101\114\115")):GetPlayerFromCharacter(G.Parent)then local E=(Game:GetService("\080\108\097\121\101\114\115")):GetPlayerFromCharacter(G.Parent)if E:GetRankInGroup(X.GroupId.Value)>=X.RankId.Value then script.Parent.Transparency=1 script.Parent.CanCollide=false wait(2)script.Parent.Transparency=1 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) >= config.RankId.Value then
			script.Parent.Transparency = 1
			script.Parent.CanCollide = false
			wait(2)
			script.Parent.Transparency = 1
			script.Parent.CanCollide = true
		end
	end
end)
