setclipboard("https://discord.gg/TR3quUFgT6") local player = game.Players.LocalPlayer local speedSpamEnabled = false local autoRebirthEnabled = false local remotes = game:GetService("ReplicatedStorage"):WaitForChild("Events") local addSpeed = remotes:WaitForChild("AddSpeed") local requestRebirth = remotes:WaitForChild("RequestRebirth") local gui = Instance.new("ScreenGui") gui.Name = "MetalUI" gui.ResetOnSpawn = false pcall(function() gui.Parent = game:GetService("CoreGui") end) local main = Instance.new("Frame") main.Size = UDim2.new(0, 260, 0, 220) main.Position = UDim2.new(0.5, -130, 0.5, -110) main.Active = true main.Draggable = true main.BackgroundColor3 = Color3.fromRGB(15, 10, 25) main.BorderSizePixel = 0 main.Parent = gui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 10) corner.Parent = main local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(170, 80, 255) stroke.Thickness = 1.5 stroke.Parent = main local topbar = Instance.new("Frame") topbar.Size = UDim2.new(1, 0, 0, 32) topbar.BackgroundColor3 = Color3.fromRGB(25, 15, 40) topbar.BorderSizePixel = 0 topbar.Parent = main local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -80, 1, 0) title.Position = UDim2.new(0, 10, 0, 0) title.BackgroundTransparency = 1 title.Text = "auto farm" title.TextColor3 = Color3.fromRGB(210, 180, 255) title.Font = Enum.Font.GothamBold title.TextSize = 14 title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = topbar local close = Instance.new("TextButton") close.Size = UDim2.new(0, 40, 1, 0) close.Position = UDim2.new(1, -40, 0, 0) close.Text = "-" close.TextColor3 = Color3.fromRGB(255, 200, 255) close.BackgroundTransparency = 1 close.Font = Enum.Font.GothamBold close.TextSize = 18 close.Parent = topbar local body = Instance.new("Frame") body.Size = UDim2.new(1, 0, 1, -32) body.Position = UDim2.new(0, 0, 0, 32) body.BackgroundTransparency = 1 body.Parent = main local layout = Instance.new("UIListLayout") layout.Padding = UDim.new(0, 6) layout.Parent = body local minimized = false close.MouseButton1Click:Connect(function() minimized = not minimized body.Visible = not minimized main.Size = minimized and UDim2.new(0, 260, 0, 32) or UDim2.new(0, 260, 0, 220) end) local function makeToggle(text, callback) local state = false local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -20, 0, 34) btn.BackgroundColor3 = Color3.fromRGB(30, 20, 50) btn.Text = text .. " : off" btn.TextColor3 = Color3.fromRGB(230, 210, 255) btn.Font = Enum.Font.Gotham btn.TextSize = 13 btn.BorderSizePixel = 0 btn.Parent = body local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 6) c.Parent = btn local s = Instance.new("UIStroke") s.Color = Color3.fromRGB(140, 70, 220) s.Thickness = 1 s.Parent = btn btn.MouseButton1Click:Connect(function() state = not state btn.Text = text .. " : " .. (state and "on" or "off") callback(state) end) end local function makeButton(text, callback) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -20, 0, 34) btn.BackgroundColor3 = Color3.fromRGB(40, 25, 70) btn.Text = text btn.TextColor3 = Color3.fromRGB(230, 210, 255) btn.Font = Enum.Font.Gotham btn.TextSize = 13 btn.BorderSizePixel = 0 btn.Parent = body local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 6) c.Parent = btn local s = Instance.new("UIStroke") s.Color = Color3.fromRGB(180, 90, 255) s.Thickness = 1 s.Parent = btn btn.MouseButton1Click:Connect(callback) end makeToggle("speed spam", function(v) speedSpamEnabled = v end) makeToggle("auto rebirth", function(v) autoRebirthEnabled = v end) makeButton("copy discord", function() if setclipboard then setclipboard("https://discord.gg/TR3quUFgT6") end end) task.spawn(function() while task.wait() do if speedSpamEnabled then pcall(function() addSpeed:FireServer() end) end end end) task.spawn(function() while task.wait(1) do if autoRebirthEnabled then pcall(function() requestRebirth:InvokeServer() end) end end end)