so i got this plot that when the owner of it walks on it, the owner's gui will enable when then the owner steps off it i want the owner's gui to disable

script.Parent.TouchEnded:Connect(function(object)
	local player = players:GetPlayerFromCharacter(object.Parent)
	if not player then return end
	local plot_name = script.Parent.Name:split(" ")[2]
	if player.Name ~=  plot_name then return end
	local names = {}
	for i,v in pairs(script.Parent:GetTouchingParts()) do
		table.insert(names,1,v.Parent.Name)
		local parts = table.find(names,plot_name)
		print(parts)
	end
end)

prints: 1 2 nil