local ScreenGui1 = Instance.new("ScreenGui") ScreenGui1.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local Frame1 = Instance.new("Frame") Frame1.Parent = ScreenGui1 Frame1.BackgroundColor3 = Color3.fromRGB(255, 0, 191) Frame1.BorderSizePixel = 1 Frame1.BorderColor3 = Color3.fromRGB(0, 255, 0) Frame1.Position = UDim2.new(0.3, 0, 0.5, 0) Frame1.Size = UDim2.new(0.5, 0, 0.5, 0) Frame1.Visible = true Frame1.Active = true Frame1.Draggable = true -- Barra de título con "Plin's GUI" local TitleBar = Instance.new("Frame") TitleBar.Parent = Frame1 TitleBar.BackgroundColor3 = Color3.fromRGB(50, 50, 50) TitleBar.Size = UDim2.new(1, 0, 0.15, 0) TitleBar.BorderSizePixel = 0 local TitleText = Instance.new("TextLabel") TitleText.Parent = TitleBar TitleText.Text = "Plin's GUI" TitleText.TextColor3 = Color3.fromRGB(255, 255, 255) TitleText.BackgroundTransparency = 1 TitleText.Size = UDim2.new(1, -30, 1, 0) TitleText.Font = Enum.Font.SourceSansBold TitleText.TextScaled = true -- Botón para cerrar la GUI local CloseButton = Instance.new("TextButton") CloseButton.Parent = TitleBar CloseButton.Text = "X" CloseButton.TextColor3 = Color3.fromRGB(200, 0, 0) CloseButton.Size = UDim2.new(0, 30, 1, 0) CloseButton.Position = UDim2.new(1, -30, 0, 0) CloseButton.Font = Enum.Font.SourceSansBold CloseButton.TextScaled = true CloseButton.MouseButton1Click:Connect(function() Frame1.Visible = false end) -- Botón para activar/desactivar vuelo local FlyButton = Instance.new("TextButton") FlyButton.Parent = Frame1 FlyButton.Text = "Enable Flight" FlyButton.TextColor3 = Color3.fromRGB(255, 255, 255) FlyButton.BackgroundColor3 = Color3.fromRGB(0, 100, 255) FlyButton.Size = UDim2.new(0.8, 0, 0.2, 0) FlyButton.Position = UDim2.new(0.1, 0, 0.3, 0) FlyButton.Font = Enum.Font.SourceSansBold FlyButton.TextScaled = true -- Botones para móviles (Subir/Bajar) local UpButton = Instance.new("TextButton") UpButton.Parent = ScreenGui1 UpButton.Text = "↑" UpButton.TextColor3 = Color3.fromRGB(255, 255, 255) UpButton.BackgroundColor3 = Color3.fromRGB(0, 150, 255) UpButton.Size = UDim2.new(0.1, 0, 0.1, 0) UpButton.Position = UDim2.new(0.85, 0, 0.7, 0) UpButton.Visible = false local DownButton = Instance.new("TextButton") DownButton.Parent = ScreenGui1 DownButton.Text = "↓" DownButton.TextColor3 = Color3.fromRGB(255, 255, 255) DownButton.BackgroundColor3 = Color3.fromRGB(255, 100, 100) DownButton.Size = UDim2.new(0.1, 0, 0.1, 0) DownButton.Position = UDim2.new(0.85, 0, 0.8, 0) DownButton.Visible = false local flying = false local velocity local gyro local userInput = game:GetService("UserInputService") FlyButton.MouseButton1Click:Connect(function() local player = game.Players.LocalPlayer local char = player.Character or player.CharacterAdded:Wait() local humanoidRootPart = char:FindFirstChild("HumanoidRootPart") if not humanoidRootPart then return end flying = not flying if flying then FlyButton.Text = "Disable Flight" UpButton.Visible = true DownButton.Visible = true velocity = Instance.new("BodyVelocity") velocity.MaxForce = Vector3.new(4000, 4000, 4000) velocity.Velocity = Vector3.new(0, 0, 0) velocity.Parent = humanoidRootPart gyro = Instance.new("BodyGyro") gyro.MaxTorque = Vector3.new(4000, 4000, 4000) gyro.Parent = humanoidRootPart local moveDirection = Vector3.new(0, 0, 0) game:GetService("RunService").RenderStepped:Connect(function() if flying then local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid and humanoid.MoveDirection.Magnitude > 0 then moveDirection = humanoid.MoveDirection end velocity.Velocity = moveDirection * 50 end end) -- Control de botones móviles mejorado local upPressing = false local downPressing = false local function updateVerticalVelocity() if upPressing then velocity.Velocity = Vector3.new(velocity.Velocity.X, 50, velocity.Velocity.Z) elseif downPressing then velocity.Velocity = Vector3.new(velocity.Velocity.X, -50, velocity.Velocity.Z) else velocity.Velocity = Vector3.new(velocity.Velocity.X, 0, velocity.Velocity.Z) end end UpButton.MouseButton1Down:Connect(function() upPressing = true updateVerticalVelocity() end) UpButton.MouseButton1Up:Connect(function() upPressing = false updateVerticalVelocity() end) DownButton.MouseButton1Down:Connect(function() downPressing = true updateVerticalVelocity() end) DownButton.MouseButton1Up:Connect(function() downPressing = false updateVerticalVelocity() end) else FlyButton.Text = "Enable Flight" UpButton.Visible = false DownButton.Visible = false if velocity then velocity:Destroy() end if gyro then gyro:Destroy() end end end) -- Botón para activar/desactivar noclip local NoclipButton = Instance.new("TextButton") NoclipButton.Parent = Frame1 NoclipButton.Text = "Enable Noclip" NoclipButton.TextColor3 = Color3.fromRGB(255, 255, 255) NoclipButton.BackgroundColor3 = Color3.fromRGB(150, 50, 255) NoclipButton.Size = UDim2.new(0.8, 0, 0.2, 0) NoclipButton.Position = UDim2.new(0.1, 0, 0.55, 0) NoclipButton.Font = Enum.Font.SourceSansBold NoclipButton.TextScaled = true local noclip = false local function toggleNoclip() local player = game.Players.LocalPlayer local char = player.Character or player.CharacterAdded:Wait() if not char then return end noclip = not noclip NoclipButton.Text = noclip and "Disable Noclip" or "Enable Noclip" game:GetService("RunService").Stepped:Connect(function() if noclip then for _, part in pairs(char:GetChildren()) do if part:IsA("BasePart") then part.CanCollide = false end end end end) end NoclipButton.MouseButton1Click:Connect(toggleNoclip) -- Botón para ir a la página 2 (debe estar en la primera página) local NextPageButton = Instance.new("TextButton") NextPageButton.Parent = Frame1 NextPageButton.Text = "Next Page" NextPageButton.TextColor3 = Color3.fromRGB(255, 255, 255) NextPageButton.BackgroundColor3 = Color3.fromRGB(0, 100, 255) NextPageButton.Size = UDim2.new(0.8, 0, 0.2, 0) NextPageButton.Position = UDim2.new(0.1, 0, 0.8, 0) NextPageButton.Font = Enum.Font.SourceSansBold NextPageButton.TextScaled = true -- Página 2 (misma posición y arrastrable) local Page2 = Instance.new("Frame") Page2.Parent = ScreenGui1 Page2.BackgroundColor3 = Color3.fromRGB(255, 0, 191) Page2.BorderSizePixel = 1 Page2.BorderColor3 = Color3.fromRGB(0, 255, 0) Page2.Position = Frame1.Position -- Mantiene la misma posición Page2.Size = Frame1.Size Page2.Visible = false Page2.Active = true Page2.Draggable = true -- Ahora es arrastrable -- Función para cambiar de página manteniendo la posición NextPageButton.MouseButton1Click:Connect(function() Page2.Position = Frame1.Position -- Asegura que la posición de la segunda página sea la misma Page2.Visible = true Frame1.Visible = false end) -- Botón para regresar a la página 1 local PrevPageButton = Instance.new("TextButton") PrevPageButton.Parent = Page2 PrevPageButton.Text = "Previous Page" PrevPageButton.TextColor3 = Color3.fromRGB(255, 255, 255) PrevPageButton.BackgroundColor3 = Color3.fromRGB(255, 100, 100) PrevPageButton.Size = UDim2.new(0.8, 0, 0.2, 0) PrevPageButton.Position = UDim2.new(0.1, 0, 0.8, 0) PrevPageButton.Font = Enum.Font.SourceSansBold PrevPageButton.TextScaled = true PrevPageButton.MouseButton1Click:Connect(function() Frame1.Position = Page2.Position -- Mantiene la posición al cambiar de página Frame1.Visible = true Page2.Visible = false end) -- Botón para obtener la herramienta de teletransporte local TPToolButton = Instance.new("TextButton") TPToolButton.Parent = Page2 TPToolButton.Text = "TP Tool" TPToolButton.TextColor3 = Color3.fromRGB(255, 255, 255) TPToolButton.BackgroundColor3 = Color3.fromRGB(50, 200, 50) TPToolButton.Size = UDim2.new(0.8, 0, 0.2, 0) TPToolButton.Position = UDim2.new(0.1, 0, 0.4, 0) TPToolButton.Font = Enum.Font.SourceSansBold TPToolButton.TextScaled = true TPToolButton.MouseButton1Click:Connect(function() local player = game.Players.LocalPlayer local backpack = player:FindFirstChild("Backpack") if backpack then local tool = Instance.new("Tool") tool.RequiresHandle = false tool.Name = "Teleport Tool" tool.Activated:Connect(function() local mouse = player:GetMouse() if mouse.Target then player.Character:SetPrimaryPartCFrame(CFrame.new(mouse.Hit.p)) end end) tool.Parent = backpack end end) -- Botón para activar velocidad aumentada (en la página 2) local SpeedButton = Instance.new("TextButton") SpeedButton.Parent = Page2 SpeedButton.Text = "Speed Boost" SpeedButton.TextColor3 = Color3.fromRGB(255, 255, 255) SpeedButton.BackgroundColor3 = Color3.fromRGB(200, 150, 50) SpeedButton.Size = UDim2.new(0.8, 0, 0.2, 0) SpeedButton.Position = UDim2.new(0.1, 0, 0.15, 0) -- Nueva posición SpeedButton.Font = Enum.Font.SourceSansBold SpeedButton.TextScaled = true -- Campo de texto para ingresar la velocidad local SpeedInput = Instance.new("TextBox") SpeedInput.Parent = Page2 SpeedInput.PlaceholderText = "Enter Speed" SpeedInput.Text = "" SpeedInput.TextColor3 = Color3.fromRGB(0, 0, 0) SpeedInput.BackgroundColor3 = Color3.fromRGB(255, 255, 255) SpeedInput.Size = UDim2.new(0.8, 0, 0.15, 0) SpeedInput.Position = UDim2.new(0.1, 0, 0.35, 0) -- Debajo del botón de velocidad SpeedInput.Font = Enum.Font.SourceSans SpeedInput.TextScaled = true SpeedInput.Visible = false -- Se oculta hasta que se active el botón -- Función para cambiar la velocidad del jugador SpeedButton.MouseButton1Click:Connect(function() SpeedInput.Visible = not SpeedInput.Visible -- Muestra o esconde el campo de texto end) SpeedInput.FocusLost:Connect(function(enterPressed) if enterPressed then local player = game.Players.LocalPlayer local character = player.Character if character and character:FindFirstChild("Humanoid") then local speedValue = tonumber(SpeedInput.Text) if speedValue and speedValue > 0 then character.Humanoid.WalkSpeed = speedValue end end end end) -- Botón para ir a la tercera página local NextPage2Button = Instance.new("TextButton") NextPage2Button.Parent = Page2 NextPage2Button.Text = "Next Page" NextPage2Button.TextColor3 = Color3.fromRGB(255, 255, 255) NextPage2Button.BackgroundColor3 = Color3.fromRGB(50, 150, 200) NextPage2Button.Size = UDim2.new(0.8, 0, 0.15, 0) NextPage2Button.Position = UDim2.new(0.1, 0.3, 0.88, 0) -- Posicionado abajo sin superponer otros botones NextPage2Button.Font = Enum.Font.SourceSansBold NextPage2Button.TextScaled = true -- Creación de la tercera página local Page3 = Instance.new("Frame") Page3.Parent = ScreenGui1 Page3.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Page3.Size = Page2.Size Page3.Position = Page2.Position Page3.Visible = false Page3.Active = true Page3.Draggable = true -- Botón para regresar a la segunda página local BackPage2Button = Instance.new("TextButton") BackPage2Button.Parent = Page3 BackPage2Button.Text = "Back" BackPage2Button.TextColor3 = Color3.fromRGB(255, 255, 255) BackPage2Button.BackgroundColor3 = Color3.fromRGB(200, 50, 50) BackPage2Button.Size = UDim2.new(0.8, 0, 0.15, 0) BackPage2Button.Position = UDim2.new(0.1, 0, 0.88, 0) -- Mismo lugar que el botón "Next Page" BackPage2Button.Font = Enum.Font.SourceSansBold BackPage2Button.TextScaled = true -- Botón de espectar en la tercera página (parte superior) local SpectateInput3 = Instance.new("TextBox") SpectateInput3.Parent = Page3 SpectateInput3.PlaceholderText = "Enter Player Name" SpectateInput3.Text = "" SpectateInput3.TextColor3 = Color3.fromRGB(0, 0, 0) SpectateInput3.BackgroundColor3 = Color3.fromRGB(255, 255, 255) SpectateInput3.Size = UDim2.new(0.8, 0, 0.15, 0) SpectateInput3.Position = UDim2.new(0.1, 0, 0.05, 0) -- En la parte superior SpectateInput3.Font = Enum.Font.SourceSans SpectateInput3.TextScaled = true local SpectateButton3 = Instance.new("TextButton") SpectateButton3.Parent = Page3 SpectateButton3.Text = "Spectate" SpectateButton3.TextColor3 = Color3.fromRGB(255, 255, 255) SpectateButton3.BackgroundColor3 = Color3.fromRGB(150, 50, 200) SpectateButton3.Size = UDim2.new(0.8, 0, 0.15, 0) SpectateButton3.Position = UDim2.new(0.1, 0, 0.22, 0) -- Justo debajo del campo de texto SpectateButton3.Font = Enum.Font.SourceSansBold SpectateButton3.TextScaled = true -- Funcionalidad para espectar en la tercera página SpectateButton3.MouseButton1Click:Connect(function() local player = game.Players.LocalPlayer local targetName = SpectateInput3.Text local targetPlayer = game.Players:FindFirstChild(targetName) if targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart") then local camera = game.Workspace.CurrentCamera camera.CameraSubject = targetPlayer.Character.HumanoidRootPart end end) -- Funcionalidad para cambiar entre páginas NextPage2Button.MouseButton1Click:Connect(function() Page2.Visible = false Page3.Visible = true end) BackPage2Button.MouseButton1Click:Connect(function() Page3.Visible = false Page2.Visible = true end) -- Final message text in the third page local FinalText = Instance.new("TextLabel") FinalText.Parent = Page3 FinalText.Text = "That was all for the GUI, there may be more updates soon" FinalText.TextColor3 = Color3.fromRGB(0, 0, 0) -- Black text FinalText.BackgroundTransparency = 1 -- No background FinalText.Size = UDim2.new(0.8, 0, 0.1, 0) FinalText.Position = UDim2.new(0.1, 0, 0.4, 0) -- Below the Spectate button FinalText.Font = Enum.Font.SourceSans FinalText.TextScaled = true FinalText.TextWrapped = true