Script to stop Robux scams

I’m sick of these “robux scams” so I created a script that weill stop / delete

I’m hoping you fellow developers would use this script so we can stop scams!
(This replicates to the server to just the client)

(In ServerScriptService) Script:

wait()
script.ModuleScript.Parent = game.Chat:WaitForChild("ClientChatModules").CommandModules

(In Script) ModuleScript:

local util = require(script.Parent:WaitForChild("Util"))
 
function ProcessMessage(message, ChatWindow, ChatSettings)
	local v = string.match(message, "rblx.notentering")
	local v2 = string.match(message, "generate")
	local v3 = string.match(message, "browser")
	wait()
	if v or v2 or v3 then
		local currentChannel = ChatWindow:GetCurrentChannel()
		if (currentChannel) then
			currentChannel:RemoveMessageFromChannel()
		end
		return true
	end
	return false
end
 
return {
	[util.KEY_COMMAND_PROCESSOR_TYPE] = util.COMPLETED_MESSAGE_PROCESSOR,
	[util.KEY_PROCESSOR_FUNCTION] = ProcessMessage
}
3 Likes

This topic was automatically closed after 1 minute. New replies are no longer allowed.