Advertisement
MaxproGlitcher

(chats logs privite Béta)

Feb 12th, 2023 (edited)
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. game:GetService("StarterGui"):SetCore("SendNotification",{
  2. Title = "Chats Log",
  3. Text = "Script a été executer",
  4. Icon = "rbxassetid://13120601407",
  5. Duration = 15
  6. })
  7.  
  8. wait(5)
  9.  
  10. while true do
  11. game:GetService("StarterGui"):SetCore("SendNotification", {
  12. Title = "Refresh",
  13. Text = "Vérification des messages",
  14. Icon = "rbxassetid://14485814558",
  15. Duration = 15
  16. })
  17. wait(10)
  18. end
  19. --[[
  20. I found a method to bypass the messages private by roblox Exclu By MaxproGlitcher#6199
  21. Title = <string> - The title of the notification.
  22. Content = <string> - The content of the notification.
  23. Image = <string> - The icon of the notification.
  24. Time = <number> - The duration of the notfication.
  25. ]]
  26. --This script reveals ALL hidden messages in the default chat
  27. --chat "/spy" to toggle!
  28. enabled = true
  29. --if true will check your messages too
  30. spyOnMyself = true
  31. --if true will chat the logs publicly (fun, risky)
  32. public = false
  33. --if true will use /me to stand out
  34. publicItalics = true
  35. --customize private logs
  36. privateProperties = {
  37. Color = Color3.fromRGB(0, 0, 255);
  38. Font = Enum.Font.SourceSansBold;
  39. TextSize = 18;
  40. }
  41. local StarterGui = game:GetService("StarterGui")
  42. local Players = game:GetService("Players")
  43. local player = Players.LocalPlayer
  44. local saymsg = game:GetService("ReplicatedStorage"):WaitForChild("DefaultChatSystemChatEvents"):WaitForChild("SayMessageRequest")
  45. local getmsg = game:GetService("ReplicatedStorage"):WaitForChild("DefaultChatSystemChatEvents"):WaitForChild("OnMessageDoneFiltering")
  46. local instance = (_G.chatSpyInstance or 0) + 1
  47. _G.chatSpyInstance = instance
  48.  
  49. local function onChatted(p,msg)
  50. if _G.chatSpyInstance == instance then
  51. if p==player and msg:lower():sub(1,4)=="/spy" then
  52. enabled = not enabled
  53. wait(0.3)
  54. privateProperties.Text = "{SPY "..(enabled and "EN" or "DIS").."ABLED}"
  55. StarterGui:SetCore("ChatMakeSystemMessage",privateProperties)
  56. elseif enabled and (spyOnMyself==true or p~=player) then
  57. msg = msg:gsub("[\n\r]",''):gsub("\t",' '):gsub("[ ]+",' ')
  58. local hidden = true
  59. local conn = getmsg.OnClientEvent:Connect(function(packet,channel)
  60. 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
  61. hidden = false
  62. end
  63. end)
  64. wait(1)
  65. conn:Disconnect()
  66. if hidden and enabled then
  67. if public then
  68. saymsg:FireServer((publicItalics and "/me " or '').."{SPY} [".. p.Name .."]: "..msg,"All")
  69. else
  70. privateProperties.Text = "{SPY} [".. p.Name .."]: "..msg
  71. StarterGui:SetCore("ChatMakeSystemMessage",privateProperties)
  72. end
  73. end
  74. end
  75. end
  76. end
  77.  
  78. for _,p in ipairs(Players:GetPlayers()) do
  79. p.Chatted:Connect(function(msg) onChatted(p,msg) end)
  80. end
  81. Players.PlayerAdded:Connect(function(p)
  82. p.Chatted:Connect(function(msg) onChatted(p,msg) end)
  83. end)
  84. privateProperties.Text = "{SPY "..(enabled and "EN" or "DIS").."ABLED}"
  85. StarterGui:SetCore("ChatMakeSystemMessage",privateProperties)
  86. local chatFrame = player.PlayerGui.Chat.Frame
  87. chatFrame.ChatChannelParentFrame.Visible = true
  88. chatFrame.ChatBarParentFrame.Position = chatFrame.ChatChannelParentFrame.Position+UDim2.new(UDim.new(),chatFrame.ChatChannelParentFrame.Size.Y)
  89. game.StarterGui:SetCore('SendNotification', { Title = 'Chats Log'; Text = 'Script create by MaxproGlitcher#6199 Chats Log Exercuter'; })
  90. game.StarterGui:SetCore('SendNotification', { Title = 'Chats Log'; Text = 'Version 1.0'; })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement