NukeVsCity

grow a garden inf money

May 30th, 2025
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.50 KB | None | 0 0
  1. -- Reason for releasing this is because it's definitely getting patched soon, a lot of popular script's have implemented it and it's bound to happen
  2. --[[
  3.     GUIDE
  4.  
  5.     Join on an alt and hold out any pet (best if it's valuable)
  6.     Execute the script
  7.     You will gain money as if you're selling the pet but your other account will keep the pet whilst you still earn money
  8. ]]
  9.  
  10. -- SETTINGS
  11. local SELL_DELAY = 0.1; -- Pretty sure it's capped at 0.1 on the server
  12.  
  13. -- Services
  14. local Players = game:GetService("Players");
  15. local ReplicatedStorage = game:GetService("ReplicatedStorage");
  16. local RunService = game:GetService("RunService");
  17.  
  18. -- Variables
  19. local LocalPlayer = Players.LocalPlayer;
  20. local Sold = tick();
  21.  
  22. -- Main
  23. do
  24.     RunService.RenderStepped:Connect(function()
  25.         if (tick() - Sold < SELL_DELAY) then
  26.             return;
  27.         end
  28.  
  29.         for _, Player in Players:GetChildren() do
  30.             local Character = Player.Character;
  31.  
  32.             if (Player == LocalPlayer) or (not Character) then
  33.                 continue;
  34.             end
  35.  
  36.             for _, Tool in Character:GetDescendants() do
  37.                 if (Tool.ClassName ~= "Tool") then
  38.                     continue;
  39.                 end
  40.  
  41.                 ReplicatedStorage.GameEvents.SellPet_RE:FireServer(Tool);
  42.                 Sold = tick();
  43.             end
  44.         end
  45.     end)
  46. end
  47.  
  48. -- written by dementia enjoyer
  49. -- thanks to @relixend aswell for some extra info
  50. -- shoutout to solix hub, best gag script !!!
Add Comment
Please, Sign In to add comment