Advertisement
MaxproGlitcher

chats logs privite

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