if script.Parent.ItemType.Value=="\084\111\121"and itemName==""then local j=false for H,p in pairs(settingVals)do if p.Value~=""then j=true break end end if j then script.Parent.GreenEdge.Visible=false else script.Parent.GreenEdge.Visible=true end end

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
