local function h(h)if h and(h.Parent and h.Parent:FindFirstChild("\072\117\109\097\110\111\105\100"))then local C=PlayersService:GetPlayerFromCharacter(h.Parent)if C and not JustTouched[C]then JustTouched[C]=time()if GamePassService:PlayerHasPass(C,GamePassIdObject.Value)then TeleportToOtherSide(C.Character,h)end end end end

local function OnTouched(otherPart)
	if otherPart and otherPart.Parent and otherPart.Parent:FindFirstChild('Humanoid') then
		local player = PlayersService:GetPlayerFromCharacter(otherPart.Parent)
		if player and not JustTouched[player] then
			JustTouched[player] = time()
			if GamePassService:PlayerHasPass(player, GamePassIdObject.Value) then
				TeleportToOtherSide(player.Character, otherPart)
			end
		end
	end
end
