Anti chat admin
Key RequiredUniversal

Anti chat admin

Universal ScriptADSKerADSKer 6.2K views 447 executesUpdated Mar 20, 2025
5.0/ 5(3 votes)
30100% Positive
Lua Script•45 lines (1346 chars)
if game.TextChatService.ChatVersion == Enum.ChatVersion.LegacyChatService then
 game:GetService("RunService").Heartbeat:Connect(function()
   for _, player in next, game.Players:GetPlayers() do
     for _, con in next, getconnections(player.Chatted) do
       con:Disconnect()
     end
   end
 end)
elseif game.TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
  game:GetService("RunService").Heartbeat:Connect(function()
    for _, con in next, getconnections(game.TextChatService.MessageReceived) do
      con:Disconnect()
    end
  end)
end

--[[
  -- I'll just show how they can do it:

local admins = {game.Players.LocalPlayer.UserId, 4636825706}

 game.TextChatService.MessageReceived:Connect(function(info) 
  if info.TextSource and table.find(admins, info.TextSource.UserId) then
    if info.Text:lower() == "/kick" then
 game.Players:ResetLocalPlayer()
   elseif info.Text:lower() == "/kill" then
 game.Players.LocalPlayer.Character.Humanoid:ChangeState("Dead")
   end
  end
 end)
 
 -- or
 
 game.Players.PlayerAdded:Connect(function(player)
   if table.find(admins, player.UserId) then
     player.Chatted:Connect(function(message)
       if message:lower() == "/kick" then
     game.Players:ResetLocalPlayer()
       end
     end)
   end
 end)
 -- firesignal(game.Players.PlayerAdded, game.Players.LocalPlayer)
 
]]

Features & Information

I don't know how useful this will be for you, but some developers add so to speak chat admin with which they can control all those who launched their script via chat and I suggest that this the script will be able to resist this

Community Comments (1)

345fete546546345fete546546Apr 5, 2025

Can you please update your survive in area 51 script?

More Scripts for Universal Scripts