Advertisement
gmodzofc

Untitled

Jul 8th, 2025 (edited)
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 22.84 KB | None | 0 0
  1. -- Parte 1
  2.  
  3. local Players = game:GetService("Players")
  4. local RunService = game:GetService("RunService")
  5. local UIS = game:GetService("UserInputService")
  6.  
  7. local plr = Players.LocalPlayer
  8. local cam = workspace.CurrentCamera
  9.  
  10. local function getChar()
  11.     return plr.Character or plr.CharacterAdded:Wait()
  12. end
  13.  
  14. local function getHRP()
  15.     return getChar():WaitForChild("HumanoidRootPart")
  16. end
  17.  
  18. local function getHum()
  19.     return getChar():FindFirstChildWhichIsA("Humanoid")
  20. end
  21.  
  22. -- GUI Principal
  23. local gui = Instance.new("ScreenGui")
  24. gui.Name = "GiovannyMenu"
  25. gui.Parent = game.CoreGui
  26. gui.ResetOnSpawn = false
  27.  
  28. local main = Instance.new("Frame", gui)
  29. main.Size = UDim2.new(0, 320, 0, 420)
  30. main.Position = UDim2.new(0.35, 0, 0.3, 0)
  31. main.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
  32. main.BorderSizePixel = 0
  33. main.Active = true
  34. main.Draggable = true
  35. Instance.new("UICorner", main)
  36.  
  37. -- Título Colorido (com RichText, colorido todo de uma vez)
  38. local title = Instance.new("TextLabel", main)
  39. title.Size = UDim2.new(1, 0, 0, 40)
  40. title.Position = UDim2.new(0,0,0,0)
  41. title.BackgroundTransparency = 1
  42. title.RichText = true
  43. title.Text = '<b><font color="#00FFFF">GIOVANNY MENU</font></b>'
  44. title.Font = Enum.Font.GothamBold
  45. title.TextSize = 22
  46. title.TextStrokeTransparency = 0.7
  47.  
  48. -- Botão "X" fininho no canto direito superior para minimizar
  49. local btnClose = Instance.new("TextButton", main)
  50. btnClose.Size = UDim2.new(0, 25, 0, 25)
  51. btnClose.Position = UDim2.new(1, -30, 0, 5)
  52. btnClose.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  53. btnClose.Text = "✕"
  54. btnClose.Font = Enum.Font.GothamBold
  55. btnClose.TextSize = 22
  56. btnClose.TextColor3 = Color3.fromRGB(255, 80, 80)
  57. btnClose.BorderSizePixel = 0
  58. Instance.new("UICorner", btnClose)
  59.  
  60. btnClose.MouseButton1Click:Connect(function()
  61.     main.Visible = false
  62.     floatBall.Visible = true
  63. end)
  64.  
  65. -- Bola flutuante para restaurar o menu (inicialmente escondida)
  66. local floatBall = Instance.new("TextButton", gui)
  67. floatBall.Size = UDim2.new(0, 40, 0, 40)
  68. floatBall.Position = UDim2.new(0, 10, 0.5, 0)
  69. floatBall.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  70. floatBall.TextColor3 = Color3.fromRGB(255, 255, 255)
  71. floatBall.Font = Enum.Font.GothamBold
  72. floatBall.TextSize = 24
  73. floatBall.Text = "G"
  74. floatBall.Visible = false
  75. Instance.new("UICorner", floatBall)
  76.  
  77. floatBall.MouseButton1Click:Connect(function()
  78.     main.Visible = true
  79.     floatBall.Visible = false
  80. end)
  81.  
  82. -- Scroll com funções
  83. local scroll = Instance.new("ScrollingFrame", main)
  84. scroll.Size = UDim2.new(1, -20, 1, -60)
  85. scroll.Position = UDim2.new(0, 10, 0, 45)
  86. scroll.CanvasSize = UDim2.new(0, 0, 0, 700)
  87. scroll.ScrollBarThickness = 6
  88. scroll.BackgroundTransparency = 1
  89. Instance.new("UICorner", scroll)
  90.  
  91. local layout = Instance.new("UIListLayout", scroll)
  92. layout.SortOrder = Enum.SortOrder.LayoutOrder
  93. layout.Padding = UDim.new(0, 7)
  94.  
  95. -- Função auxiliar para criar switches
  96. local function createSwitch(text, initial, callback)
  97.     local frame = Instance.new("Frame", scroll)
  98.     frame.Size = UDim2.new(1, 0, 0, 35)
  99.     frame.BackgroundTransparency = 1
  100.  
  101.     local label = Instance.new("TextLabel", frame)
  102.     label.Text = text
  103.     label.Font = Enum.Font.Gotham
  104.     label.TextSize = 16
  105.     label.TextColor3 = Color3.fromRGB(255,255,255)
  106.     label.BackgroundTransparency = 1
  107.     label.Position = UDim2.new(0, 5, 0, 5)
  108.     label.Size = UDim2.new(0.75, 0, 1, 0)
  109.     label.TextXAlignment = Enum.TextXAlignment.Left
  110.  
  111.     local toggle = Instance.new("TextButton", frame)
  112.     toggle.Size = UDim2.new(0, 50, 0, 30)
  113.     toggle.Position = UDim2.new(1, -55, 0, 3)
  114.     toggle.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  115.     toggle.TextColor3 = Color3.fromRGB(255, 255, 255)
  116.     toggle.Font = Enum.Font.GothamBold
  117.     toggle.TextSize = 16
  118.     toggle.Text = initial and "ON" or "OFF"
  119.     toggle.Name = "Toggle"
  120.     toggle.BorderSizePixel = 0
  121.     Instance.new("UICorner", toggle)
  122.  
  123.     local isOn = initial
  124.  
  125.     local function updateVisual()
  126.         if isOn then
  127.             toggle.Text = "ON"
  128.             toggle.BackgroundColor3 = Color3.fromRGB(0, 180, 0)
  129.         else
  130.             toggle.Text = "OFF"
  131.             toggle.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  132.         end
  133.     end
  134.     updateVisual()
  135.  
  136.     toggle.MouseButton1Click:Connect(function()
  137.         isOn = not isOn
  138.         updateVisual()
  139.         callback(isOn)
  140.     end)
  141.  
  142.     return {
  143.         frame = frame,
  144.         get = function() return isOn end,
  145.         set = function(state)
  146.             isOn = state
  147.             updateVisual()
  148.             callback(isOn)
  149.         end,
  150.     }
  151. end
  152.  
  153. -- Estado das funções
  154. local switches = {}
  155.  
  156. -- Variáveis para armazenar conexões para desconectar depois
  157. local connections = {}
  158.  
  159. -- Função para limpar conexões
  160. local function disconnectConnection(conn)
  161.     if conn then
  162.         conn:Disconnect()
  163.     end
  164. end
  165.  
  166. -- ESP Players (cor vermelha, corpo marcado, nome e distância)
  167. function createESPPlayer(plrTarget, cor, textSize)
  168.     if not plrTarget.Character or not plrTarget.Character:FindFirstChild("HumanoidRootPart") then return end
  169.     local hrp = plrTarget.Character.HumanoidRootPart
  170.  
  171.     if hrp:FindFirstChild("ESP_Body") then return end
  172.  
  173.     -- Corpo com Adornments para marcar
  174.     for _, part in pairs(plrTarget.Character:GetChildren()) do
  175.         if part:IsA("BasePart") then
  176.             local box = Instance.new("BoxHandleAdornment")
  177.             box.Name = "ESP_Body"
  178.             box.Adornee = part
  179.             box.AlwaysOnTop = true
  180.             box.ZIndex = 10
  181.             box.Size = part.Size
  182.             box.Transparency = 0.6
  183.             box.Color3 = cor
  184.             box.Parent = part
  185.         end
  186.     end
  187.  
  188.     -- Nome e distância em BillboardGui
  189.     local billboard = Instance.new("BillboardGui", hrp)
  190.     billboard.Name = "ESP_NameDist"
  191.     billboard.Size = UDim2.new(0, 150, 0, 30)
  192.     billboard.AlwaysOnTop = true
  193.     billboard.StudsOffset = Vector3.new(0, 3, 0)
  194.     billboard.ZIndex = 20
  195.  
  196.     local label = Instance.new("TextLabel", billboard)
  197.     label.Size = UDim2.new(1, 0, 1, 0)
  198.     label.BackgroundTransparency = 1
  199.     label.Font = Enum.Font.GothamBold
  200.     label.TextColor3 = cor
  201.     label.TextStrokeColor3 = Color3.new(0,0,0)
  202.     label.TextStrokeTransparency = 0.5
  203.     label.TextScaled = false
  204.     label.TextSize = textSize or 14
  205.     label.Text = plrTarget.Name .. " [0m]"
  206.  
  207.     -- Atualizar distância em RunService
  208.     local conn
  209.     conn = RunService.RenderStepped:Connect(function()
  210.         if plrTarget.Character and plrTarget.Character:FindFirstChild("HumanoidRootPart") and getHRP() then
  211.             local dist = math.floor((plrTarget.Character.HumanoidRootPart.Position - getHRP().Position).Magnitude)
  212.             label.Text = plrTarget.Name .. " [" .. dist .. "m]"
  213.         else
  214.             disconnectConnection(conn)
  215.         end
  216.     end)
  217.     return conn
  218. end
  219.  
  220. -- Remove ESP de um player
  221. function removeESPPlayer(plrTarget)
  222.     if not plrTarget.Character then return end
  223.     for _, part in pairs(plrTarget.Character:GetChildren()) do
  224.         if part:IsA("BasePart") then
  225.             local esp = part:FindFirstChild("ESP_Body")
  226.             if esp then esp:Destroy() end
  227.         end
  228.     end
  229.     local hrp = plrTarget.Character:FindFirstChild("HumanoidRootPart")
  230.     if hrp then
  231.         local gui = hrp:FindFirstChild("ESP_NameDist")
  232.         if gui then gui:Destroy() end
  233.     end
  234. end
  235.  
  236. -- Parte 2
  237.  
  238. -- Estado para armazenar conexões e valores
  239. local espConnections = {}
  240. local espColor = Color3.new(1, 0, 0) -- vermelho padrão
  241. local espTextSize = 14
  242.  
  243. -- Função para limpar todas conexões ESP
  244. local function clearAllESP()
  245.     for p, conn in pairs(espConnections) do
  246.         disconnectConnection(conn)
  247.         espConnections[p] = nil
  248.         removeESPPlayer(p)
  249.     end
  250. end
  251.  
  252. -- ESP Players Switch
  253. switches.espPlayers = createSwitch("👁️ ESP Players", false, function(state)
  254.     if state then
  255.         for _, p in pairs(Players:GetPlayers()) do
  256.             if p ~= plr then
  257.                 local conn = createESPPlayer(p, espColor, espTextSize)
  258.                 if conn then
  259.                     espConnections[p] = conn
  260.                 end
  261.             end
  262.         end
  263.         -- Atualizar para novos jogadores que entrarem
  264.         connections.espAddedConn = Players.PlayerAdded:Connect(function(p)
  265.             if switches.espPlayers.get() then
  266.                 local conn = createESPPlayer(p, espColor, espTextSize)
  267.                 if conn then espConnections[p] = conn end
  268.             end
  269.         end)
  270.         -- Remover ESP ao sair
  271.         connections.espRemovingConn = Players.PlayerRemoving:Connect(function(p)
  272.             if espConnections[p] then
  273.                 disconnectConnection(espConnections[p])
  274.                 espConnections[p] = nil
  275.             end
  276.             removeESPPlayer(p)
  277.         end)
  278.     else
  279.         clearAllESP()
  280.         disconnectConnection(connections.espAddedConn)
  281.         disconnectConnection(connections.espRemovingConn)
  282.     end
  283. end)
  284.  
  285. -- ESP Cash (verde, nome + valor em cash)
  286. local function createESPCash(p)
  287.     if not p.Character or not p.Character:FindFirstChild("Head") then return end
  288.     if p.Character.Head:FindFirstChild("ESP_CashGui") then return end
  289.     local cashGui = Instance.new("BillboardGui", p.Character.Head)
  290.     cashGui.Name = "ESP_CashGui"
  291.     cashGui.Size = UDim2.new(0, 150, 0, 30)
  292.     cashGui.StudsOffset = Vector3.new(0, 3.5, 0)
  293.     cashGui.AlwaysOnTop = true
  294.     cashGui.ZIndex = 20
  295.  
  296.     local label = Instance.new("TextLabel", cashGui)
  297.     label.Size = UDim2.new(1, 0, 1, 0)
  298.     label.BackgroundTransparency = 1
  299.     label.Font = Enum.Font.GothamBold
  300.     label.TextColor3 = Color3.new(0, 1, 0)
  301.     label.TextStrokeColor3 = Color3.new(0,0,0)
  302.     label.TextStrokeTransparency = 0.5
  303.     label.TextScaled = false
  304.     label.TextSize = espTextSize
  305.     label.Text = p.Name .. " 💰 $0"
  306.  
  307.     local conn
  308.     conn = RunService.RenderStepped:Connect(function()
  309.         if p.Character and p.Character:FindFirstChild("Head") and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  310.             local leaderstats = p:FindFirstChild("leaderstats")
  311.             local cash = "0"
  312.             if leaderstats and leaderstats:FindFirstChild("Cash") then
  313.                 cash = tostring(leaderstats.Cash.Value)
  314.             end
  315.             label.Text = p.Name .. " 💰 $" .. cash
  316.         else
  317.             disconnectConnection(conn)
  318.         end
  319.     end)
  320.     return conn
  321. end
  322.  
  323. local espCashConnections = {}
  324.  
  325. switches.espCash = createSwitch("💰 ESP Cash", false, function(state)
  326.     if state then
  327.         for _, p in pairs(Players:GetPlayers()) do
  328.             if p ~= plr then
  329.                 local conn = createESPCash(p)
  330.                 if conn then
  331.                     espCashConnections[p] = conn
  332.                 end
  333.             end
  334.         end
  335.         connections.espCashAddConn = Players.PlayerAdded:Connect(function(p)
  336.             if switches.espCash.get() then
  337.                 local conn = createESPCash(p)
  338.                 if conn then espCashConnections[p] = conn end
  339.             end
  340.         end)
  341.         connections.espCashRemConn = Players.PlayerRemoving:Connect(function(p)
  342.             if espCashConnections[p] then
  343.                 disconnectConnection(espCashConnections[p])
  344.                 espCashConnections[p] = nil
  345.             end
  346.             if p.Character and p.Character:FindFirstChild("Head") then
  347.                 local gui = p.Character.Head:FindFirstChild("ESP_CashGui")
  348.                 if gui then gui:Destroy() end
  349.             end
  350.         end)
  351.     else
  352.         for p, conn in pairs(espCashConnections) do
  353.             disconnectConnection(conn)
  354.             if p.Character and p.Character:FindFirstChild("Head") then
  355.                 local gui = p.Character.Head:FindFirstChild("ESP_CashGui")
  356.                 if gui then gui:Destroy() end
  357.             end
  358.         end
  359.         espCashConnections = {}
  360.         disconnectConnection(connections.espCashAddConn)
  361.         disconnectConnection(connections.espCashRemConn)
  362.     end
  363. end)
  364.  
  365. -- BrainRot Sinal
  366. local brainrotWarns = {}
  367.  
  368. local function createBrainRotAlert(brainrot)
  369.     if not brainrot:FindFirstChild("Head") then return end
  370.     if brainrot.Head:FindFirstChild("BrainRotAlert") then return end
  371.     local alertGui = Instance.new("BillboardGui", brainrot.Head)
  372.     alertGui.Name = "BrainRotAlert"
  373.     alertGui.Size = UDim2.new(0, 150, 0, 30)
  374.     alertGui.AlwaysOnTop = true
  375.     alertGui.StudsOffset = Vector3.new(0, 3, 0)
  376.  
  377.     local label = Instance.new("TextLabel", alertGui)
  378.     label.Size = UDim2.new(1, 0, 1, 0)
  379.     label.BackgroundTransparency = 1
  380.     label.TextColor3 = Color3.new(1, 0, 0)
  381.     label.Font = Enum.Font.GothamBold
  382.     label.TextStrokeColor3 = Color3.new(0,0,0)
  383.     label.TextStrokeTransparency = 0.5
  384.     label.TextScaled = true
  385.     label.Text = "⚠️ " .. brainrot.Name
  386. end
  387.  
  388. local function clearBrainRotAlerts()
  389.     for _, brainrot in pairs(workspace:GetChildren()) do
  390.         if brainrot:IsA("Model") and brainrot.Name:match("BrainRot") then
  391.             if brainrot:FindFirstChild("Head") and brainrot.Head:FindFirstChild("BrainRotAlert") then
  392.                 brainrot.Head.BrainRotAlert:Destroy()
  393.             end
  394.         end
  395.     end
  396. end
  397.  
  398. switches.brainRotSignal = createSwitch("⚠️ BrainRot Sinal", false, function(state)
  399.     if state then
  400.         connections.brainRotConn = RunService.Heartbeat:Connect(function()
  401.             for _, obj in pairs(workspace:GetChildren()) do
  402.                 if obj:IsA("Model") and obj.Name:match("BrainRot") then
  403.                     if obj:FindFirstChild("Head") and not obj.Head:FindFirstChild("BrainRotAlert") then
  404.                         createBrainRotAlert(obj)
  405.                     end
  406.                 end
  407.             end
  408.         end)
  409.     else
  410.         disconnectConnection(connections.brainRotConn)
  411.         clearBrainRotAlerts()
  412.     end
  413. end)
  414.  
  415. -- AutoHit (teleguiado no player mais próximo ao clicar)
  416. switches.autoHit = createSwitch("🧲 AutoHit Player", false, function(state)
  417.     if state then
  418.         connections.autoHitConn = UIS.InputBegan:Connect(function(input)
  419.             if input.UserInputType == Enum.UserInputType.MouseButton1 then
  420.                 local closestPlayer = nil
  421.                 local closestDist = math.huge
  422.                 for _, p in pairs(Players:GetPlayers()) do
  423.                     if p ~= plr and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
  424.                         local dist = (p.Character.HumanoidRootPart.Position - getHRP().Position).Magnitude
  425.                         if dist < closestDist then
  426.                             closestDist = dist
  427.                             closestPlayer = p
  428.                         end
  429.                     end
  430.                 end
  431.                 if closestPlayer and closestPlayer.Character and closestPlayer.Character:FindFirstChild("HumanoidRootPart") then
  432.                     getHRP().CFrame = closestPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -3)
  433.                 end
  434.             end
  435.         end)
  436.     else
  437.         disconnectConnection(connections.autoHitConn)
  438.     end
  439. end)
  440.  
  441. -- NoClip
  442. switches.noClip = createSwitch("🔓 NoClip", false, function(state)
  443.     if state then
  444.         connections.noClipConn = RunService.Stepped:Connect(function()
  445.             for _, part in pairs(getChar():GetDescendants()) do
  446.                 if part:IsA("BasePart") then
  447.                     part.CanCollide = false
  448.                 end
  449.             end
  450.         end)
  451.     else
  452.         disconnectConnection(connections.noClipConn)
  453.         for _, part in pairs(getChar():GetDescendants()) do
  454.             if part:IsA("BasePart") then
  455.                 part.CanCollide = true
  456.             end
  457.         end
  458.     end
  459. end)
  460.  
  461. -- Speed hack (2x velocidade)
  462. switches.speed = createSwitch("⚡ Speed (2x)", false, function(state)
  463.     local hum = getHum()
  464.     if hum then
  465.         hum.WalkSpeed = state and 32 or 16 -- padrão 16, 2x=32
  466.     end
  467. end)
  468.  
  469. -- Jump hack (2x pulo)
  470. switches.jump = createSwitch("⬆️ Jump (2x)", false, function(state)
  471.     local hum = getHum()
  472.     if hum then
  473.         hum.JumpPower = state and 100 or 50 -- padrão 50, 2x=100
  474.     end
  475. end)
  476.  
  477. -- Parte 3
  478.  
  479. -- Função para criar slider simples (0 a 10 posições)
  480. local function createSlider(parent, labelText, min, max, default, onChange)
  481.     local container = Instance.new("Frame", parent)
  482.     container.Size = UDim2.new(1, 0, 0, 50)
  483.     container.BackgroundTransparency = 1
  484.  
  485.     local label = Instance.new("TextLabel", container)
  486.     label.Size = UDim2.new(1, 0, 0, 20)
  487.     label.BackgroundTransparency = 1
  488.     label.Text = labelText
  489.     label.Font = Enum.Font.GothamBold
  490.     label.TextSize = 14
  491.     label.TextColor3 = Color3.new(1,1,1)
  492.  
  493.     local sliderFrame = Instance.new("Frame", container)
  494.     sliderFrame.Position = UDim2.new(0, 0, 0, 25)
  495.     sliderFrame.Size = UDim2.new(1, 0, 0, 15)
  496.     sliderFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  497.     sliderFrame.ClipsDescendants = true
  498.     sliderFrame.Active = true
  499.  
  500.     local sliderButton = Instance.new("ImageButton", sliderFrame)
  501.     sliderButton.Size = UDim2.new(0, 20, 1, 0)
  502.     sliderButton.Position = UDim2.new((default - min) / (max - min), 0, 0, 0)
  503.     sliderButton.BackgroundColor3 = Color3.fromRGB(180, 180, 180)
  504.     sliderButton.AutoButtonColor = false
  505.     sliderButton.Image = ""
  506.  
  507.     local dragging = false
  508.     sliderButton.MouseButton1Down:Connect(function()
  509.         dragging = true
  510.     end)
  511.     UIS.InputEnded:Connect(function(input)
  512.         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  513.             dragging = false
  514.         end
  515.     end)
  516.     UIS.InputChanged:Connect(function(input)
  517.         if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then
  518.             local x = math.clamp(input.Position.X - sliderFrame.AbsolutePosition.X, 0, sliderFrame.AbsoluteSize.X)
  519.             sliderButton.Position = UDim2.new(0, x, 0, 0)
  520.             local value = math.floor(min + (x / sliderFrame.AbsoluteSize.X) * (max - min))
  521.             sliderButton.Position = UDim2.new((value - min) / (max - min), 0, 0, 0)
  522.             if onChange then onChange(value) end
  523.         end
  524.     end)
  525.     return container
  526. end
  527.  
  528. -- Cores fixas para o ESP e Crosshair
  529. local colors = {
  530.     Color3.fromRGB(255, 0, 0),     -- vermelho
  531.     Color3.fromRGB(0, 255, 0),     -- verde
  532.     Color3.fromRGB(0, 0, 255),     -- azul
  533.     Color3.fromRGB(255, 255, 0),   -- amarelo
  534.     Color3.fromRGB(255, 0, 255),   -- magenta
  535.     Color3.fromRGB(0, 255, 255),   -- ciano
  536.     Color3.fromRGB(255, 165, 0),   -- laranja
  537.     Color3.fromRGB(128, 0, 128),   -- roxo
  538.     Color3.fromRGB(255, 192, 203), -- rosa
  539.     Color3.fromRGB(255, 255, 255), -- branco
  540. }
  541.  
  542. -- Slider para cor do ESP (embaixo do botão ESP Players)
  543. local sliderColorESP = createSlider(scroll, "Cor do ESP", 1, 10, 1, function(value)
  544.     espColor = colors[value]
  545.     -- Atualiza a cor de todos ESP ativos
  546.     for p, conn in pairs(espConnections) do
  547.         if p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
  548.             local box = p.Character.HumanoidRootPart:FindFirstChild("ESP")
  549.             if box then
  550.                 box.Color3 = espColor
  551.             end
  552.             local labelGui = p.Character.HumanoidRootPart:FindFirstChild("ESP_GUI")
  553.             if labelGui then
  554.                 local label = labelGui:FindFirstChildOfClass("TextLabel")
  555.                 if label then
  556.                     label.TextColor3 = espColor
  557.                 end
  558.             end
  559.         end
  560.     end
  561. end)
  562.  
  563. -- Slider para tamanho do texto ESP
  564. local sliderSizeESP = createSlider(scroll, "Tamanho do ESP", 8, 24, espTextSize, function(value)
  565.     espTextSize = value
  566.     for p, conn in pairs(espConnections) do
  567.         if p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
  568.             local labelGui = p.Character.HumanoidRootPart:FindFirstChild("ESP_GUI")
  569.             if labelGui then
  570.                 local label = labelGui:FindFirstChildOfClass("TextLabel")
  571.                 if label then
  572.                     label.TextSize = espTextSize
  573.                 end
  574.             end
  575.         end
  576.     end
  577.     -- Atualiza também o ESP Cash, caso ativo
  578.     for _, p in pairs(Players:GetPlayers()) do
  579.         if p.Character and p.Character:FindFirstChild("Head") then
  580.             local gui = p.Character.Head:FindFirstChild("ESP_CashGui")
  581.             if gui then
  582.                 local label = gui:FindFirstChildOfClass("TextLabel")
  583.                 if label then
  584.                     label.TextSize = espTextSize
  585.                 end
  586.             end
  587.         end
  588.     end
  589. end)
  590.  
  591. -- Crosshair switch com slider de cor e tamanho
  592. switches.crosshair = createSwitch("🎯 Crosshair", false, function(state)
  593.     if state then
  594.         if not crosshair then
  595.             crosshair = Instance.new("Frame", gui)
  596.             crosshair.Name = "Crosshair"
  597.             crosshair.BackgroundColor3 = espColor
  598.             crosshair.Size = UDim2.new(0, sliderCrosshairSize or 10, 0, 2)
  599.             crosshair.AnchorPoint = Vector2.new(0.5, 0.5)
  600.             crosshair.Position = UDim2.new(0.5, 0, 0.5, 0)
  601.             crosshair.ZIndex = 9999
  602.         end
  603.     else
  604.         if crosshair then
  605.             crosshair:Destroy()
  606.             crosshair = nil
  607.         end
  608.     end
  609. end)
  610.  
  611. local sliderCrosshairSize = 10
  612. local sliderCrosshairColor = espColor
  613.  
  614. -- Slider para cor do Crosshair
  615. local sliderColorCrosshair = createSlider(scroll, "Cor do Crosshair", 1, 10, 1, function(value)
  616.     sliderCrosshairColor = colors[value]
  617.     if crosshair then
  618.         crosshair.BackgroundColor3 = sliderCrosshairColor
  619.     end
  620. end)
  621.  
  622. -- Slider para tamanho do Crosshair
  623. local sliderSizeCrosshair = createSlider(scroll, "Tamanho do Crosshair", 2, 20, sliderCrosshairSize, function(value)
  624.     sliderCrosshairSize = value
  625.     if crosshair then
  626.         crosshair.Size = UDim2.new(0, sliderCrosshairSize, 0, 2)
  627.     end
  628. end)
  629.  
  630. -- Botão X fininho no canto para minimizar menu
  631. local closeButton = Instance.new("TextButton", main)
  632. closeButton.Text = "✕"
  633. closeButton.Size = UDim2.new(0, 25, 0, 25)
  634. closeButton.Position = UDim2.new(1, -30, 0, 5)
  635. closeButton.BackgroundColor3 = Color3.fromRGB(40,40,40)
  636. closeButton.TextColor3 = Color3.new(1,1,1)
  637. closeButton.Font = Enum.Font.GothamBold
  638. closeButton.TextSize = 20
  639. closeButton.AutoButtonColor = true
  640. closeButton.ZIndex = 99999
  641. Instance.new("UICorner", closeButton)
  642.  
  643. closeButton.MouseButton1Click:Connect(function()
  644.     main.Visible = false
  645.     floatBall.Visible = true
  646. end)
  647.  
  648. -- Bola flutuante para abrir menu (igual antes)
  649. floatBall.Position = UDim2.new(0, 10, 0.5, 0)
  650. floatBall.Text = "G"
  651. floatBall.TextSize = 25
  652. floatBall.Font = Enum.Font.GothamBold
  653. floatBall.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  654. floatBall.TextColor3 = Color3.new(1,1,1)
  655. floatBall.Visible = false
  656. floatBall.ZIndex = 99999
  657.  
  658. floatBall.MouseButton1Click:Connect(function()
  659.     main.Visible = true
  660.     floatBall.Visible = false
  661. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement