Guest

Untitled 310

Jan 23rd, 2026
75
0
Never
Not a member of gistpad yet? Sign Up, it unlocks many cool features!
None 10.73 KB | None | 0 0
  1. -- 🌵 DUSTY TRIP HUB
  2. -- Compatível com Android e PC
  3. -- UI Própria | Leve | Organizado
  4.  
  5. -- ================= SERVIÇOS =================
  6. local Players = game:GetService("Players")
  7. local RunService = game:GetService("RunService")
  8. local UIS = game:GetService("UserInputService")
  9.  
  10. local player = Players.LocalPlayer
  11. local character = player.Character or player.CharacterAdded:Wait()
  12. local hrp = character:WaitForChild("HumanoidRootPart")
  13.  
  14. player.CharacterAdded:Connect(function(char)
  15. character = char
  16. hrp = char:WaitForChild("HumanoidRootPart")
  17. end)
  18.  
  19. -- ================= FLAGS =================
  20. local flags = {
  21. AutoRepair = false,
  22. InfiniteFuel = false,
  23. AntiBreak = false
  24. }
  25.  
  26. -- ================= UI =================
  27. local gui = Instance.new("ScreenGui", game.CoreGui)
  28. gui.Name = "DustyTripHub"
  29.  
  30. local main = Instance.new("Frame", gui)
  31. main.Size = UDim2.new(0, 420, 0, 300)
  32. main.Position = UDim2.new(0.5, -210, 0.5, -150)
  33. main.BackgroundColor3 = Color3.fromRGB(25,25,25)
  34. main.BorderSizePixel = 0
  35. main.Active = true
  36. main.Draggable = true
  37.  
  38. local title = Instance.new("TextLabel", main)
  39. title.Size = UDim2.new(1,0,0,40)
  40. title.BackgroundColor3 = Color3.fromRGB(40,40,40)
  41. title.Text = "🌵 Dusty Trip Hub"
  42. title.TextColor3 = Color3.new(1,1,1)
  43. title.Font = Enum.Font.GothamBold
  44. title.TextSize = 18
  45.  
  46. -- ================= ABAS =================
  47. local tabs = Instance.new("Frame", main)
  48. tabs.Size = UDim2.new(0,120,1,-40)
  49. tabs.Position = UDim2.new(0,0,0,40)
  50. tabs.BackgroundColor3 = Color3.fromRGB(30,30,30)
  51.  
  52. local pages = Instance.new("Frame", main)
  53. pages.Size = UDim2.new(1,-120,1,-40)
  54. pages.Position = UDim2.new(0,120,0,40)
  55. pages.BackgroundTransparency = 1
  56.  
  57. local function criarPagina()
  58. local page = Instance.new("Frame", pages)
  59. page.Size = UDim2.new(1,0,1,0)
  60. page.Visible = false
  61. page.BackgroundTransparency = 1
  62. return page
  63. end
  64.  
  65. local function criarBotaoTab(nome, page)
  66. local btn = Instance.new("TextButton", tabs)
  67. btn.Size = UDim2.new(1,0,0,40)
  68. btn.BackgroundColor3 = Color3.fromRGB(45,45,45)
  69. btn.Text = nome
  70. btn.TextColor3 = Color3.new(1,1,1)
  71. btn.Font = Enum.Font.Gotham
  72. btn.TextSize = 14
  73.  
  74. btn.MouseButton1Click:Connect(function()
  75. for _,v in pairs(pages:GetChildren()) do
  76. v.Visible = false
  77. end
  78. page.Visible = true
  79. end)
  80. end
  81.  
  82. -- ================= FUNÇÕES UI =================
  83. local function criarToggle(texto, posY, callback, parent)
  84. local btn = Instance.new("TextButton", parent)
  85. btn.Size = UDim2.new(0,220,0,40)
  86. btn.Position = UDim2.new(0,20,0,posY)
  87. btn.BackgroundColor3 = Color3.fromRGB(60,60,60)
  88. btn.Text = texto .. ": OFF"
  89. btn.TextColor3 = Color3.new(1,1,1)
  90. btn.Font = Enum.Font.Gotham
  91. btn.TextSize = 14
  92.  
  93. local ligado = false
  94.  
  95. btn.MouseButton1Click:Connect(function()
  96. ligado = not ligado
  97. btn.Text = texto .. ": " .. (ligado and "ON" or "OFF")
  98. callback(ligado)
  99. end)
  100. end
  101.  
  102. -- ================= PÁGINAS =================
  103. local pageMain = criarPagina()
  104. local pageCar = criarPagina()
  105.  
  106. criarBotaoTab("Principal", pageMain)
  107. criarBotaoTab("Carro", pageCar)
  108.  
  109. pageMain.Visible = true
  110.  
  111. -- ================= FUNÇÕES =================
  112. local function autoRepair()
  113. -- exemplo genérico (depende do jogo)
  114. end
  115.  
  116. local function infiniteFuel()
  117. -- exemplo genérico
  118. end
  119.  
  120. local function antiBreak()
  121. -- exemplo genérico
  122. end
  123.  
  124. -- ================= TOGGLES =================
  125. criarToggle("Auto Repair", 20, function(v)
  126. flags.AutoRepair = v
  127. end, pageCar)
  128.  
  129. criarToggle("Infinite Fuel", 70, function(v)
  130. flags.InfiniteFuel = v
  131. end, pageCar)
  132.  
  133. criarToggle("Anti Break", 120, function(v)
  134. flags.AntiBreak = v
  135. end, pageCar)
  136.  
  137. -- ================= LOOP =================
  138. RunService.Heartbeat:Connect(function()
  139. if flags.AutoRepair then
  140. autoRepair()
  141. end
  142. if flags.InfiniteFuel then
  143. infiniteFuel()
  144. end
  145. if flags.AntiBreak then
  146. antiBreak()
  147. end
  148. end)
RAW Gist Data Copied