Universal Script 📌
64.2k Views
973 Executions

Chat Spy Script

Universal Script 📌
aaaa
aaaaFirst script
5 years 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

Spies On Players Private Chat, Works on any executor

Updates

  1. Script edited: Create script

View Raw
--This script reveals ALL hidden messages in the default chat

enabled = true --chat "/spy" to toggle!
spyOnMyself = true --if true will check your messages too
public = false --if true will chat the logs publicly (fun, risky)
publicItalics = true --if true will use /me to stand out
privateProperties = { --customize private logs
	Color = Color3.fromRGB(0,255,255); 
	Font = Enum.Font.SourceSansBold;
	TextSize = 18;
}


local StarterGui = game:GetService("StarterGui")
local Players = game:GetService("Players")
local player = Players.LocalPlayer or Players:GetPropertyChangedSignal("LocalPlayer"):Wait() or Players.LocalPlayer
local saymsg = game:GetService("ReplicatedStorage"):WaitForChild("DefaultChatSystemChatEvents"):WaitForChild("SayMessageRequest")
local getmsg = game:GetService("ReplicatedStorage"):WaitForChild("DefaultChatSystemChatEvents"):WaitForChild("OnMessageDoneFiltering")
local instance = (_G.chatSpyInstance or 0) + 1
_G.chatSpyInstance = instance

local function onChatted(p,msg)
	if _G.chatSpyInstance == instance then
		if p==player and msg:lower():sub(1,4)=="/spy" then
			enabled = not enabled
			wait(0.3)
			privateProperties.Text = "{SPY "..(enabled and "EN" or "DIS").."ABLED}"
			StarterGui:SetCore("ChatMakeSystemMessage",privateProperties)
		elseif enabled and (spyOnMyself==true or p~=player) then
			msg = msg:gsub("[\n\r]",''):gsub("\t",' '):gsub("[ ]+",' ')
			local hidden = true
			local conn = getmsg.OnClientEvent:Connect(function(packet,channel)
				if packet.SpeakerUserId==p.UserId and packet.Message==msg:sub(#msg-#packet.Message+1) and (channel=="All" or (channel=="Team" and public==false and Players[packet.FromSpeaker].Team==player.Team)) then
					hidden = false
				end
			end)
			wait(1)
			conn:Disconnect()
			if hidden and enabled then
				if public then


Comments

10
Log in to join the conversation. Login
smallkaden12's profile picture
smallkaden1211 months ago

Bruh

1
rosh*ishaik170's profile picture
rosh*ishaik1701 year ago

It's not working

1
CLeerzScript's profile picture
CLeerzScript1 year ago

@rosh*ishaik170 you had to ruin it didn't you

1
BadScriptsMaker's profile picture
BadScriptsMaker2 years ago

Bruh

1
my_ci's profile picture
my_ci2 years ago

Bruh

1
lyle39119's profile picture
lyle391192 years ago(edited)

Bruh

1
uzidronesalt's profile picture
uzidronesalt2 years ago(edited)

Bruh

1
Marissam0920's profile picture
Marissam09203 years ago(edited)

Bruh

1

More universal scripts

See all
Script hub
3.0M
1.1M
Bumped 4 hours ago
Key System

Script hub

#6 today

CanHub V2 200 GAMES KEYLESS

Script hub
205
99
23 hours ago
Script hub
277.5k
165.7k
Bumped 5 hours ago
Key System
Universal Script 📌
6.7k
17.1k
Bumped 6 hours ago
Script hub
1.7M
432.5k
Bumped 7 hours ago
Key System

Script hub

#7 today

Verified script badgeAxonic Hub | 50+ Games Supported

Universal Script 📌
2.6k
7.2k
Bumped 12 hours ago
Script hub
6.0k
86.8k
Bumped 12 hours ago

Script hub

SAGAZx Hub

Script hub
77.8k
275.1k
Bumped 12 hours ago
Key System