local ScreenGui = Instance.new("ScreenGui")
local MainFrame = Instance.new("Frame")
local CloseButton = Instance.new("TextButton")
local TopBar = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local InfernoButton = Instance.new("TextButton")
local MaxResourcesButton = Instance.new("TextButton")
local UnlockRecipesButton = Instance.new("TextButton")
local InfiniteMoneyButton = Instance.new("TextButton")
local SpeedSlider = Instance.new("TextButton")
-- UI Setup
ScreenGui.Parent = game:FindFirstChildOfClass("PlayerGui")
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
MainFrame.Size = UDim2.new(0, 300, 0, 400)
MainFrame.Position = UDim2.new(0.5, -150, 0.5, -200)
MainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
MainFrame.Parent = ScreenGui
CloseButton.Size = UDim2.new(0, 30, 0, 30)
CloseButton.Position = UDim2.new(1, -35, 0, 5)
CloseButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
CloseButton.Text = "X"
CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseButton.Parent = MainFrame
CloseButton.MouseButton1Click:Connect(function()
ScreenGui:Destroy()
end)
TopBar.Size = UDim2.new(1, 0, 0, 40)
TopBar.Position = UDim2.new(0, 0, 0, 0)
TopBar.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
TopBar.Parent = MainFrame
Title.Size = UDim2.new(1, -10, 1, 0)
Title.Position = UDim2.new(0, 5, 0, 0)
Title.BackgroundTransparency = 1
Title.Text = "My Restaurant Cheat"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextSize = 20
Title.Parent = TopBar
InfernoButton.Size = UDim2.new(1, -10, 0, 40)
InfernoButton.Position = UDim2.new(0, 5, 0, 50)
InfernoButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
InfernoButton.Text = "Only Inferno Customers"
InfernoButton.TextColor3 = Color3.fromRGB(255, 255, 255)
InfernoButton.Parent = MainFrame
InfernoButton.MouseButton1Click:Connect(function()
-- Insert code to filter customers to only Inferno
end)
MaxResourcesButton.Size = UDim2.new(1, -10, 0, 40)
MaxResourcesButton.Position = UDim2.new(0, 5, 0, 100)
MaxResourcesButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
MaxResourcesButton.Text = "Max Resources"
MaxResourcesButton.TextColor3 = Color3.fromRGB(255, 255, 255)
MaxResourcesButton.Parent = MainFrame
MaxResourcesButton.MouseButton1Click:Connect(function()
-- Insert code to max out all resources
end)
UnlockRecipesButton.Size = UDim2.new(1, -10, 0, 40)
UnlockRecipesButton.Position = UDim2.new(0, 5, 0, 150)
UnlockRecipesButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
UnlockRecipesButton.Text = "Unlock All Recipes"
UnlockRecipesButton.TextColor3 = Color3.fromRGB(255, 255, 255)
UnlockRecipesButton.Parent = MainFrame
UnlockRecipesButton.MouseButton1Click:Connect(function()
-- Insert code to unlock all recipes
end)
InfiniteMoneyButton.Size = UDim2.new(1, -10, 0, 40)
InfiniteMoneyButton.Position = UDim2.new(0, 5, 0, 200)
InfiniteMoneyButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
InfiniteMoneyButton.Text = "Infinite Money"
InfiniteMoneyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
InfiniteMoneyButton.Parent = MainFrame
InfiniteMoneyButton.MouseButton1Click:Connect(function()
-- Insert code to enable infinite money
end)
SpeedSlider.Size = UDim2.new(1, -10, 0, 40)
SpeedSlider.Position = UDim2.new(0, 5, 0, 250)
SpeedSlider.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
SpeedSlider.Text = "Game Speed: 1x"
SpeedSlider.TextColor3 = Color3.fromRGB(255, 255, 255)
SpeedSlider.Parent = MainFrame
SpeedSlider.MouseButton1Click:Connect(function()
-- Insert code to change game speed
end)
-- Example of adding branding to Tweak26 by ScriptBench
local Branding = Instance.new("TextLabel")
Branding.Size = UDim2.new(1, -10, 0, 30)
Branding.Position = UDim2.new(0, 5, 1, -35)
Branding.BackgroundTransparency = 1
Branding.Text = "Tweak26 by ScriptBench"
Branding.TextColor3 = Color3.fromRGB(255, 255, 255)
Branding.TextSize = 14
Branding.Parent = MainFrame