Script hub
1.7k Views
2.0k Executions

unknown SPAMMER

Script hub
anshuuji08
anshuuji0810K executions
1 month ago

Reviewed by QueueSherlockPaid revieweron How review works

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

unknown SPAMMER h ji by anshuu papa bolo anshuuu papa SPAMMER no tagz ___ bypass

Supported games 1

Brookhaven RP

All scripts

No features listed for this game yet.

Works in: Brookhaven RP

View Raw
--// UNKNOWN SPAMMER - Combined Advanced RP & Chat System
--// Put this LocalScript in StarterPlayer > StarterPlayerScripts

local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TextChatService = game:GetService("TextChatService")

local lplr = Players.LocalPlayer
local playerGui = lplr:WaitForChild("PlayerGui")

--------------------------------------------------
-- 1. CLEANUP OLD UI
--------------------------------------------------
local oldGui = playerGui:FindFirstChild("UnknownSpammerGUI")
if oldGui then oldGui:Destroy() end

local oldLoading = playerGui:FindFirstChild("UnknownLoading")
if oldLoading then oldLoading:Destroy() end

--------------------------------------------------
-- 2. CHAT SENDER FUNCTION
--------------------------------------------------
local function sendChatMessage(msg)
	if msg == "" then return end

	-- Modern TextChatService
	if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
		local generalChannel = TextChatService.TextChannels:FindFirstChild("RBXGeneral")
		if generalChannel then
			generalChannel:SendAsync(msg)
		end
	else
		-- Legacy ChatService
		local chatEvent = ReplicatedStorage:FindFirstChild("DefaultChatSystemChatEvents")
		if chatEvent then
			local sayMessage = chatEvent:FindFirstChild("SayMessageRequest")
			if sayMessage then
				sayMessage:FireServer(msg, "All")
			end
		end


Comments

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