ScriptBlox is undergoing maintenance, so downtime is possible. Sorry for the inconvenience!
Lucky Lockups
141.3k Views

Script Verified Upper Cost OPEN SOURCE

Lucky Lockups Uploaded by
Bac0nH1ckOffBac0nH1ckOff
Verified Badge
Verified User
3 years ago
Please login to perform these actions:

Description

The script writes only the upper cost of items in the container I do not know how to calculate the exact cost, but if you are a scripting guru, you can modify the script And yes, run the script during the auction

View Raw
Edited By: Bac0nH1ckOff Download


Comments
3
User profile picture
Ruytrev 3 years ago - Edited
patch
User profile picture
Ruytrev 3 years ago - Edited
it does not work no more
User profile picture
Badnana 2 years ago - Edited
This calculates both since there is a lowerprice to the items and upperprice so u cant calculate the exact one : local lowerSum = 0 local upperSum = 0 local lowerCost = {} local upperCost = {} for _, item in pairs(work*e.Garages:GetDescendants()) do if item.Name == "LowerPrice" then table.insert(lowerCost, item.Value) end end for _, val in ipairs(lowerCost) do lowerSum = lowerSum + val end for _, item in pairs(work*e.Garages:GetDescendants()) do if item.Name == "UpperPrice" then table.insert(upperCost, item.Value) end end for _, val in ipairs(upperCost) do upperSum = upperSum + val end game.StarterGui:SetCore("SendNotification", { Title = "Cost", Text = "Lower Price: " .. lowerSum .. "\nUpper Price: " .. upperSum, Duration = 3.5 })
Please Login to add a comment.