Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
- local Window = Library.CreateLib("PIGGY HACK MENU V2024", "BloodTheme")
- -- Variables
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
- local Humanoid = Character:WaitForChild("Humanoid")
- local Root = Character:WaitForChild("HumanoidRootPart")
- -- Main Tab
- local Main = Window:NewTab("Principal")
- local MainSection = Main:NewSection("Funciones Principales")
- -- God Mode
- MainSection:NewToggle("God Mode", "Activar/Desactivar Invencibilidad", function(state)
- if state then
- local function godMode()
- if Character and Character:FindFirstChild("Humanoid") then
- Character.Humanoid.MaxHealth = math.huge
- Character.Humanoid.Health = math.huge
- end
- end
- godMode()
- LocalPlayer.CharacterAdded:Connect(godMode)
- end
- end)
- -- No Piggy Damage
- MainSection:NewToggle("Inmunidad Piggy", "No recibir daño de Piggy", function(state)
- if state then
- local function noPiggyDamage()
- for _, v in pairs(workspace:GetDescendants()) do
- if v.Name == "Piggy" then
- if v:FindFirstChild("TouchInterest") then
- v.TouchInterest:Destroy()
- end
- end
- end
- end
- noPiggyDamage()
- workspace.DescendantAdded:Connect(function(desc)
- if desc.Name == "Piggy" then
- wait(0.1)
- noPiggyDamage()
- end
- end)
- end
- end)
- -- ESP Tab
- local ESP = Window:NewTab("ESP")
- local ESPSection = ESP:NewSection("Visualización")
- -- ESP Players
- ESPSection:NewToggle("ESP Jugadores", "Ver jugadores a través de paredes", function(state)
- if state then
- local function createESP(player)
- local highlight = Instance.new("Highlight")
- highlight.Name = "ESP"
- highlight.FillColor = Color3.fromRGB(255, 0, 0)
- highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
- highlight.FillTransparency = 0.5
- highlight.OutlineTransparency = 0
- highlight.Parent = player.Character
- end
- for _, player in pairs(Players:GetPlayers()) do
- if player ~= LocalPlayer and player.Character then
- createESP(player)
- end
- end
- Players.PlayerAdded:Connect(function(player)
- player.CharacterAdded:Connect(function()
- createESP(player)
- end)
- end)
- else
- for _, player in pairs(Players:GetPlayers()) do
- if player.Character then
- local esp = player.Character:FindFirstChild("ESP")
- if esp then esp:Destroy() end
- end
- end
- end
- end)
- -- ESP Items
- ESPSection:NewToggle("ESP Objetos", "Ver objetos importantes", function(state)
- if state then
- local function createItemESP(item)
- local highlight = Instance.new("Highlight")
- highlight.Name = "ItemESP"
- highlight.FillColor = Color3.fromRGB(0, 255, 0)
- highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
- highlight.FillTransparency = 0.3
- highlight.Parent = item
- end
- for _, v in pairs(workspace:GetDescendants()) do
- if v:IsA("Tool") or v.Name:match("Key") or v.Name:match("Gear") then
- createItemESP(v)
- end
- end
- workspace.DescendantAdded:Connect(function(desc)
- if desc:IsA("Tool") or desc.Name:match("Key") or desc.Name:match("Gear") then
- wait(0.1)
- createItemESP(desc)
- end
- end)
- else
- for _, v in pairs(workspace:GetDescendants()) do
- if v:FindFirstChild("ItemESP") then
- v.ItemESP:Destroy()
- end
- end
- end
- end)
- -- Player Tab
- local Player = Window:NewTab("Jugador")
- local PlayerSection = Player:NewSection("Modificaciones")
- -- Noclip
- PlayerSection:NewToggle("Noclip", "Atravesar paredes", function(state)
- if state then
- local function noclip()
- for _, v in pairs(Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end
- end
- end
- game:GetService("RunService").Stepped:Connect(function()
- if Character then
- noclip()
- end
- end)
- else
- for _, v in pairs(Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.CanCollide = true
- end
- end
- end
- end)
- -- No Fall Damage
- PlayerSection:NewToggle("No Daño por Caída", "Desactivar daño por caída", function(state)
- if state then
- local function noFallDamage()
- if Character and Character:FindFirstChild("FallDamageScript") then
- Character.FallDamageScript:Destroy()
- end
- end
- noFallDamage()
- LocalPlayer.CharacterAdded:Connect(noFallDamage)
- end
- end)
- -- Minimizar GUI
- local MinimizeButton = Instance.new("TextButton")
- MinimizeButton.Position = UDim2.new(1, -25, 0, 0)
- MinimizeButton.Size = UDim2.new(0, 25, 0, 25)
- MinimizeButton.Text = "-"
- MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- MinimizeButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- MinimizeButton.Parent = Window.Frame
- local minimized = false
- MinimizeButton.MouseButton1Click:Connect(function()
- minimized = not minimized
- if minimized then
- Window.Frame.Size = UDim2.new(0, Window.Frame.Size.X.Offset, 0, 30)
- MinimizeButton.Text = "+"
- else
- Window.Frame.Size = UDim2.new(0, Window.Frame.Size.X.Offset, 0, 400)
- MinimizeButton.Text = "-"
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement