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 Script", "Ocean")
- -- Variables Globales
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local RunService = game:GetService("RunService")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- -- Función de minimizar mejorada
- local function createMinimizeButton()
- local CoreGui = game:GetService("CoreGui")
- local MainGui = CoreGui:WaitForChild("Piggy Script")
- local MinimizeBtn = Instance.new("TextButton")
- MinimizeBtn.Name = "MinimizeButton"
- MinimizeBtn.Size = UDim2.new(0, 30, 0, 30)
- MinimizeBtn.Position = UDim2.new(1, -35, 0, 5)
- MinimizeBtn.Text = "-"
- MinimizeBtn.TextSize = 20
- MinimizeBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- MinimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
- MinimizeBtn.Parent = MainGui
- local minimized = false
- MinimizeBtn.MouseButton1Click:Connect(function()
- minimized = not minimized
- MainGui.Size = minimized and UDim2.new(0, MainGui.AbsoluteSize.X, 0, 35) or UDim2.new(0, MainGui.AbsoluteSize.X, 0, 400)
- MinimizeBtn.Text = minimized and "+" or "-"
- end)
- end
- spawn(createMinimizeButton)
- -- Main Tab
- local Main = Window:NewTab("Main")
- local MainSection = Main:NewSection("Principal")
- -- God Mode mejorado para Piggy
- MainSection:NewToggle("God Mode", "Invencibilidad total", function(state)
- if state then
- spawn(function()
- while state do
- pcall(function()
- if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
- LocalPlayer.Character.Humanoid.MaxHealth = math.huge
- LocalPlayer.Character.Humanoid.Health = math.huge
- -- Protección adicional para Piggy
- for _, v in pairs(LocalPlayer.Character:GetChildren()) do
- if v:IsA("BasePart") then
- v.CanCollide = true
- v.CanTouch = false
- end
- end
- -- Prevenir daño de Piggy
- if LocalPlayer.Character:FindFirstChild("CollisionPart") then
- LocalPlayer.Character.CollisionPart:Destroy()
- end
- end
- end)
- wait(0.1)
- end
- end)
- end
- end)
- -- Maps Tab con forzador mejorado
- local Maps = Window:NewTab("Maps")
- local MapsSection = Maps:NewSection("Forzador de Mapas")
- local mapList = {
- "House", "Station", "Gallery", "Forest", "School",
- "Hospital", "Metro", "City", "Factory", "Mall",
- "Carnival", "Outpost"
- }
- local function forceMap(mapName)
- local methods = {
- function()
- ReplicatedStorage.RemoteEvents.GameEvent:FireServer("Map", mapName, true)
- end,
- function()
- ReplicatedStorage.RemoteEvents.GameEvent:FireServer("Vote", mapName)
- end,
- function()
- ReplicatedStorage.RemoteEvents.GameEvent:FireServer("MapVote", mapName)
- end,
- function()
- if ReplicatedStorage:FindFirstChild("Map") then
- ReplicatedStorage.Map.Value = mapName
- end
- end,
- function()
- ReplicatedStorage.RemoteEvents.UpdateMap:FireServer(mapName)
- end
- }
- for _, method in ipairs(methods) do
- pcall(method)
- wait(0.1)
- end
- end
- for _, mapName in ipairs(mapList) do
- MapsSection:NewToggle(mapName, "Forzar " .. mapName, function(state)
- if state then
- spawn(function()
- while state and wait(0.5) do
- forceMap(mapName)
- end
- end)
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement