Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --This script reveals ALL hidden messages in the default chat
- --Credit to ThunderMods
- --chat "/spy" to toggle!
- enabled = true
- --if true will check your messages too
- spyOnMyself = false
- --if true will chat the logs publicly (fun, risky)
- public = true --this has to BE ON TRUE OR YOU CANT BYPASS CHAT it makes /e visible to everyon
- --if true will use /me to stand out
- publicItalics = true
- --customize private logs
- privateProperties = {
- 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
- 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
- saymsg:FireServer((publicItalics and "/me " or '').."{SPY} [".. p.Name .."]: "..msg,"All")
- else
- privateProperties.Text = "{SPY} [".. p.Name .."]: "..msg
- StarterGui:SetCore("ChatMakeSystemMessage",privateProperties)
- end
- end
- end
- end
- end
- for _,p in ipairs(Players:GetPlayers()) do
- p.Chatted:Connect(function(msg) onChatted(p,msg) end)
- end
- Players.PlayerAdded:Connect(function(p)
- p.Chatted:Connect(function(msg) onChatted(p,msg) end)
- end)
- privateProperties.Text = "{SPY "..(enabled and "EN" or "DIS").."ABLED}"
- StarterGui:SetCore("ChatMakeSystemMessage",privateProperties)
- local chatFrame = player.PlayerGui.Chat.Frame
- chatFrame.ChatChannelParentFrame.Visible = true
- chatFrame.ChatBarParentFrame.Position = chatFrame.ChatChannelParentFrame.Position+UDim2.new(UDim.new(),chatFrame.ChatChannelParentFrame.Size.Y)
- --Type /e before your messages. Lowercase only.
- game:GetService("Players").LocalPlayer.Chatted:Connect(function(a)
- if a:sub(1,3)=="/e " then
- local b = "VVV ".. a:sub(4) .." VVV"
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(""..string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(string.gsub(b,"Q","Q"),"W","W"),"E","E"),"R","R"),"T","T"),"Y","Y"),"U","U"),"I","I"),"O","O"),"P","P"),"A","A"),"S","S"),"D","D"),"F","F"),"G","G"),"H","H"),"J","J"),"K","K"),"L","L"),"Z","Z"),"X","X"),"C","C"),"V","V"),"B","B"),"N","N"),"M","M"),"q","q"),"w","w"),"e","e"),"r","r"),"t","t"),"y","y"),"u","u"),"i","i"),"o","o"),"p","p"),"a","a"),"s","s"),"d","d"),"f","f"),"g","g"),"h","h"),"j","j"),"k","k"),"l","l"),"z","z"),"x","x"),"c","c"),"v","v"),"b","b"),"n","n"),"m","m"),"fuc","fuc"),"shit","shit"),"dick","dick"),"cock","cock"),"fag","fag"),"bitch","bitch"),"asshole","asshole"),"peni","peni"),"vag","vag"),"what the fuc","what the fuc"),"kik","kik"),"faggo","faggo"),"nigga","nigga"),"nigger","nigger"),"nig ","nig "),"semen","semen"),"hentai","hentai"),"porn","porn"),"www.","www."),".com",".com"),".net",".net"),".org",".org"),"hitl","hitl"),"lolicon","lolicon"),"discord","discord"),"lesbo","lesbo"),"sex","sex"),"bullshit","bullshit"),"motherfuc","motherfuc"),"puss","puss"),"cunt","cunt"),"cum","cum"),"bean","bean"),"chin","chin"),"coon","coon"),"cocaine","cocaine"),"mother fuc","mother fuc"),"tits","tits"),"titt","titt"),"whore","whore"),"slut","slut"),"prostitude","prostitude"),"gaywad","gaywad"),"rap ","rap"),"'","'"),",",","),"!","!"),"?","?"),"/","/"),"http","http"),"https","https"),"Faggot","Faggot"),"Assholes","Assholes"),"Shitt","Shitt"),"mofo","mofo"),"Nigg","Nigg"),"prostitute","prostitute")," "," ")," "," ").."","All")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement