MADE BY xSGTxBLOODx2
FEATURE:
- RUBLE VALUE OF PEOPLE’S INVENTORY
- replace playername wit someone’s name
total = 0
local playername = "some goofball"
for i, v in pairs(game:GetService("ReplicatedStorage").Players[playername]:GetDescendants()) do
if v:IsA("StringValue") then
e = game:GetService("ReplicatedStorage").ItemsListLocal:FindFirstChild(v.Name)
if e ~= nil then
price = e:GetAttribute("Price")
if price ~= nil then
total = total + tonumber(price)
end
end
end
end
print("Inventory Value: "..total)