top of page
Search

Limited Simulator (#1)

  1. -- LimitedSimulator_AutoBuy.lua

  2. -- Autobuys limiteds from Limited Simulator

  3. local function ModuloEXP(x, n, m)

  4. if n == 0 then

  5. return 1

  6. end

  7. if n % 2 == 0 then

  8. local y = ModuloEXP(x, n / 2, m)

  9. return y * y % m

  10. end

  11. return x % m * ModuloEXP(x, n - 1, m) % m

  12. end

  13. _G.EnableAutoBuy = true

  14. local Items = game:GetService("ReplicatedStorage"):WaitForChild("Items")

  15. local Limitteds = game:GetService("ReplicatedStorage"):WaitForChild("Limitteds")

  16. local LocalPlayer repeat LocalPlayer = game:GetService("Players").LocalPlayer until LocalPlayer or (not wait())

  17. local Robux = LocalPlayer:WaitForChild("Robux")

  18. Limitteds.ChildAdded:Connect(function(Child)

  19. if not _G.EnableAutoBuy then warn("Autobuy is disabled. Please run the code _G.EnableAutoBuy = true to enable autobuy.") return end

  20. if Child:IsA("Folder") then

  21. local AssetID = Child:WaitForChild("AssetID")

  22. local Price = Child:WaitForChild("Price")

  23. if Robux.Value >= Price.Value then

  24. local Success, Result = pcall(function()

  25. wait(0.5) -- I think there's a server sided check for time

  26. return Items:InvokeServer(Price.Value, AssetID.Value, Child.Name, ModuloEXP(#Limitteds:GetChildren(), 5, 6059))

  27. end)

  28. if Success then

  29. warn((Result and "Successfully bought: " or "Failed to buy: ") .. Child.Name)

  30. else

  31. warn("Ran into an error when trying to buy " .. Child.Name .. ": " .. Error)

  32. end

  33. else

  34. warn("Not enough robux (R$" .. Robux.Value .. ") to buy " .. Child.Name .. " (R$" .. Price.Value .. ").")

  35. end

  36. end

  37. end)

  38. warn("Auto-buy loaded!")

 
 
 

Recent Posts

See All
Idiotic Investing Script

local DevConsole = game:GetService("CoreGui"):WaitForChild("DevConsoleMaster") local Window = DevConsole.DevConsoleWindow local UI =...

 
 
 
Clicker Simulator

loadstring(game:HttpGet("https://raw.githubusercontent.com/LaDamage/releases/main/Clicker-Simulator.lua"))()

 
 
 

Comments


Post: Blog2_Post

©2022 by TopiaCSH. Proudly created with Wix.com

bottom of page