Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Configuración de la Interfaz
- local ScreenGui = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local ButtonESP = Instance.new("TextButton")
- local ButtonSpeed = Instance.new("TextButton")
- local ButtonFly = Instance.new("TextButton")
- local CloseButton = Instance.new("TextButton")
- -- Propiedades del Menú
- ScreenGui.Name = "PiggyScriptGUI"
- ScreenGui.Parent = game.CoreGui
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = ScreenGui
- MainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- MainFrame.Position = UDim2.new(0.1, 0, 0.1, 0)
- MainFrame.Size = UDim2.new(0, 250, 0, 300)
- Title.Name = "Title"
- Title.Parent = MainFrame
- Title.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- Title.Size = UDim2.new(0, 250, 0, 50)
- Title.Font = Enum.Font.SourceSans
- Title.Text = "Piggy Script Menu"
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.TextSize = 20
- ButtonESP.Name = "ButtonESP"
- ButtonESP.Parent = MainFrame
- ButtonESP.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- ButtonESP.Position = UDim2.new(0.1, 0, 0.25, 0)
- ButtonESP.Size = UDim2.new(0, 200, 0, 30)
- ButtonESP.Text = "Activar ESP"
- ButtonSpeed.Name = "ButtonSpeed"
- ButtonSpeed.Parent = MainFrame
- ButtonSpeed.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- ButtonSpeed.Position = UDim2.new(0.1, 0, 0.4, 0)
- ButtonSpeed.Size = UDim2.new(0, 200, 0, 30)
- ButtonSpeed.Text = "Aumentar Velocidad"
- ButtonFly.Name = "ButtonFly"
- ButtonFly.Parent = MainFrame
- ButtonFly.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- ButtonFly.Position = UDim2.new(0.1, 0, 0.55, 0)
- ButtonFly.Size = UDim2.new(0, 200, 0, 30)
- ButtonFly.Text = "Activar Vuelo"
- CloseButton.Name = "CloseButton"
- CloseButton.Parent = MainFrame
- CloseButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- CloseButton.Position = UDim2.new(0.1, 0, 0.7, 0)
- CloseButton.Size = UDim2.new(0, 200, 0, 30)
- CloseButton.Text = "Cerrar Menú"
- -- Función para cerrar el menú
- CloseButton.MouseButton1Click:Connect(function()
- ScreenGui:Destroy()
- end)
- -- Función ESP
- ButtonESP.MouseButton1Click:Connect(function()
- for _, obj in pairs(game.Workspace:GetDescendants()) do
- if obj:IsA("Tool") or obj.Name == "Piggy" then
- local Billboard = Instance.new("BillboardGui", obj)
- Billboard.Size = UDim2.new(1, 0, 1, 0)
- Billboard.AlwaysOnTop = true
- local TextLabel = Instance.new("TextLabel", Billboard)
- TextLabel.Text = obj.Name
- TextLabel.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
- TextLabel.BackgroundTransparency = 1
- TextLabel.TextSize = 14
- end
- end
- end)
- -- Función de Velocidad
- ButtonSpeed.MouseButton1Click:Connect(function()
- local player = game.Players.LocalPlayer
- if player and player.Character and player.Character:FindFirstChild("Humanoid") then
- player.Character.Humanoid.WalkSpeed = 50 -- Cambia a la velocidad deseada
- end
- end)
- -- Función de Vuelo
- ButtonFly.MouseButton1Click:Connect(function()
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local bodyVelocity = Instance.new("BodyVelocity", character:FindFirstChild("HumanoidRootPart"))
- bodyVelocity.MaxForce = Vector3.new(4000, 4000, 4000)
- bodyVelocity.Velocity = Vector3.new(0, 50, 0) -- Cambia la velocidad de vuelo
- wait(5) -- Duración del vuelo
- bodyVelocity:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement