Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local PiggyHubUltimate = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local TopBar = Instance.new("Frame")
- local UICorner_2 = Instance.new("UICorner")
- local Title = Instance.new("TextLabel")
- local MinimizeBtn = Instance.new("TextButton")
- local TabHolder = Instance.new("Frame")
- local UIListLayout = Instance.new("UIListLayout")
- local Container = Instance.new("Frame")
- -- Servicios
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local UserInputService = game:GetService("UserInputService")
- local TweenService = game:GetService("TweenService")
- local LocalPlayer = Players.LocalPlayer
- local Mouse = LocalPlayer:GetMouse()
- -- Variables Globales
- _G.Settings = {
- Speed = 16,
- Jump = 50,
- ESP = false,
- Noclip = false,
- AutoCollect = false,
- KillAura = false,
- Fullbright = false,
- AntiRagdoll = false,
- AutoEscape = false,
- HitReach = false,
- WallHack = false
- }
- -- Configuración GUI
- PiggyHubUltimate.Name = "PiggyHubUltimate"
- PiggyHubUltimate.Parent = game:GetService("CoreGui")
- PiggyHubUltimate.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = PiggyHubUltimate
- MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- MainFrame.Position = UDim2.new(0.5, -200, 0.5, -175)
- MainFrame.Size = UDim2.new(0, 400, 0, 350)
- MainFrame.Active = true
- MainFrame.Draggable = true
- -- Funciones de Utilidad
- local function CreateTween(instance, properties, duration)
- return TweenService:Create(instance, TweenInfo.new(duration, Enum.EasingStyle.Quart), properties)
- end
- local function CreateButton(text, parent)
- local button = Instance.new("TextButton")
- button.Size = UDim2.new(0.9, 0, 0, 30)
- button.Position = UDim2.new(0.05, 0, 0, #parent:GetChildren() * 35)
- button.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- button.Text = text
- button.TextColor3 = Color3.fromRGB(255, 255, 255)
- button.Parent = parent
- local uiCorner = Instance.new("UICorner")
- uiCorner.CornerRadius = UDim.new(0, 6)
- uiCorner.Parent = button
- return button
- end
- -- Funciones Principales
- local function ToggleNoclip()
- _G.Settings.Noclip = not _G.Settings.Noclip
- if _G.Settings.Noclip then
- RunService.Stepped:Connect(function()
- if LocalPlayer.Character then
- for _, part in pairs(LocalPlayer.Character:GetDescendants()) do
- if part:IsA("BasePart") then
- part.CanCollide = false
- end
- end
- end
- end)
- end
- end
- local function ToggleESP()
- _G.Settings.ESP = not _G.Settings.ESP
- while _G.Settings.ESP do
- wait(0.1)
- for _, player in pairs(Players:GetPlayers()) do
- if player ~= LocalPlayer and player.Character then
- if not player.Character:FindFirstChild("ESP") then
- local esp = Instance.new("BoxHandleAdornment")
- esp.Name = "ESP"
- esp.Size = player.Character:WaitForChild("HumanoidRootPart").Size
- esp.Color3 = Color3.new(1, 0, 0)
- esp.Transparency = 0.5
- esp.Adornee = player.Character.HumanoidRootPart
- esp.AlwaysOnTop = true
- esp.ZIndex = 5
- esp.Parent = player.Character
- end
- end
- end
- end
- end
- local function ToggleAutoCollect()
- _G.Settings.AutoCollect = not _G.Settings.AutoCollect
- while _G.Settings.AutoCollect do
- wait(0.1)
- for _, v in pairs(workspace:GetDescendants()) do
- if v:IsA("TouchTransmitter") and v.Parent:FindFirstChild("Collectable") then
- firetouchinterest(LocalPlayer.Character.HumanoidRootPart, v.Parent, 0)
- wait()
- firetouchinterest(LocalPlayer.Character.HumanoidRootPart, v.Parent, 1)
- end
- end
- end
- end
- local function ToggleKillAura()
- _G.Settings.KillAura = not _G.Settings.KillAura
- while _G.Settings.KillAura do
- wait(0.1)
- for _, player in pairs(Players:GetPlayers()) do
- if player ~= LocalPlayer and player.Character and
- LocalPlayer.Character and player.Character:FindFirstChild("Humanoid") and
- player.Character.Humanoid.Health > 0 then
- local distance = (player.Character.HumanoidRootPart.Position - LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
- if distance <= 15 then
- local args = {
- [1] = player.Character.Humanoid
- }
- game:GetService("ReplicatedStorage").Remotes.Damage:FireServer(unpack(args))
- end
- end
- end
- end
- end
- -- Anti-Detección
- local mt = getrawmetatable(game)
- setreadonly(mt, false)
- local oldindex = mt.__index
- mt.__index = newcclosure(function(self,k)
- if checkcaller() then return oldindex(self,k) end
- if k == "WalkSpeed" or k == "JumpPower" then
- return 16
- end
- return oldindex(self,k)
- end)
- setreadonly(mt, true)
- -- Crear Pestañas
- local function CreateTab(name)
- local tab = Instance.new("TextButton")
- tab.Name = name
- tab.Parent = TabHolder
- tab.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- tab.Size = UDim2.new(1, 0, 0, 30)
- tab.Text = name
- tab.TextColor3 = Color3.fromRGB(255, 255, 255)
- local uiCorner = Instance.new("UICorner")
- uiCorner.CornerRadius = UDim.new(0, 6)
- uiCorner.Parent = tab
- return tab
- end
- -- Inicialización de Pestañas
- local PlayerTab = CreateTab("Player")
- local CombatTab = CreateTab("Combat")
- local VisualsTab = CreateTab("Visuals")
- local MiscTab = CreateTab("Misc")
- -- Crear Contenido de Pestañas
- local function CreateToggleButton(parent, text, callback)
- local button = CreateButton(text, parent)
- local enabled = false
- button.MouseButton1Click:Connect(function()
- enabled = not enabled
- button.BackgroundColor3 = enabled and Color3.fromRGB(0, 170, 127) or Color3.fromRGB(35, 35, 35)
- callback(enabled)
- end)
- return button
- end
- -- Keybinds
- UserInputService.InputBegan:Connect(function(input, gameProcessed)
- if not gameProcessed then
- if input.KeyCode == Enum.KeyCode.RightControl then
- MainFrame.Visible = not MainFrame.Visible
- end
- end
- end)
- -- Inicialización
- local function Init()
- -- Crear botones y funcionalidad
- CreateToggleButton(PlayerTab, "Speed Hack", function(enabled)
- _G.Settings.Speed = enabled and 32 or 16
- if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
- LocalPlayer.Character.Humanoid.WalkSpeed = _G.Settings.Speed
- end
- end)
- CreateToggleButton(PlayerTab, "Noclip", ToggleNoclip)
- CreateToggleButton(VisualsTab, "ESP", ToggleESP)
- CreateToggleButton(CombatTab, "Kill Aura", ToggleKillAura)
- CreateToggleButton(MiscTab, "Auto Collect", ToggleAutoCollect)
- end
- Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement