function module.RemoveStat(U,V,L,B)local A=main.pd[V][L]if A then for U,A in pairs(A)do if tostring(A)==tostring(B)then table.remove(main.pd[V][L],U)main.pd[V].DataToUpdate=true main.signals.RemoveStat:FireClient(V,{L,B})break end end end end
--Remove value
function module:RemoveStat(player, locationName, newValue)
	local location = main.pd[player][locationName]
	if location then
		for i, v in pairs(location) do
			if tostring(v) == tostring(newValue) then
				table.remove(main.pd[player][locationName], i)
				main.pd[player].DataToUpdate = true
				main.signals.RemoveStat:FireClient(player, { locationName, newValue })
				break
			end
		end
	end
end
