if script.Parent.ItemType.Value=="\084\111\121"and itemName==""then local R=false for x,K in pairs(settingVals)do if K.Value~=""then R=true break end end if R then script.Parent.GreenEdge.Visible=false else script.Parent.GreenEdge.Visible=true end end
-- Set green edge if nothing toy
if script.Parent.ItemType.Value == "Toy" and itemName == "" then
	-- Check if equipped anywhere
	local equipped = false
	for _, o in pairs(settingVals) do
		if o.Value ~= "" then
			equipped = true
			break
		end
	end

	-- Only turn on border if nothing equipped
	if equipped then
		script.Parent.GreenEdge.Visible = false
	else
		script.Parent.GreenEdge.Visible = true
	end
end
