Advertisement
debanhiescobar171

Piggy Ultimate Script

Nov 26th, 2024
3,302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.76 KB | None | 0 0
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  2. local Window = Library.CreateLib("Piggy Ultimate Script", "Ocean")
  3.  
  4. -- MAIN
  5. local Main = Window:NewTab("Main")
  6. local MainSection = Main:NewSection("Principal")
  7.  
  8. MainSection:NewButton("God Mode", "Te hace invencible", function()
  9.     local Players = game:GetService("Players")
  10.     local Player = Players.LocalPlayer
  11.     while wait() do
  12.         if Player.Character then
  13.             if not Player.Character:FindFirstChild("Humanoid") then
  14.                 return
  15.             end
  16.             Player.Character.Humanoid.MaxHealth = math.huge
  17.             Player.Character.Humanoid.Health = math.huge
  18.         end
  19.     end
  20. end)
  21.  
  22. -- PLAYER
  23. local Player = Window:NewTab("Player")
  24. local PlayerSection = Player:NewSection("Player")
  25.  
  26. PlayerSection:NewSlider("WalkSpeed", "Cambia tu velocidad", 500, 16, function(s)
  27.     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = s
  28. end)
  29.  
  30. PlayerSection:NewSlider("JumpPower", "Cambia tu poder de salto", 350, 50, function(s)
  31.     game.Players.LocalPlayer.Character.Humanoid.JumpPower = s
  32. end)
  33.  
  34. PlayerSection:NewToggle("Noclip", "Atraviesa paredes", function(state)
  35.     if state then
  36.         local function NoclipLoop()
  37.             if game.Players.LocalPlayer.Character then
  38.                 for _, child in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  39.                     if child:IsA("BasePart") and child.CanCollide == true then
  40.                         child.CanCollide = false
  41.                     end
  42.                 end
  43.             end
  44.         end
  45.        
  46.         Noclipping = game:GetService('RunService').Stepped:Connect(NoclipLoop)
  47.     else
  48.         if Noclipping then
  49.             Noclipping:Disconnect()
  50.         end
  51.     end
  52. end)
  53.  
  54. -- MAPAS
  55. local Maps = Window:NewTab("Maps")
  56. local MapsSection = Maps:NewSection("Forzador de Mapas")
  57.  
  58. local mapList = {
  59.     "House",
  60.     "Station",
  61.     "Gallery",
  62.     "Forest",
  63.     "School",
  64.     "Hospital",
  65.     "Metro",
  66.     "City",
  67.     "Factory",
  68.     "Mall",
  69.     "Carnival",
  70.     "Outpost"
  71. }
  72.  
  73. for _, mapName in ipairs(mapList) do
  74.     MapsSection:NewButton(mapName, "Forzar "..mapName, function()
  75.         local args = {
  76.             [1] = "Map",
  77.             [2] = mapName,
  78.             [3] = true
  79.         }
  80.        
  81.         for i = 1, 5 do
  82.             game:GetService("ReplicatedStorage").RemoteEvents.GameEvent:FireServer(unpack(args))
  83.            
  84.             if game:GetService("ReplicatedStorage"):FindFirstChild("Map") then
  85.                 game:GetService("ReplicatedStorage").Map.Value = mapName
  86.             end
  87.            
  88.             local vote = {
  89.                 [1] = "Vote",
  90.                 [2] = mapName
  91.             }
  92.             game:GetService("ReplicatedStorage").RemoteEvents.GameEvent:FireServer(unpack(vote))
  93.            
  94.             pcall(function()
  95.                 game:GetService("ReplicatedStorage").RemoteEvents.UpdateMap:FireServer(mapName)
  96.             end)
  97.            
  98.             wait(0.1)
  99.         end
  100.     end)
  101. end
  102.  
  103. -- ESP
  104. local Esp = Window:NewTab("ESP")
  105. local EspSection = Esp:NewSection("ESP Options")
  106.  
  107. EspSection:NewToggle("Player ESP", "Ver a todos los jugadores", function(state)
  108.     if state then
  109.         local function createESP(player)
  110.             if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  111.                 local esp = Instance.new("BoxHandleAdornment")
  112.                 esp.Name = "ESP"
  113.                 esp.Adornee = player.Character.HumanoidRootPart
  114.                 esp.ZIndex = 0
  115.                 esp.Size = Vector3.new(5, 5, 5)
  116.                 esp.Transparency = 0.5
  117.                 esp.Color3 = Color3.fromRGB(255, 0, 0)
  118.                 esp.AlwaysOnTop = true
  119.                 esp.Parent = player.Character.HumanoidRootPart
  120.             end
  121.         end
  122.  
  123.         for _, player in pairs(game.Players:GetPlayers()) do
  124.             if player ~= game.Players.LocalPlayer then
  125.                 createESP(player)
  126.             end
  127.         end
  128.  
  129.         game.Players.PlayerAdded:Connect(function(player)
  130.             if player ~= game.Players.LocalPlayer then
  131.                 createESP(player)
  132.             end
  133.         end)
  134.     else
  135.         for _, player in pairs(game.Players:GetPlayers()) do
  136.             if player.Character then
  137.                 for _, esp in pairs(player.Character:GetDescendants()) do
  138.                     if esp.Name == "ESP" then
  139.                         esp:Destroy()
  140.                     end
  141.                 end
  142.             end
  143.         end
  144.     end
  145. end)
  146.  
  147. -- AUTO COLLECT
  148. local AutoFarm = Window:NewTab("Auto Farm")
  149. local AutoFarmSection = AutoFarm:NewSection("Auto Collect")
  150.  
  151. AutoFarmSection:NewToggle("Auto Collect Items", "Recoge items automáticamente", function(state)
  152.     getgenv().autoCollect = state
  153.     while getgenv().autoCollect do
  154.         pcall(function()
  155.             for _, v in pairs(workspace:GetDescendants()) do
  156.                 if v:IsA("Tool") and v:FindFirstChild("Handle") then
  157.                     if (v.Handle.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude < 50 then
  158.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Handle, 0)
  159.                         wait()
  160.                         firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Handle, 1)
  161.                     end
  162.                 end
  163.             end
  164.         end)
  165.         wait(0.1)
  166.     end
  167. end)
  168.  
  169. -- PIGGY KILL AURA
  170. local Combat = Window:NewTab("Combat")
  171. local CombatSection = Combat:NewSection("Combat")
  172.  
  173. CombatSection:NewToggle("Kill Aura", "Mata a jugadores cercanos cuando eres Piggy", function(state)
  174.     getgenv().killAura = state
  175.     while getgenv().killAura do
  176.         pcall(function()
  177.             if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("Piggy") then
  178.                 for _, player in pairs(game.Players:GetPlayers()) do
  179.                     if player ~= game.Players.LocalPlayer and player.Character and player.Character:FindFirstChild("Humanoid") and player.Character:FindFirstChild("HumanoidRootPart") then
  180.                         local distance = (player.Character.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
  181.                         if distance <= 15 then
  182.                             game:GetService("ReplicatedStorage").RemoteEvents.Damage:FireServer(player.Character.Humanoid)
  183.                         end
  184.                     end
  185.                 end
  186.             end
  187.         end)
  188.         wait(0.1)
  189.     end
  190. end)
  191.  
  192. -- MISC
  193. local Misc = Window:NewTab("Misc")
  194. local MiscSection = Misc:NewSection("Misc")
  195.  
  196. MiscSection:NewToggle("Anti AFK", "Previene que te expulsen por inactividad", function(state)
  197.     if state then
  198.         local vu = game:GetService("VirtualUser")
  199.         game:GetService("Players").LocalPlayer.Idled:connect(function()
  200.             vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  201.             wait(1)
  202.             vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  203.         end)
  204.     end
  205. end)
  206.  
  207. -- Protecciones adicionales
  208. local Players = game:GetService("Players")
  209. local Player = Players.LocalPlayer
  210.  
  211. game:GetService("RunService").RenderStepped:Connect(function()
  212.     pcall(function()
  213.         if Player.Character and Player.Character:FindFirstChild("Humanoid") then
  214.             if Player.Character.Humanoid.Health <= 0 then
  215.                 wait(5)
  216.                 if getgenv().autoCollect then
  217.                     getgenv().autoCollect = true
  218.                 end
  219.                 if getgenv().killAura then
  220.                     getgenv().killAura = true
  221.                 end
  222.             end
  223.         end
  224.     end)
  225. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement