RandomMagics

Dragon Blade Inf Money:

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