- --Game Link: https://www.roblox.com/games/10925589760/RELEASE-Merge-Simulator
- repeat task.wait(0.1) until game:IsLoaded()
- local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/RoseGoldIsntGay/Rosemoc/main/library.lua"))()
- local windowname = _G.windowname
- local player = game.Players.LocalPlayer
- local plot = game.Workspace.Plots:FindFirstChild(player.Name)
- local replicated_storage = game.ReplicatedStorage
- local functions = {
- tap = replicated_storage.Functions.Tap,
- buy_upgrade = replicated_storage.Functions.BuyUpgrade,
- rebirth = replicated_storage.Functions.Rebirth,
- gem_upgrade = replicated_storage.Functions.GemUpgrade
- }
- local conf = {
- toggles = {
- auto_click_boxes = false,
- auto_merge = false,
- auto_x2_frenzy = false,
- auto_buy_upgrades = false,
- auto_rebirth = false
- }
- }
- local temptable = {
- connections = {},
- start_time = tick(),
- last_afk_click = tick(),
- last_frenzy_activation = 0
- }
- function getBlockOfLevel(block)
- if not block or not block.Parent then return end
- for _,v in pairs(plot.Blocks:GetChildren()) do
- if v ~= block and v:FindFirstChild("Front") and v.Front:FindFirstChild("Number") and
- block:FindFirstChild("Front") and block.Front:FindFirstChild("Number") and v.Front.Number.Text == block.Front.Number.Text then
- return v
- end
- end
- end
- function tapAllBlocks()
- for _,v in pairs(plot.Blocks:GetChildren()) do
- functions.tap:FireServer(v)
- end
- end
- local Config = {
- WindowName = "Merge Simulator GUI by RoseGold",
- Color = Color3.fromRGB(39, 133, 11),
- Keybind = Enum.KeyCode.Semicolon
- }
- local Window = library:CreateWindow(Config, game:GetService("CoreGui"))
- local home_tab = Window:CreateTab("Home")
- local farming_tab = Window:CreateTab("Farming")
- local misc_tab = Window:CreateTab("Miscellaneous")
- local home_main_section = home_tab:CreateSection("Main")
- home_main_section:CreateButton("Exit", function()
- conf = nil
- for _,connection in pairs(temptable.connections) do
- connection:Disconnect()
- end
- for _, v in pairs(game:GetService("CoreGui"):GetDescendants()) do
- if v:IsA("TextLabel") and v.Text == Config.WindowName then
- v.Parent.Parent:Destroy()
- end
- end
- end)
- local auto_farming_section = farming_tab:CreateSection("Auto Farming")
- auto_farming_section:CreateToggle("Auto Click Boxes", false, function(State)
- conf.toggles.auto_click_boxes = State
- end)
- auto_farming_section:CreateToggle("Auto Merge", false, function(State)
- conf.toggles.auto_merge = State
- end)
- auto_farming_section:CreateToggle("Auto x2 Frenzy", false, function(State)
- conf.toggles.auto_x2_frenzy = State
- end)
- auto_farming_section:CreateToggle("Auto Buy Upgrades", false, function(State)
- conf.toggles.auto_buy_upgrades = State
- end)
- auto_farming_section:CreateToggle("Auto Rebirth", false, function(State)
- conf.toggles.auto_rebirth = State
- end)
- task.spawn(function()
- while task.wait() and conf do
- if conf.toggles.auto_merge then
- for _,block in pairs(plot.Blocks:GetChildren()) do
- local matching_block = getBlockOfLevel(block)
- if matching_block then
- block.CFrame = matching_block.CFrame
- block.Velocity = Vector3.new(0, 0, 0)
- task.wait(0.5)
- end
- end
- end
- end
- end)
- task.spawn(function()
- while task.wait() and conf do
- if tick() - 300 > temptable.last_afk_click then
- game:GetService("VirtualUser"):CaptureController()
- game:GetService("VirtualUser"):ClickButton2(Vector2.new())
- temptable.last_afk_click = tick()
- end
- if conf.toggles.auto_click_boxes then
- task.spawn(function()
- tapAllBlocks()
- end)
- end
- if conf.toggles.auto_x2_frenzy and tick() - 60 > temptable.last_frenzy_activation and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- local prev_location = player.Character.HumanoidRootPart.CFrame
- player.Character.HumanoidRootPart.CFrame = CFrame.new(game.Workspace.Obby.Finish.Position)
- temptable.last_frenzy_activation = tick() + 1
- task.wait(0.2)
- player.Character.HumanoidRootPart.CFrame = prev_location
- end
- if conf.toggles.auto_buy_upgrades then
- functions.buy_upgrade:FireServer("Cooldown")
- functions.buy_upgrade:FireServer("SpawnTier")
- functions.buy_upgrade:FireServer("MaxBlocks")
- end
- if conf.toggles.auto_rebirth then
- functions.rebirth:InvokeServer()
- functions.gem_upgrade:FireServer("GemsMultiplier")
- end
- end
- end)
Recent Pastes