-- Create the ScreenGui for the Hub local TLKPrisonHub = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local Title = Instance.new("TextLabel") local KillPlayersButton = Instance.new("TextButton") local GodModeButton = Instance.new("TextButton") local ESPButton = Instance.new("TextButton") -- Parent the ScreenGui to the PlayerGui TLKPrisonHub.Name = "TLKPrisonHub" TLKPrisonHub.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") -- Main Frame setup MainFrame.Name = "MainFrame" MainFrame.Parent = TLKPrisonHub MainFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50) MainFrame.BorderSizePixel = 0 MainFrame.Position = UDim2.new(0.3, 0, 0.3, 0) MainFrame.Size = UDim2.new(0, 300, 0, 200) MainFrame.Active = true MainFrame.Draggable = true -- Title setup Title.Name = "Title" Title.Parent = MainFrame Title.BackgroundColor3 = Color3.fromRGB(35, 35, 35) Title.BorderSizePixel = 0 Title.Size = UDim2.new(1, 0, 0.2, 0) Title.Font = Enum.Font.GothamBold Title.Text = "TLK Prison Hub" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 20 -- Kill Players Button KillPlayersButton.Name = "KillPlayersButton" KillPlayersButton.Parent = MainFrame KillPlayersButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) KillPlayersButton.BorderSizePixel = 0 KillPlayersButton.Position = UDim2.new(0.1, 0, 0.3, 0) KillPlayersButton.Size = UDim2.new(0.8, 0, 0.15, 0) KillPlayersButton.Font = Enum.Font.Gotham KillPlayersButton.Text = "Kill Players (Bat)" KillPlayersButton.TextColor3 = Color3.fromRGB(255, 255, 255) KillPlayersButton.TextSize = 16 -- God Mode Button GodModeButton.Name = "GodModeButton" GodModeButton.Parent = MainFrame GodModeButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) GodModeButton.BorderSizePixel = 0 GodModeButton.Position = UDim2.new(0.1, 0, 0.5, 0) GodModeButton.Size = UDim2.new(0.8, 0, 0.15, 0) GodModeButton.Font = Enum.Font.Gotham GodModeButton.Text = "God Mode" GodModeButton.TextColor3 = Color3.fromRGB(255, 255, 255) GodModeButton.TextSize = 16 -- ESP Button ESPButton.Name = "ESPButton" ESPButton.Parent = MainFrame ESPButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) ESPButton.BorderSizePixel = 0 ESPButton.Position = UDim2.new(0.1, 0, 0.7, 0) ESPButton.Size = UDim2.new(0.8, 0, 0.15, 0) ESPButton.Font = Enum.Font.Gotham ESPButton.Text = "ESP Players" ESPButton.TextColor3 = Color3.fromRGB(255, 255, 255) ESPButton.TextSize = 16 -- Kill Players Script (Using Bat) KillPlayersButton.MouseButton1Click:Connect(function() local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local backpack = player:FindFirstChild("Backpack") -- Check if the player has a bat in their inventory or equipped local bat = backpack and backpack:FindFirstChild("Bat") or character:FindFirstChild("Bat") if bat then -- Equip the bat if it's in the backpack if backpack:FindFirstChild("Bat") then bat.Parent = character end -- Iterate through all players and try to kill them for _, otherPlayer in pairs(game.Players:GetPlayers()) do -- Don't attack the local player or dead players if otherPlayer ~= player and otherPlayer.Character then local otherCharacter = otherPlayer.Character local humanoid = otherCharacter:FindFirstChild("Humanoid") -- Only attack players that are alive if humanoid and humanoid.Health > 0 then -- Get the position behind the target player local backPosition = otherCharacter.HumanoidRootPart.Position - otherCharacter.HumanoidRootPart.CFrame.LookVector * 2 -- Move the local player behind the target character:SetPrimaryPartCFrame(CFrame.new(backPosition)) -- Wait a brief moment to ensure the character is properly behind the target wait(0.2) -- Simulate the bat swing by activating it (you should customize this part) -- This assumes the bat has a defined method to deal damage bat:Activate() -- Check if the target's health drops to 0, which indicates they've been killed if humanoid.Health <= 0 then break -- Stop the loop if the player has died end end end end else -- If the player doesn't have a bat, notify them warn("You don't have a bat! Find and equip one first.") end end) -- God Mode Script GodModeButton.MouseButton1Click:Connect(function() local character = game.Players.LocalPlayer.Character if character and character:FindFirstChild("Humanoid") then -- Add a Humanoid with God Mode properties (like invincibility) local humanoid = character:FindFirstChild("Humanoid") humanoid.Health = humanoid.MaxHealth humanoid.MaxHealth = 10000 -- Increase health for god mode humanoid.WalkSpeed = 100 -- Optional: increase walk speed for god mode end end) -- ESP Players Script ESPButton.MouseButton1Click:Connect(function() for _, player in pairs(game.Players:GetPlayers()) do if player ~= game.Players.LocalPlayer and player.Character then for _, part in pairs(player.Character:GetChildren()) do if part:IsA("BasePart") and not part:FindFirstChild("ESP") then local box = Instance.new("BoxHandleAdornment") box.Name = "ESP" box.Size = part.Size box.Adornee = part box.Color3 = Color3.fromRGB(255, 0, 0) box.AlwaysOnTop = true box.ZIndex = 10 box.Parent = part end end end end end)