local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local player = Players.LocalPlayer local mouse = player:GetMouse() -- Criar ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Name = "CustomGUI" screenGui.Parent = player:WaitForChild("PlayerGui") screenGui.ResetOnSpawn = false -- Criar Frame principal local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 250, 0, 300) mainFrame.Position = UDim2.new(0.3, 0, 0.3, 0) mainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) mainFrame.Active = true mainFrame.Draggable = true mainFrame.Parent = screenGui -- Botão de fechar local closeButton = Instance.new("TextButton") closeButton.Size = UDim2.new(0, 25, 0, 25) closeButton.Position = UDim2.new(1, -30, 0, 5) closeButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0) closeButton.Text = "X" closeButton.TextColor3 = Color3.new(1, 1, 1) closeButton.Parent = mainFrame closeButton.MouseButton1Click:Connect(function() mainFrame.Visible = false end) -- ScrollFrame local scrollFrame = Instance.new("ScrollingFrame") scrollFrame.Size = UDim2.new(1, -10, 1, -40) scrollFrame.Position = UDim2.new(0, 5, 0, 35) scrollFrame.CanvasSize = UDim2.new(0, 0, 0, 0) scrollFrame.ScrollBarThickness = 6 scrollFrame.BackgroundColor3 = Color3.fromRGB(60, 60, 60) scrollFrame.Parent = mainFrame -- Layout local layout = Instance.new("UIListLayout") layout.Parent = scrollFrame layout.Padding = UDim.new(0, 5) layout.SortOrder = Enum.SortOrder.LayoutOrder layout.Changed:Connect(function() scrollFrame.CanvasSize = UDim2.new(0, 0, 0, layout.AbsoluteContentSize.Y) end) -- Função para criar botões local function createButton(name, action) local button = Instance.new("TextButton") button.Size = UDim2.new(1, -10, 0, 30) button.BackgroundColor3 = Color3.fromRGB(100, 100, 100) button.TextColor3 = Color3.new(1, 1, 1) button.Text = name button.Parent = scrollFrame button.MouseButton1Click:Connect(action) end -- Botão que muda cor da GUI createButton("Mudar Cor", function() mainFrame.BackgroundColor3 = Color3.fromRGB(math.random(50,255), math.random(50,255), math.random(50,255)) end) -- Botão que move GUI para lugar aleatório createButton("Mover GUI", function() mainFrame.Position = UDim2.new(math.random(), 0, math.random(), 0) end) -- ✅ Botão Click Teleport (FUNCIONA NO SEU JOGO) createButton("Click Teleport", function() print("Click Teleport Ativado - Clique no chão para teleportar") local connection connection = mouse.Button1Down:Connect(function() if mouse.Target then local char = player.Character if char and char:FindFirstChild("HumanoidRootPart") then char:MoveTo(mouse.Hit.p + Vector3.new(0, 3, 0)) end end connection:Disconnect() end) end)