Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UI Library
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
- local Window = Library.CreateLib("Piggy Script Hub", "Ocean")
- -- Keybind para minimizar (RightControl)
- local FrameworkConfig = {
- Keybind = Enum.KeyCode.RightControl
- }
- -- Main Tab
- local MainTab = Window:NewTab("Main")
- local MainSection = MainTab:NewSection("Player Mods")
- -- Settings Tab para la configuración del UI
- local SettingsTab = Window:NewTab("Settings")
- local SettingsSection = SettingsTab:NewSection("UI Settings")
- -- Botón para mostrar/ocultar la UI
- SettingsSection:NewKeybind("Toggle UI", "Muestra/Oculta la interfaz", FrameworkConfig.Keybind, function()
- Library:ToggleUI()
- end)
- -- God Mode Toggle
- MainSection:NewToggle("God Mode", "Activa/Desactiva el modo invencible", function(state)
- if state then
- local Players = game:GetService("Players")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local LocalPlayer = Players.LocalPlayer
- local RunService = game:GetService("RunService")
- local function enhancedGodMode()
- local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- humanoid.HealthChanged:Connect(function(health)
- if health < humanoid.MaxHealth then
- humanoid.Health = humanoid.MaxHealth
- end
- end)
- for _, v in pairs(ReplicatedStorage:GetDescendants()) do
- if v:IsA("RemoteEvent") then
- if v.Name:match("Damage") or v.Name:match("Kill") or v.Name:match("Hit") then
- local old
- old = hookfunction(v.FireServer, function(self, ...)
- local args = {...}
- if self == v then
- return nil
- end
- return old(self, ...)
- end)
- end
- end
- end
- RunService.Heartbeat:Connect(function()
- if character and humanoid then
- humanoid.Health = humanoid.MaxHealth
- end
- end)
- end
- enhancedGodMode()
- LocalPlayer.CharacterAdded:Connect(enhancedGodMode)
- end
- end)
- -- Map Force Section
- local MapSection = MainTab:NewSection("Map Force")
- MapSection:NewButton("Force Map", "Fuerza la selección del mapa actual", function()
- local function enhancedMapForcer()
- local VotingRemote = ReplicatedStorage:WaitForChild("RemoteEvents"):WaitForChild("Vote")
- local MapSelectionRemote = ReplicatedStorage:WaitForChild("RemoteEvents"):WaitForChild("MapSelection")
- local function forceMap(mapName)
- for i = 1, 150 do
- VotingRemote:FireServer(mapName)
- end
- MapSelectionRemote:FireServer(mapName)
- end
- for _, remote in pairs(ReplicatedStorage:GetDescendants()) do
- if remote:IsA("RemoteEvent") and remote.Name:match("Vote") then
- local oldVote
- oldVote = hookfunction(remote.FireServer, function(self, ...)
- local args = {...}
- if self == remote then
- forceMap(args[1])
- return
- end
- return oldVote(self, ...)
- end)
- end
- end
- end
- enhancedMapForcer()
- end)
- -- Anti-Kick
- local SecuritySection = MainTab:NewSection("Security")
- SecuritySection:NewToggle("Anti-Kick", "Previene ser expulsado del juego", function(state)
- if state then
- local namecall
- namecall = hookmetamethod(game, "__namecall", function(self, ...)
- local method = getnamecallmethod()
- if method == "Kick" or method == "kick" then
- return nil
- end
- return namecall(self, ...)
- end)
- end
- end)
- -- Speed Section
- local SpeedSection = MainTab:NewSection("Speed Hack")
- SpeedSection:NewSlider("WalkSpeed", "Cambia la velocidad del jugador", 500, 16, function(s)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = s
- end)
- -- Jump Section
- local JumpSection = MainTab:NewSection("Jump Hack")
- JumpSection:NewSlider("JumpPower", "Cambia la potencia de salto", 350, 50, function(s)
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = s
- end)
- -- Notificación inicial
- game.StarterGui:SetCore("SendNotification", {
- Title = "Script Loaded!";
- Text = "Presiona RightControl para mostrar/ocultar el menú";
- Duration = 5;
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement