Slomcal

Rise of nations Internal Market Farm (insane cash)

Feb 13th, 2026 (edited)
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. --better version
  2. local uis = game:GetService("UserInputService")
  3.  
  4. -- Initialize global state
  5. if _G.Enabled123 == nil then
  6. _G.Enabled123 = false
  7. end
  8.  
  9. -- Store the trade configuration in _G so you can edit it anytime
  10. if _G.TradeConfig == nil then
  11. _G.TradeConfig = {
  12. Nation = "South Africa", -- set current nation here
  13. Resource = "Consumer Goods",
  14. Action = "Sell",
  15. Amount = 45,-- edit amount here
  16. Price = 0.15
  17. }
  18. end
  19.  
  20. -- Prevent multiple loops
  21. if _G.SpamLoopRunning then
  22. print("Loop already running! Press L to toggle.")
  23. return
  24. end
  25. _G.SpamLoopRunning = true
  26.  
  27. -- Key listener
  28. uis.InputBegan:Connect(function(input, gameProcessed)
  29. if gameProcessed then return end
  30.  
  31. if input.KeyCode == Enum.KeyCode.L then -- edit keybind here
  32. _G.Enabled123 = not _G.Enabled123
  33. print("Spam", _G.Enabled123 and "enabled" or "disabled")
  34. end
  35. end)
  36.  
  37. -- Main loop
  38. while true do
  39. if _G.Enabled123 == true then
  40. local args = {
  41. _G.TradeConfig.Nation,
  42. "ResourceTrade",
  43. {
  44. _G.TradeConfig.Resource,
  45. _G.TradeConfig.Action,
  46. _G.TradeConfig.Amount,
  47. _G.TradeConfig.Price,
  48. "Bulk"
  49. }
  50. }
  51. workspace:WaitForChild("GameManager"):WaitForChild("ManageAlliance"):FireServer(unpack(args))
  52. task.wait(0.5)
  53. else
  54. task.wait(0.1)
  55. end
  56. end
Advertisement
Add Comment
Please, Sign In to add comment