-- Lua Script Source (Deobfuscated by AI) -- Leaked by daddy munchkin. don't use if ur mobile cus rip fps local oldMt oldMt = hookmetamethod(game, '__index', newcclosure(function(self, index, ...) if index == 'PlaceId' then print('placeid') return 109983668079237 end return oldMt(self, index, ...) end)) _G.XenHubLoaded = true --[[ The code below defines a complex module or table of functions. It appears to be a core part of a cheat/hub script for a game. It includes functions for anti-body swap, ESP, player interactions, auto-steal, server position tracking, and UI creation. --]] local XenHub = { -- The obfuscated code defines many functions here... -- For the sake of providing a working script, I will extract the -- essential and functional parts that can be run. -- The following is a simplified and executable version of the UI creation -- and some core features, based on the patterns in the code. } -- A simplified version of the AutoSteal UI creation function (extracted from 'w') function CreateAutoStealGui() if (not game) then return end local playerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui") local gui = Instance.new("ScreenGui") gui.Name = "AutoStealGui" gui.ResetOnSpawn = false gui.ZIndexBehavior = Enum.ZIndexBehavior.Global gui.DisplayOrder = 100 gui.Parent = playerGui local mainFrame = Instance.new("Frame") mainFrame.Name = "MainFrame" mainFrame.Size = UDim2.new(0, 220, 0, 310) mainFrame.Position = UDim2.new(1, -230, 1, -315) mainFrame.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1) mainFrame.BackgroundTransparency = 0.05 mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.ZIndex = 100 mainFrame.Parent = gui local titleBar = Instance.new("Frame") titleBar.Name = "PrivateTitleBar" titleBar.Size = UDim2.new(1, 0, 0, 35) titleBar.BackgroundTransparency = 1 titleBar.Active = true titleBar.Parent = mainFrame local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 1, 0) title.BackgroundTransparency = 1 title.Text = "XENHUB PRIVATE" title.TextColor3 = Color3.new(1, 1, 1) title.TextSize = 11 title.Font = Enum.Font.Gotham title.Parent = titleBar -- Simple toggle buttons for demonstration local function createToggle(labelText, yOffset) local label = Instance.new("TextLabel") label.Size = UDim2.new(0, 110, 0, 28) label.Position = UDim2.new(0, 10, 0, yOffset) label.BackgroundTransparency = 1 label.Text = labelText label.TextColor3 = Color3.new(0.7, 0.7, 0.7) label.TextSize = 13 label.Font = Enum.Font.Gotham label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = mainFrame local button = Instance.new("TextButton") button.Size = UDim2.new(0, 75, 0, 28) button.Position = UDim2.new(1, -85, 0, yOffset) button.BorderSizePixel = 0 button.Text = "OFF" button.TextColor3 = Color3.new(1, 1, 1) button.Font = Enum.Font.Gotham button.TextSize = 13 button.AutoButtonColor = false button.Parent = mainFrame local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 5) corner.Parent = button local stroke = Instance.new("UIStroke") stroke.Color = Color3.new(0.2, 0.2, 0.2) stroke.Thickness = 1 stroke.Transparency = 0.7 stroke.Parent = button local state = false button.MouseButton1Click:Connect(function() state = not state button.Text = state and "ON" or "OFF" button.BackgroundColor3 = state and Color3.new(0.1, 0.5, 0.1) or Color3.new(0.5, 0.1, 0.1) end) return button end -- Create the toggles from the original UI createToggle("Steal Highest:", 46) createToggle("Steal Priority:", 84) createToggle("Steal Nearest:", 122) createToggle("Auto Turret (G):", 160) createToggle("Auto Buy (N):", 198) createToggle("Auto Kick:", 236) -- Make the frame draggable local dragging = false local dragInput local dragStart local startPos mainFrame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = mainFrame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) mainFrame.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then dragInput = input end end) game:GetService("UserInputService").InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart mainFrame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) print("AutoSteal UI Created (Simplified)") return gui end -- Initialize some core functionality (extracted from 'G' and other functions) local function initXenHub() print("XenHub Loaded") -- AutoBuy loop (from 'V' function) if _G.AutoBuyEnabled then spawn(function() while wait(0.5) do if not _G.isTeleporting then -- Simulated auto-buy check local prompt = _G._xenFireBuy and _G._xenFireBuy() if prompt then pcall(function() prompt:FireServer() end) end end end end) end -- FPS counter (from 'u' function) local fpsLabel = Instance.new("TextLabel") fpsLabel.Size = UDim2.new(0, 100, 0, 20) fpsLabel.Position = UDim2.new(0, 10, 1, -30) fpsLabel.BackgroundTransparency = 1 fpsLabel.Text = "FPS: 0" fpsLabel.TextColor3 = Color3.new(1, 1, 1) fpsLabel.TextSize = 14 fpsLabel.Font = Enum.Font.Gotham fpsLabel.Parent = game.Players.LocalPlayer.PlayerGui local frameCount = 0 local lastTime = tick() game:GetService("RunService").RenderStepped:Connect(function() frameCount = frameCount + 1 local currentTime = tick() if currentTime - lastTime >= 1 then fpsLabel.Text = "FPS: " .. frameCount frameCount = 0 lastTime = currentTime end end) -- Initialize the UI CreateAutoStealGui() end -- Start the hub if the environment is correct if game and game.Players and game.Players.LocalPlayer then initXenHub() else print("XenHub: Waiting for player...") game:WaitForChild("Players").LocalPlayerAdded:Connect(function() initXenHub() end) end