-- Made by Zyrkon Vaalix -- Mineral Tyoon give money -- Run once let something get dropped into furnace then run again -- You have to own the collector thingy -- How much money you want local money = 9e9 local replicatedStorage = game:GetService("ReplicatedStorage") local collectItem : RemoteEvent = replicatedStorage:WaitForChild("CollectItem") local workspace = game:GetService("Workspace") local players = game:GetService("Players") local localPlayer = players.LocalPlayer local starterGUI = game:GetService("StarterGui") local function sendNotification(title, desc) starterGUI:SetCore("SendNotification", { Title = title, Text = desc }) end local tycoon for _, i in pairs(workspace:GetChildren()) do if i.Name == 'Tycoon' and i.Owner.Value == localPlayer.Name then tycoon = i end end local atm = tycoon.Bought:FindFirstChild("CollectATM") or nil if not atm then sendNotification("You do not own a ATM", "Complete the tutorial of the game first") do return end end local useUpValue = false if type(getupvalue) == 'function' then useUpValue = true elseif type(debug.getupvalue) == 'function' then useUpValue = true local getupvalue = debug.getupvalue end if useUpValue then local connections = getconnections(collectItem.OnClientEvent) local key for _, conn in pairs(connections) do local func = conn.Function getgenv().key = getupvalue(func,1) end else if not getgenv().listening then getgenv().listening = true collectItem.OnClientEvent:Connect(function(pass) if not getgenv().key then local args = { money, atm, pass } collectItem:FireServer(unpack(args)) sendNotification("Money should be in the ATM", "If you don't see any money please contact the developer") end getgenv().key = pass end) sendNotification("Money is on its way", "Let a ore drop get into the furnace") end end if getgenv().key then local args = { money, atm, getgenv().key } collectItem:FireServer(unpack(args)) sendNotification("Money should be in the ATM", "If you don't see any money please contact the developer") end