SAHIB V3
Key RequiredUniversal

SAHIB V3

Universal ScriptSahibdeep121004Sahibdeep121004 181 views 19 executesUpdated Feb 3, 2026
Unrated
00
Lua Script•246 lines (8156 chars)
local Players = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")
local UserInputService = game:GetService("UserInputService")
local VirtualInputManager = game:GetService("VirtualInputManager")

local player = Players.LocalPlayer
local OWNER_NAME = "Sahib⚡" -- Updated from princewelfer3
local LIMITED_ADMINS = {"Sahib⚡"} -- Updated from princewelfer3

local playerGui = player:WaitForChild("PlayerGui")

-- Destroy old versions to prevent double execution
if playerGui:FindFirstChild("SAHIB⚡ V2") then playerGui["SAHIB⚡ V2"]:Destroy() end
if playerGui:FindFirstChild("SAHIB⚡ V3") then playerGui["SAHIB⚡ V3"]:Destroy() end
if playerGui:FindFirstChild("Sahib") then playerGui["Sahib"]:Destroy() end

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "Sahib" 
screenGui.ResetOnSpawn = false
screenGui.DisplayOrder = 999
screenGui.Parent = playerGui

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 250, 0, 140)
frame.Position = UDim2.new(0.5, -125, 0.5, -70)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = true
frame.Parent = screenGui

local frameCorner = Instance.new("UICorner")
frameCorner.CornerRadius = UDim.new(0, 12)
frameCorner.Parent = frame

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 35)
title.BackgroundTransparency = 1
title.Text = "SAHIB⚡" 
title.TextColor3 = Color3.fromRGB(0, 255, 255)
title.Font = Enum.Font.GothamBlack
title.TextSize = 24
title.Parent = frame

-- Rainbow Title Effect
task.spawn(function()
    while task.wait(0.05) and title.Parent do
        title.TextColor3 = Color3.fromHSV(tick() % 5 / 5, 1, 1)
    end
end)

local textBox = Instance.new("TextBox")
textBox.Size = UDim2.new(1, -30, 0, 35)
textBox.Position = UDim2.new(0, 15, 0, 45)
textBox.BackgroundColor3 = Color3.fromRGB(45, 45, 55)
textBox.PlaceholderText = "ENTER H8TER NAME"
textBox.Text = ""
textBox.TextColor3 = Color3.new(1, 1, 1)
textBox.Font = Enum.Font.GothamSemibold
textBox.TextSize = 17
textBox.ClearTextOnFocus = false
textBox.Parent = frame

local boxCorner = Instance.new("UICorner")
boxCorner.CornerRadius = UDim.new(0, 10)
boxCorner.Parent = textBox

local startBtn = Instance.new("TextButton")
startBtn.Size = UDim2.new(0, 95, 0, 35)
startBtn.Position = UDim2.new(0, 15, 1, -50)
startBtn.BackgroundColor3 = Color3.fromRGB(0, 180, 0)
startBtn.Text = "START"
startBtn.TextColor3 = Color3.new(1, 1, 1)
startBtn.Font = Enum.Font.GothamBold
startBtn.TextSize = 18
startBtn.Parent = frame

local stopBtn = Instance.new("TextButton")
stopBtn.Size = UDim2.new(0, 95, 0, 35)
stopBtn.Position = UDim2.new(1, -110, 1, -50)
stopBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
stopBtn.Text = "STOP"
stopBtn.TextColor3 = Color3.new(1, 1, 1)
stopBtn.Font = Enum.Font.GothamBold
stopBtn.TextSize = 18
stopBtn.Parent = frame

local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 30, 0, 30)
closeBtn.Position = UDim2.new(1, -40, 0, 8)
closeBtn.BackgroundColor3 = Color3.fromRGB(220, 0, 0)
closeBtn.Text = "X"
closeBtn.TextColor3 = Color3.new(1, 1, 1)
closeBtn.Font = Enum.Font.GothamBold
closeBtn.TextSize = 20
closeBtn.Parent = frame

closeBtn.MouseButton1Click:Connect(function() frame.Visible = false end)

UserInputService.InputBegan:Connect(function(input, gp)
    if not gp and input.KeyCode == Enum.KeyCode.Insert then
        frame.Visible = not frame.Visible
    end
end)

local warningLabel = Instance.new("TextLabel")
warningLabel.Size = UDim2.new(1, -20, 0, 50)
warningLabel.Position = UDim2.new(0, 10, 0.5, -25)
warningLabel.BackgroundTransparency = 1
warningLabel.Text = ""
warningLabel.TextColor3 = Color3.fromRGB(255, 100, 100)
warningLabel.Font = Enum.Font.GothamBold
warningLabel.TextSize = 20
warningLabel.TextWrapped = true
warningLabel.Visible = false
warningLabel.Parent = frame

local function showWarning(text)
    warningLabel.Text = text or "You Cant Put Your Fathers Name"
    warningLabel.Visible = true
    task.delay(4, function() warningLabel.Visible = false end)
end

local function normalizeLeet(str)
    str = string.lower(str)
    str = str:gsub("1", "i"):gsub("!", "i"):gsub("3", "e"):gsub("4", "a"):gsub("0", "o"):gsub("5", "s"):gsub("7", "t"):gsub("@", "a"):gsub("$", "s")
    str = str:gsub("[^a-z]", "")
    return str
end

local function isForbiddenName(name)
    if not name or name == "" then return false end
    local normalized = normalizeLeet(name)
    return normalized:find("sahib") or normalized:find("ofx")
end

local cleanTags = {"KING","GOAT","BOSS","LEGEND","MASTER","GOD","BEAST","GIGA","CHAD","SIGMA","ALPHA","OMEGA"}

local customTags = nil
local spamDelay = 0.1
local MAX_CHAT_BYTES = 200
local customEmoji = nil
local muteEndTime = 0

local function antiTag(str) return str:gsub("@", "@") end

local function getPatternWithName(name, tag)
    local emojiPart = customEmoji or ""
    local core = name .. " TMKX MAI " .. tag .. emojiPart
    core = antiTag(core)
    local available = MAX_CHAT_BYTES - #core
    local pattern = string.rep("-_", math.floor(available / 2))
    return pattern .. core
end

local function getCreditPattern()
    local core = "SCRIPT BY SAHIB⚡" 
    core = antiTag(core)
    local available = MAX_CHAT_BYTES - #core
    local pattern = string.rep("-_", math.floor(available / 2))
    return pattern .. core
end

local function sendChatMessage(msg, forceFromOwner)
    forceFromOwner = forceFromOwner or false
    if not forceFromOwner and os.time() < muteEndTime then return end
    local success, channel = pcall(function() return TextChatService.TextChannels:WaitForChild("RBXGeneral", 5) end)
    if success and channel then pcall(function() channel:SendAsync(msg) end) end
end

local isSpamming = false
local spamTask = nil
local IS_LOCKED = false
local IS_KICKED = false
local copycatTarget = {}

local function updateUI()
    stopBtn.Text = IS_LOCKED and "LOCKED" or "STOP"
    startBtn.Text = IS_LOCKED and "LOCKED" or (isSpamming and "RUNNING" or "START")
end

local function stopSpam()
    isSpamming = false
    if spamTask then task.cancel(spamTask) spamTask = nil end
    updateUI()
end

local function startSpam(name)
    if isSpamming or os.time() < muteEndTime then return end
    if isForbiddenName(name) then showWarning() return end
    isSpamming = true
    updateUI()
    spamTask = task.spawn(function()
        local i = 1
        local count = 0
        local tags = customTags or cleanTags
        while isSpamming and os.time() >= muteEndTime do
            count = count + 1
            sendChatMessage(getPatternWithName(name, tags[i]))
            task.wait(spamDelay)
            i = (i % #tags) + 1
            if count >= math.random(7,13) then
                task.wait(0.8)
                sendChatMessage(getCreditPattern())
                task.wait(3)
                count = 0
            end
        end
        stopSpam()
    end)
end

startBtn.MouseButton1Click:Connect(function()
    if IS_LOCKED or os.time() < muteEndTime then return end
    local name = textBox.Text:match("^%s*(.-)%s*$")
    if name ~= "" then startSpam(name) end
end)

stopBtn.MouseButton1Click:Connect(function() if not IS_LOCKED then stopSpam() end end)

-- Remote Command Logic
task.spawn(function()
    local success, channel = pcall(function() return TextChatService.TextChannels:WaitForChild("RBXGeneral", 10) end)
    if not success or not channel then return end

    channel.MessageReceived:Connect(function(msg)
        if not msg.TextSource then return end
        local sender = Players:GetPlayerByUserId(msg.TextSource.UserId)
        if not sender then return end

        local is_owner = sender.Name == OWNER_NAME
        local is_limited_admin = table.find(LIMITED_ADMINS, sender.Name) ~= nil

        if not (is_owner or is_limited_admin) then return end

        local text = msg.Text:lower()
        -- Command check updated for Sahib⚡
        if text == "!kick sahib" or (text:find("!kick") and text:find(player.Name:lower())) then
            if is_owner then
                player:Kick("kicked by SAHIB⚡") 
            end
        end
    end)
end)

updateUI()

Features & Information

Spamming script

Community Comments (1)

sjc912sjc912Feb 3, 2026

stea

More Scripts for Universal Scripts