Advertisement
RandomMagics

Dragon Blade Infinite Money

Jan 18th, 2022
775
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. ---Infi Gold script (Note you want to have a lot of variety in your inventory, the more high valued items you have the faster you'll make money):
  2. ---Code:
  3.  
  4. local Inventory = game:GetService("Players").LocalPlayer.Character.ItemInventory
  5. local ItemArry = {};
  6.  
  7. function LagReduce()
  8. -- Will lag game while removing lmao
  9. pcall(function()
  10. game:GetService("Workspace").TerrainLoadedModelsFolder:Destroy();
  11. for x,z in pairs(game:GetService("Lighting"):GetChildren()) do z:Destroy(); end
  12. end)
  13. end
  14.  
  15. for i,v in pairs(Inventory:GetChildren()) do
  16. table.insert(ItemArry, v.Name);
  17. end
  18.  
  19. LagReduce();
  20.  
  21. while task.wait() do
  22. -- Use Task Spawn due to it being a InvokeServer.
  23. task.spawn(function()
  24. -- Loop through array
  25. for itemx = 1, #ItemArry do
  26. game:GetService("Workspace").HeroAssets["Fairy_Tree"].Shop["NPC_Raccoon"].SellItemRequest:InvokeServer(ItemArry[itemx], 0.000000000000001, false)
  27. end
  28. end)
  29. end
  30.  
  31. ---Infi Stamina script:
  32. ---Code:
  33.  
  34. local Stam = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerControllers.PlayerStamina)
  35. Stam.Consume = function() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement