Kick hub 2
Key RequiredUniversal

Kick hub 2

Universal ScriptAlapativenkataratnaAlapativenkataratna 49.2K views 1.7K executesUpdated Sep 15, 2024
3.8/ 5(4 votes)
3175% Positive
Lua Script•80 lines (2649 chars)
-- Create the ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "UsernameGui"
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

-- Create a frame to hold the TextBox and TextButton
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0.4, 0, 0.3, 0)
frame.Position = UDim2.new(0.3, 0, 0.35, 0)
frame.BackgroundColor3 = Color3.fromRGB(0, 255, 0) -- Green background
frame.Parent = screenGui

-- Create the TextBox for the username
local usernameTextBox = Instance.new("TextBox")
usernameTextBox.Name = "UsernameTextBox"
usernameTextBox.Size = UDim2.new(0.8, 0, 0.3, 0)
usernameTextBox.Position = UDim2.new(0.1, 0, 0.2, 0)
usernameTextBox.PlaceholderText = "Enter your username"
usernameTextBox.Parent = frame

-- Create the TextButton
local submitButton = Instance.new("TextButton")
submitButton.Name = "SubmitButton"
submitButton.Size = UDim2.new(0.8, 0, 0.3, 0)
submitButton.Position = UDim2.new(0.1, 0, 0.55, 0)
submitButton.Text = "Submit"
submitButton.Parent = frame

-- Create a label with text
local devLabel = Instance.new("TextLabel")
devLabel.Size = UDim2.new(1, 0, 0.1, 0)
devLabel.Position = UDim2.new(0, 0, 0, 0)
devLabel.Text = "DEV: ALAPATIVENKATARATNAM"
devLabel.TextColor3 = Color3.fromRGB(255, 255, 255) -- White text color
devLabel.BackgroundTransparency = 1
devLabel.Parent = frame

-- Function to handle button click
local function onButtonClick()
    local username = usernameTextBox.Text
    local player = game.Players:FindFirstChild(username)
    if player then
        player:Kick("You are banned. Have fun being banned for hacks and cheats!")
    else
        print("Player not found.")
    end
end

-- Connect the button click event to the function
submitButton.MouseButton1Click:Connect(onButtonClick)

-- Allow dragging of the GUI
local userInputService = game:GetService("UserInputService")
local dragging, dragInput, startPos

local function update(input)
    local delta = input.Position - dragInput
    frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end

local function onInputBegan(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = true
        dragInput = input.Position
        startPos = frame.Position
        input.Changed:Connect(function()
            if input.UserInputState == Enum.UserInputState.End then
                dragging = false
            end
        end)
    end
end

userInputService.InputChanged:Connect(function(input)
    if dragging then
        update(input)
    end
end)

userInputService.InputBegan:Connect(onInputBegan)

Features & Information

You can this in anygame Enter name after name was full no space

Community Comments (8)

AlapativenkataratnaAlapativenkataratnaSep 15, 2024(edited)

Wtf bro u make it my self but frame make by gpt ok

vk1212813vk1212813May 18, 2025(edited)

Can’t ban anybody but you can ban yourself

FubusFubusDec 5, 2025

@vk1212813 its kick not ban

AnimationguyAnimationguyJan 8, 2026

Did a 7 yr write the description?

Tuboos92Tuboos92Jan 25, 2026

DOES IT WORK

userkomanderuserkomanderMar 22, 2026

No son

ReaIorgamingReaIorgamingMar 26, 2026

Chat gpt slop

Boypreet620Boypreet620Jun 15, 2026

Common it's dunk we can only ban we common but this is a troll if you have fight with your friend and you knows her p*words of roblox then just log in her account and use this script lol

More Scripts for Universal Scripts