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")
- -- Servicios y Variables
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local RunService = game:GetService("RunService")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local UserInputService = game:GetService("UserInputService")
- -- Main Tab
- local Main = Window:NewTab("Main")
- local MainSection = Main:NewSection("Principal")
- -- God Mode Mejorado
- local godModeActive = false
- MainSection:NewToggle("God Mode", "Activar invencibilidad", function(state)
- godModeActive = state
- if state then
- spawn(function()
- while godModeActive 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
- for _, part in pairs(LocalPlayer.Character:GetChildren()) do
- if part:IsA("BasePart") then
- part.CanCollide = true
- part.CanTouch = false
- end
- end
- -- Eliminar colisiones con Piggy
- if LocalPlayer.Character:FindFirstChild("CollisionPart") then
- LocalPlayer.Character.CollisionPart:Destroy()
- end
- end
- end)
- wait(0.1)
- end
- end)
- end
- end)
- -- Maps Tab con sistema 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()
- if ReplicatedStorage:FindFirstChild("RemoteEvents") and
- ReplicatedStorage.RemoteEvents:FindFirstChild("UpdateMap") then
- ReplicatedStorage.RemoteEvents.UpdateMap:FireServer(mapName)
- end
- end
- }
- for _, method in ipairs(methods) do
- pcall(method)
- wait(0.1)
- end
- end
- -- Sistema de mapas mejorado
- local activeMap = nil
- for _, mapName in ipairs(mapList) do
- MapsSection:NewToggle(mapName, "Forzar " .. mapName, function(state)
- if state then
- if activeMap then
- activeMap:Set(false)
- end
- activeMap = MapsSection:GetToggle(mapName)
- spawn(function()
- while state and wait(0.5) do
- forceMap(mapName)
- end
- end)
- end
- end)
- end
- -- Minimizar mejorado
- spawn(function()
- wait(1)
- 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)
- -- Tecla de atajo para minimizar (M)
- UserInputService.InputBegan:Connect(function(input)
- if input.KeyCode == Enum.KeyCode.M then
- 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)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement