--// ⚡ GUI SETUP local player = game.Players.LocalPlayer local gui = Instance.new("ScreenGui") gui.Parent = player:WaitForChild("PlayerGui") local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 250, 0, 400) frame.Position = UDim2.new(0.05, 0, 0.3, 0) frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) frame.Active = true frame.Draggable = true frame.Parent = gui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 10) corner.Parent = frame local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 35) title.BackgroundTransparency = 1 title.Text = "💥 Script Menu" title.TextColor3 = Color3.new(1, 1, 1) title.Font = Enum.Font.SourceSansBold title.TextSize = 22 title.Parent = frame --// 🧰 HELPER FUNCTION TO CREATE TOGGLE BUTTONS local buttonHeight = 40 local spacing = 5 local yOffset = 40 local function createToggleButton(name, callback) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -20, 0, buttonHeight) btn.Position = UDim2.new(0, 10, 0, yOffset) yOffset = yOffset + buttonHeight + spacing btn.BackgroundColor3 = Color3.fromRGB(60, 60, 60) btn.TextColor3 = Color3.new(1, 1, 1) btn.Text = name .. " [OFF]" btn.Font = Enum.Font.SourceSansBold btn.TextSize = 18 btn.Parent = frame local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim.new(0, 8) btnCorner.Parent = btn local active = false btn.MouseButton1Click:Connect(function() active = not active btn.Text = name .. (active and " [ON]" or " [OFF]") callback(active) end) end --// 🕹 TOGGLE STATES local autoTap = false local giveCard = false local tapCupcake = false local luckyCake = false local gemCake = false local starCake = false local autoBoba = false --// ⏳ BACKGROUND LOOPS task.spawn(function() while true do if autoTap then game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Tap"):FireServer() end task.wait(0.1) end end) task.spawn(function() while true do if giveCard then local args = {"Angel Miku 3", -10} game:GetService("ReplicatedStorage").Events.BuyEssenceCard:FireServer(unpack(args)) end task.wait(0.1) end end) task.spawn(function() while true do if tapCupcake then local args = {"Tap Cupcake", -100, "Gems"} game:GetService("ReplicatedStorage").Events.GiveCafeItem:FireServer(unpack(args)) end task.wait(0.1) end end) task.spawn(function() while true do if luckyCake then local args = {"Lucky Cake", -100, "Gems"} game:GetService("ReplicatedStorage").Events.GiveCafeItem:FireServer(unpack(args)) end task.wait(0.1) end end) task.spawn(function() while true do if gemCake then local args = {"Gem Cake", -100, "Coins"} game:GetService("ReplicatedStorage").Events.GiveCafeItem:FireServer(unpack(args)) end task.wait(0.1) end end) task.spawn(function() while true do if starCake then local args = {"Star Cake", -100, "Gems"} game:GetService("ReplicatedStorage").Events.GiveCafeItem:FireServer(unpack(args)) end task.wait(0.1) end end) task.spawn(function() while true do if autoBoba then local args = {"Auto Sell Boba Tea", -100, "Gems"} game:GetService("ReplicatedStorage").Events.GiveCafeItem:FireServer(unpack(args)) end task.wait(0.1) end end) --// 🟢 BUTTONS TO CONTROL TOGGLES createToggleButton("Auto Click", function(state) autoTap = state end) createToggleButton("Give Best Card", function(state) giveCard = state end) createToggleButton("Tap Cupcake", function(state) tapCupcake = state end) createToggleButton("Lucky Cake", function(state) luckyCake = state end) createToggleButton("Gem Cake", function(state) gemCake = state end) createToggleButton("Star Cake", function(state) starCake = state end) createToggleButton("Auto Boba", function(state) autoBoba = state end) --// Optional: Hide/show GUI with RightShift local UIS = game:GetService("UserInputService") UIS.InputBegan:Connect(function(input, gpe) if not gpe and input.KeyCode == Enum.KeyCode.RightShift then frame.Visible = not frame.Visible end end)