script.Parent.Trigger.Touched:connect(function(R)if game.Players:GetPlayerFromCharacter(R.Parent)then local R=time()if R-last<1 then return end last=R GoTo(open)end end)

script.Parent.Trigger.Touched:connect(function(obj)
	if (game.Players:GetPlayerFromCharacter(obj.Parent)) then
		local t = time()
		if ((t-last) < 1) then return end	-- 1-second debounce (time-based)
		last = t
		GoTo(open)
	end
end)
