From venuslock, 4 Weeks ago, written in Lua.
Embed
  1. --SCRIPT 1
  2. loadstring(game:HttpGet('https://raw.githubusercontent.com/qalue/releases/main/OST-release', true))()
  3.  
  4. --SCRIPT 2
  5.  
  6. local osclockBefore = os.clock()
  7. local LibrarySrc =
  8.         game:HttpGetAsync("https://github.com/ActualMasterOogway/Fluent-Renewed/releases/latest/download/Fluent.luau")
  9. LibrarySrc = loadstring(LibrarySrc)
  10. local Library: FluentUI
  11. Library = LibrarySrc() :: FluentUI
  12. print("took " .. os.clock() - osclockBefore .. "s to load Fluent Renewed library..")
  13.  
  14. local ReplicatedStorage = game:GetService("ReplicatedStorage") :: ReplicatedStorage
  15. local LPlayer = (game:GetService("Players") :: Players).LocalPlayer
  16.  
  17. local Tycoons = workspace:FindFirstChild("Tycoons") :: Folder
  18. local Stats = ReplicatedStorage.Data:FindFirstChild(LPlayer.Name).Stats :: Folder
  19.  
  20. local cache = {
  21.         buttons = {} :: { Part },
  22. }
  23.  
  24. local section
  25.  
  26. local function getRandomSubtitle()
  27.         local randommessages = {
  28.                 "very pro skibidi",
  29.                 "worst ever script",
  30.                 "imagine using script on tycoon game",
  31.                 "heh",
  32.                 "wheres sub title",
  33.                 "by santer",
  34.         }
  35.  
  36.         math.randomseed(os.clock())
  37.  
  38.         local random = math.random(1, #randommessages)
  39.         return randommessages[random]
  40. end
  41.  
  42. local function getTycoon(): Model
  43.         return Tycoons:FindFirstChild(LPlayer.Team.Name) :: Model
  44. end
  45.  
  46. local function getDrops(): Folder
  47.         return getTycoon():FindFirstChild("Drops") :: Folder
  48. end
  49.  
  50. local function smeltOres()
  51.         local clickdetector = (
  52.                         (getTycoon():FindFirstChild("Smelter") :: Model):FindFirstChild("Smelt") :: Part
  53.                 ):FindFirstChild("ClickDetector") :: ClickDetector
  54.  
  55.         fireclickdetector(clickdetector, 1)
  56. end
  57.  
  58. local function collectDrops()
  59.         local event = LPlayer.Backpack["Pick Ores"]:FindFirstChild("Collect")
  60.         for i, v in getDrops():GetChildren() do
  61.                 event:FireServer(v)
  62.         end
  63. end
  64.  
  65. local Window = Library:CreateWindow({
  66.         Title = "Ore Smelting Tycoon: script",
  67.         SubTitle = getRandomSubtitle(),
  68.         TabWidth = 160,
  69.         Size = UDim2.fromOffset(830, 525),
  70.         Resize = true,
  71.         MinSize = Vector2.new(470, 380),
  72.         Acrylic = true,
  73.         Theme = "Dark",
  74.         MinimizeKey = Enum.KeyCode.LeftControl,
  75. })
  76.  
  77. local Tabs = {
  78.         Main = Window:CreateTab({
  79.                 Title = "Main",
  80.                 Icon = "app-window",
  81.         }),
  82. }
  83.  
  84. do
  85.         section = Tabs.Main:AddSection("Farm")
  86.         do
  87.                 section:CreateButton({
  88.                         Title = "? Collect all drops",
  89.                         Description = "Tool needs to be unequipped.",
  90.                         Callback = collectDrops,
  91.                 })
  92.  
  93.                 section:CreateButton({
  94.                         Title = "? Smelt ores",
  95.                         Callback = smeltOres,
  96.                 })
  97.  
  98.                 local upvalue1 = false
  99.                 section:CreateToggle("", {
  100.                         Title = "? Auto buy ore buttons",
  101.                         Description = "5 second repeat cooldown.",
  102.                         Callback = function(v)
  103.                                 upvalue1 = v
  104.                         end,
  105.                 })
  106.                 -- caching buttons idk why
  107.                 local tycoon = getTycoon()
  108.                 for i, v in tycoon:FindFirstChild("Buttons"):GetChildren() do
  109.                         table.insert(cache.buttons, v)
  110.                 end
  111.                 for i, v in tycoon:FindFirstChild("Buttons2"):GetChildren() do
  112.                         table.insert(cache.buttons, v)
  113.                 end
  114.                 for i, v in tycoon:FindFirstChild("Buttons3"):GetChildren() do
  115.                         table.insert(cache.buttons, v)
  116.                 end
  117.                 task.spawn(function()
  118.                         while task.wait(5) do
  119.                                 if not upvalue1 then
  120.                                         continue
  121.                                 end
  122.  
  123.                                 local humpart = LPlayer.Character:FindFirstChild("HumanoidRootPart")
  124.                                 for i, v in cache.buttons do
  125.                                         local button = v:FindFirstChild("Button") :: Part
  126.                                         if button.Transparency ~= 1 then
  127.                                                 firetouchinterest(humpart, button, 0)
  128.                                                 firetouchinterest(humpart, button, 1)
  129.                                         end
  130.  
  131.                                         task.wait() -- waiting for the next frame so no lags!!
  132.                                 end
  133.                         end
  134.                 end)
  135.  
  136.                 local upvalue2 = false
  137.                 section:CreateToggle("", {
  138.                         Title = "⚙️ Auto collect & smelt",
  139.                         Description = "1 second repeat cooldown.",
  140.                         Callback = function(v)
  141.                                 upvalue2 = v
  142.                         end,
  143.                 })
  144.                 task.spawn(function()
  145.                         while task.wait(1) do
  146.                                 if not upvalue2 then
  147.                                         continue
  148.                                 end
  149.                                 collectDrops()
  150.                                 smeltOres()
  151.                         end
  152.                 end)
  153.         end
  154.  
  155.         section = Tabs.Main:AddSection("Obby")
  156.         do
  157.                 section:CreateButton({
  158.                         Title = "? Get hard obby reward",
  159.                         Callback = function()
  160.                                 firetouchinterest(
  161.                                         LPlayer.Character:FindFirstChild("HumanoidRootPart"),
  162.                                         (workspace:FindFirstChild("HardObby") :: Model):FindFirstChild("Reward") :: Part,
  163.                                         0
  164.                                 )
  165.                                 firetouchinterest(
  166.                                         LPlayer.Character:FindFirstChild("HumanoidRootPart"),
  167.                                         (workspace:FindFirstChild("HardObby") :: Model):FindFirstChild("Reward") :: Part,
  168.                                         1
  169.                                 )
  170.                         end,
  171.                 })
  172.  
  173.                 section:CreateButton({
  174.                         Title = "? Get easy obby reward",
  175.                         Callback = function()
  176.                                 firetouchinterest(
  177.                                         LPlayer.Character:FindFirstChild("HumanoidRootPart"),
  178.                                         (workspace:FindFirstChild("EasyObby") :: Model):FindFirstChild("Reward") :: Part,
  179.                                         0
  180.                                 )
  181.                                 firetouchinterest(
  182.                                         LPlayer.Character:FindFirstChild("HumanoidRootPart"),
  183.                                         (workspace:FindFirstChild("EasyObby") :: Model):FindFirstChild("Reward") :: Part,
  184.                                         1
  185.                                 )
  186.                         end,
  187.                 })
  188.         end
  189. end
  190.  
  191. Stats:FindFirstChild("HardObbyCooldown").Changed:Connect(function()
  192.         if Stats:FindFirstChild("HardObbyCooldown").Value == 0 then
  193.                 Library:Notify({ Title = "Obby cooldown", Content = "Now you can beat hard obby again!", Duration = 5 })
  194.         end
  195. end)
  196.  
  197. Stats:FindFirstChild("EasyObbyCooldown").Changed:Connect(function()
  198.         if Stats:FindFirstChild("EasyObbyCooldown").Value == 0 then
  199.                 Library:Notify({ Title = "Obby cooldown", Content = "Now you can beat easy obby again!", Duration = 5 })
  200.         end
  201. end)
  202.  
  203.  
  204.  

captcha