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