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 | Temporada 7", "DarkTheme")
- -- Main Tab
- local Main = Window:NewTab("Principal")
- local MainSection = Main:NewSection("Funciones Principales")
- -- Variables
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
- local Humanoid = Character:WaitForChild("Humanoid")
- local RunService = game:GetService("RunService")
- local UserInputService = game:GetService("UserInputService")
- -- 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
- Character:WaitForChild("Humanoid").HealthChanged:Connect(function(health)
- if health < math.huge then
- Character.Humanoid.Health = math.huge
- end
- end)
- end
- end
- godMode()
- LocalPlayer.CharacterAdded:Connect(godMode)
- end
- end)
- -- ESP Players
- MainSection:NewToggle("ESP Jugadores", "Ver jugadores a través de paredes", function(state)
- 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
- local function updateESP()
- if player.Character then
- highlight.Parent = player.Character
- end
- end
- updateESP()
- player.CharacterAdded:Connect(updateESP)
- end
- if state then
- for _, player in ipairs(Players:GetPlayers()) do
- if player ~= LocalPlayer then
- createESP(player)
- end
- end
- Players.PlayerAdded:Connect(createESP)
- else
- for _, player in ipairs(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
- MainSection:NewToggle("ESP Objetos", "Ver objetos importantes", function(state)
- local function createItemESP()
- local items = workspace:GetDescendants()
- for _, item in ipairs(items) do
- if item:IsA("Tool") or item:IsA("Model") and item:FindFirstChild("Handle") then
- 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.5
- highlight.Parent = item
- end
- end
- end
- if state then
- createItemESP()
- workspace.DescendantAdded:Connect(function(item)
- if item:IsA("Tool") or item:IsA("Model") and item:FindFirstChild("Handle") then
- 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.5
- highlight.Parent = item
- end
- end)
- else
- for _, v in ipairs(workspace:GetDescendants()) do
- if v:FindFirstChild("ItemESP") then
- v.ItemESP:Destroy()
- end
- end
- end
- end)
- -- Noclip
- MainSection:NewToggle("Noclip", "Atravesar paredes", function(state)
- local noclip = false
- local function updateNoclip()
- if Character then
- for _, part in pairs(Character:GetDescendants()) do
- if part:IsA("BasePart") then
- part.CanCollide = not noclip
- end
- end
- end
- end
- if state then
- noclip = true
- RunService.Stepped:Connect(function()
- if noclip then
- updateNoclip()
- end
- end)
- else
- noclip = false
- updateNoclip()
- end
- end)
- -- Anti Fall Damage
- MainSection:NewToggle("Anti Caída", "No morir por caídas", function(state)
- if state then
- local function preventFallDamage()
- if Character and Character:FindFirstChild("FallDamage") then
- Character.FallDamage:Destroy()
- end
- end
- preventFallDamage()
- LocalPlayer.CharacterAdded:Connect(preventFallDamage)
- end
- end)
- -- Anti Piggy
- MainSection:NewToggle("Anti Piggy", "Inmunidad contra Piggy", function(state)
- if state then
- local function antiPiggy()
- local function protectFromPiggy(descendant)
- if descendant.Name == "Piggy" or descendant.Name == "Bot" then
- local connection
- connection = descendant.Touched:Connect(function(hit)
- if hit:IsDescendantOf(Character) then
- return false
- end
- end)
- end
- end
- for _, descendant in ipairs(workspace:GetDescendants()) do
- protectFromPiggy(descendant)
- end
- workspace.DescendantAdded:Connect(protectFromPiggy)
- end
- antiPiggy()
- end
- end)
- -- Minimizar GUI
- local MinimizeButton = Instance.new("TextButton")
- MinimizeButton.Size = UDim2.new(0, 20, 0, 20)
- MinimizeButton.Position = UDim2.new(1, -25, 0, 5)
- MinimizeButton.Text = "-"
- MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- MinimizeButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- MinimizeButton.Parent = Window.Main
- local minimized = false
- MinimizeButton.MouseButton1Click:Connect(function()
- minimized = not minimized
- if minimized then
- Window.Main.Visible = false
- MinimizeButton.Text = "+"
- else
- Window.Main.Visible = true
- MinimizeButton.Text = "-"
- end
- end)
- -- Anti Ban/Kick
- local mt = getrawmetatable(game)
- local old = mt.__namecall
- setreadonly(mt, false)
- mt.__namecall = newcclosure(function(self, ...)
- local args = {...}
- local method = getnamecallmethod()
- if method == "Kick" or method == "kick" then
- return nil
- end
- return old(self, ...)
- end)
- setreadonly(mt, true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement