Universal Script 📌
536 Views
161 Executions

Anti 67

Universal Script 📌
ScriptDAILY
ScriptDAILYPublished 5
9 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

No 67. GET OUT

View Raw
-- LocalScript (put in StarterPlayerScripts)

local Players = game:GetService("Players")
local StarterGui = game:GetService("StarterGui")

local player = Players.LocalPlayer

-- Function to block chat messages containing "67"
local function onPlayerChatted(message)
    if string.find(message, "67") then
        return Enum.ChatCallbackResult.Block
    end
    return Enum.ChatCallbackResult.Default
end

-- Connect the chat filter
player.Chatted:Connect(function(message)
    local result = onPlayerChatted(message)
    if result == Enum.ChatCallbackResult.Block then
        StarterGui:SetCore("ChatMakeSystemMessage", {
            Text = "You cannot say '67'!";
            Color = Color3.fromRGB(255, 0, 0);
            Font = Enum.Font.GothamBold;
            FontSize = Enum.FontSize.Size24;
        })
    end
end)

-- Create the GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = player:WaitForChild("PlayerGui")

local trapButton = Instance.new("TextButton")
trapButton.Size = UDim2.new(0, 200, 0, 50)
trapButton.Position = UDim2.new(0.5, -100, 0.5, -25)
trapButton.Text = "Click this to say 67"
trapButton.BackgroundColor3 = Color3.fromRGB(200, 200, 200)
trapButton.TextColor3 = Color3.fromRGB(20, 20, 20) -- darker text for contrast
trapButton.Font = Enum.Font.GothamBold
trapButton.TextScaled = true -- auto-scales text to fit button


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
46.4k
11.5k
Bumped 2 hours ago
Key System
Paid
Script hub
2.5M
798.8k
Bumped 3 hours ago
Key System

Script hub

#9 today

Verified script badgeLumin Hub | #1 | Insta Steal