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 Ultimate Script", "Ocean")
- -- Variables globales
- local godModeEnabled = false
- local forceMapEnabled = false
- -- MAIN
- local Main = Window:NewTab("Main")
- local MainSection = Main:NewSection("Principal")
- -- God Mode mejorado y probado
- MainSection:NewToggle("God Mode", "Te hace invencible", function(state)
- godModeEnabled = state
- if state then
- spawn(function()
- while godModeEnabled do
- pcall(function()
- local player = game.Players.LocalPlayer
- if player.Character and player.Character:FindFirstChild("Humanoid") then
- player.Character.Humanoid.MaxHealth = 999999
- player.Character.Humanoid.Health = 999999
- -- Prevenir daño
- for _, v in pairs(player.Character:GetDescendants()) do
- if v:IsA("BasePart") then
- v.CanCollide = true
- end
- end
- end
- end)
- wait(0.1)
- end
- end)
- end
- end)
- -- Minimizar (Mejorado)
- local MainGui = game:GetService("CoreGui"):FindFirstChild("Piggy Ultimate Script")
- if MainGui then
- local MinimizeBtn = Instance.new("TextButton")
- 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
- if minimized then
- MainGui.Size = UDim2.new(0, MainGui.AbsoluteSize.X, 0, 35)
- MinimizeBtn.Text = "+"
- else
- MainGui.Size = UDim2.new(0, MainGui.AbsoluteSize.X, 0, 400)
- MinimizeBtn.Text = "-"
- end
- end)
- end
- -- MAPAS (Forzador completamente reescrito)
- 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 args1 = {
- [1] = "Map",
- [2] = mapName,
- [3] = true
- }
- local args2 = {
- [1] = "Vote",
- [2] = mapName
- }
- local args3 = {
- [1] = "MapVote",
- [2] = mapName
- }
- -- Múltiples intentos de forzado
- for i = 1, 3 do
- pcall(function()
- game:GetService("ReplicatedStorage").RemoteEvents.GameEvent:FireServer(unpack(args1))
- wait(0.1)
- game:GetService("ReplicatedStorage").RemoteEvents.GameEvent:FireServer(unpack(args2))
- wait(0.1)
- game:GetService("ReplicatedStorage").RemoteEvents.GameEvent:FireServer(unpack(args3))
- if game:GetService("ReplicatedStorage"):FindFirstChild("Map") then
- game:GetService("ReplicatedStorage").Map.Value = mapName
- end
- -- Método adicional de forzado
- game:GetService("ReplicatedStorage").RemoteEvents.UpdateMap:FireServer(mapName)
- end)
- wait(0.2)
- end
- end
- for _, mapName in ipairs(mapList) do
- MapsSection:NewToggle(mapName, "Forzar "..mapName, function(state)
- if state then
- spawn(function()
- while wait(0.5) and state do
- forceMap(mapName)
- end
- end)
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement