-- 🌵 DUSTY TRIP HUB
-- Compatível com Android e PC
-- UI Própria | Leve | Organizado
-- ================= SERVIÇOS =================
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local hrp = character:WaitForChild("HumanoidRootPart")
player.CharacterAdded:Connect(function(char)
character = char
hrp = char:WaitForChild("HumanoidRootPart")
end)
-- ================= FLAGS =================
local flags = {
AutoRepair = false,
InfiniteFuel = false,
AntiBreak = false
}
-- ================= UI =================
local gui = Instance.new("ScreenGui", game.CoreGui)
gui.Name = "DustyTripHub"
local main = Instance.new("Frame", gui)
main.Size = UDim2.new(0, 420, 0, 300)
main.Position = UDim2.new(0.5, -210, 0.5, -150)
main.BackgroundColor3 = Color3.fromRGB(25,25,25)
main.BorderSizePixel = 0
main.Active = true
main.Draggable = true
local title = Instance.new("TextLabel", main)
title.Size = UDim2.new(1,0,0,40)
title.BackgroundColor3 = Color3.fromRGB(40,40,40)
title.Text = "🌵 Dusty Trip Hub"
title.TextColor3 = Color3.new(1,1,1)
title.Font = Enum.Font.GothamBold
title.TextSize = 18
-- ================= ABAS =================
local tabs = Instance.new("Frame", main)
tabs.Size = UDim2.new(0,120,1,-40)
tabs.Position = UDim2.new(0,0,0,40)
tabs.BackgroundColor3 = Color3.fromRGB(30,30,30)
local pages = Instance.new("Frame", main)
pages.Size = UDim2.new(1,-120,1,-40)
pages.Position = UDim2.new(0,120,0,40)
pages.BackgroundTransparency = 1
local function criarPagina()
local page = Instance.new("Frame", pages)
page.Size = UDim2.new(1,0,1,0)
page.Visible = false
page.BackgroundTransparency = 1
return page
end
local function criarBotaoTab(nome, page)
local btn = Instance.new("TextButton", tabs)
btn.Size = UDim2.new(1,0,0,40)
btn.BackgroundColor3 = Color3.fromRGB(45,45,45)
btn.Text = nome
btn.TextColor3 = Color3.new(1,1,1)
btn.Font = Enum.Font.Gotham
btn.TextSize = 14
btn.MouseButton1Click:Connect(function()
for _,v in pairs(pages:GetChildren()) do
v.Visible = false
end
page.Visible = true
end)
end
-- ================= FUNÇÕES UI =================
local function criarToggle(texto, posY, callback, parent)
local btn = Instance.new("TextButton", parent)
btn.Size = UDim2.new(0,220,0,40)
btn.Position = UDim2.new(0,20,0,posY)
btn.BackgroundColor3 = Color3.fromRGB(60,60,60)
btn.Text = texto .. ": OFF"
btn.TextColor3 = Color3.new(1,1,1)
btn.Font = Enum.Font.Gotham
btn.TextSize = 14
local ligado = false
btn.MouseButton1Click:Connect(function()
ligado = not ligado
btn.Text = texto .. ": " .. (ligado and "ON" or "OFF")
callback(ligado)
end)
end
-- ================= PÁGINAS =================
local pageMain = criarPagina()
local pageCar = criarPagina()
criarBotaoTab("Principal", pageMain)
criarBotaoTab("Carro", pageCar)
pageMain.Visible = true
-- ================= FUNÇÕES =================
local function autoRepair()
-- exemplo genérico (depende do jogo)
end
local function infiniteFuel()
-- exemplo genérico
end
local function antiBreak()
-- exemplo genérico
end
-- ================= TOGGLES =================
criarToggle("Auto Repair", 20, function(v)
flags.AutoRepair = v
end, pageCar)
criarToggle("Infinite Fuel", 70, function(v)
flags.InfiniteFuel = v
end, pageCar)
criarToggle("Anti Break", 120, function(v)
flags.AntiBreak = v
end, pageCar)
-- ================= LOOP =================
RunService.Heartbeat:Connect(function()
if flags.AutoRepair then
autoRepair()
end
if flags.InfiniteFuel then
infiniteFuel()
end
if flags.AntiBreak then
antiBreak()
end
end)