ADVERTISEMENTREMOVE ADS

Chat logger open source

Universal script
2 months ago
Script preview thumbnail
Script Preview

Description

Here sorry for the owner I kinda Deobfuscate he’s script But THIS IS OPEN SOURCE!

Features:

  • Chat
  • Free
  • Opensource
  • Leak
ADVERTISEMENTREMOVE ADS
134 Lines • 4.54 KiB
Raw
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TextChatService = game:FindFirstChild("TextChatService")
local CoreGui = game:GetService("CoreGui")
local ChatViewerGui = Instance.new("ScreenGui")
ChatViewerGui.Name = "MinusLogsChatViewer"
ChatViewerGui.ResetOnSpawn = false
ChatViewerGui.IgnoreGuiInset = true
ChatViewerGui.Parent = CoreGui
local MainFrame = Instance.new("Frame")
MainFrame.Parent = ChatViewerGui
MainFrame.Size = UDim2.new(0, 400, 0, 300)
MainFrame.Position = UDim2.new(0, 20, 0, 200)
MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
MainFrame.BackgroundTransparency = 0.1
MainFrame.Active = true
Instance.new("UICorner", MainFrame).CornerRadius = UDim.new(0, 12)
local TitleBar = Instance.new("Frame")
TitleBar.Parent = MainFrame
TitleBar.Size = UDim2.new(1, 0, 0, 28)
TitleBar.BackgroundTransparency = 0.3
TitleBar.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
Instance.new("UICorner", TitleBar).CornerRadius = UDim.new(0, 12)
local Title = Instance.new("TextLabel")
Title.Parent = TitleBar
Title.Text = "Minus Logs Chat Viewer"
Title.Font = Enum.Font.GothamBold
Title.TextSize = 14
Title.TextColor3 = Color3.fromRGB(230, 230, 230)
Title.BackgroundTransparency = 1
Title.Size = UDim2.new(1, -40, 1, 0)
Title.Position = UDim2.new(0, 5, 0, 0)
Title.TextXAlignment = Enum.TextXAlignment.Left
local CloseBtn = Instance.new("TextButton")
CloseBtn.Parent = TitleBar
CloseBtn.Size = UDim2.new(0, 28, 0, 28)
CloseBtn.Position = UDim2.new(1, -30, 0, 0)
CloseBtn.Text = "X"
CloseBtn.Font = Enum.Font.GothamBold
CloseBtn.TextSize = 16
CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseBtn.BackgroundTransparency = 1
local ReopenBtn = Instance.new("TextButton")
ReopenBtn.Parent = ChatViewerGui
ReopenBtn.Size = UDim2.new(0, 40, 0, 20)
ReopenBtn.Position = UDim2.new(0, 10, 1, -10)
ReopenBtn.AnchorPoint = Vector2.new(0, 1)
ReopenBtn.Text = "▲"
ReopenBtn.Font = Enum.Font.GothamBold
ReopenBtn.TextSize = 18
ReopenBtn.TextColor3 = Color3.fromRGB(230, 230, 230)
ReopenBtn.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
ReopenBtn.BackgroundTransparency = 0.6
ReopenBtn.ZIndex = 10
ReopenBtn.Visible = false
Instance.new("UICorner", ReopenBtn).CornerRadius = UDim.new(0, 4)
CloseBtn.MouseButton1Click:Connect(function()
MainFrame.Visible = false
ReopenBtn.Visible = true
end)
ReopenBtn.MouseButton1Click:Connect(function()
MainFrame.Visible = true
ReopenBtn.Visible = false
end)
local ChatLog = Instance.new("ScrollingFrame")
ChatLog.Parent = MainFrame
ChatLog.Size = UDim2.new(1, -10, 1, -38)
ChatLog.Position = UDim2.new(0, 5, 0, 33)
ChatLog.BackgroundTransparency = 1
ChatLog.ScrollBarThickness = 6
ChatLog.CanvasSize = UDim2.new(0, 0, 0, 0)
ChatLog.AutomaticCanvasSize = Enum.AutomaticSize.Y
local ChatLayout = Instance.new("UIListLayout")
ChatLayout.Parent = ChatLog
ChatLayout.Padding = UDim.new(0, 4)
ChatLayout.SortOrder = Enum.SortOrder.LayoutOrder
local function AddChatMessage(text)
if string.find(text, "%-%-") then
return
end
local msg = Instance.new("TextLabel")
msg.BackgroundTransparency = 1
msg.Size = UDim2.new(1, 0, 0, 0)
msg.Font = Enum.Font.Gotham
msg.TextSize = 14
msg.TextColor3 = Color3.fromRGB(230, 230, 230)
msg.TextXAlignment = Enum.TextXAlignment.Left
msg.TextYAlignment = Enum.TextYAlignment.Top
msg.TextWrapped = true
msg.Text = text
msg.Parent = ChatLog
msg.Size = UDim2.new(1, 0, 0, 1080)
ChatLog.CanvasSize = UDim2.new(0, 0, 0, 1080)
ChatLog.CanvasPosition = Vector2.new(0, 0)
end
local success, legacyChat = pcall(function()
return ReplicatedStorage:WaitForChild("DefaultChatSystemChatEvents", 3)
end)
if success and legacyChat then
local OnMessage = legacyChat:FindFirstChild("OnMessageDoneFiltering")
if OnMessage then
OnMessage.OnClientEvent:Connect(function(messageData)
local from = messageData.FromSpeaker
local text = messageData.Message
AddChatMessage("[" .. from .. "]:" .. text)
end)
AddChatMessage("[Minus Logs]:[Legacy Chat]Hooked.")
end
end
if TextChatService then
TextChatService.MessageReceived:Connect(function(message)
local speaker = message.TextSource.Name
local text = message.Text
AddChatMessage("[" .. speaker .. "]:" .. text)
end)
AddChatMessage("[Minus Logs]:[TextChatService]Hooked.")
end
AddChatMessage("[Minus Logs]:Minus Logs Loaded. Full messages now visible.")
ADVERTISEMENTREMOVE ADS

Comments

0 comments
to add a comment
Loading comments
ADVERTISEMENTREMOVE ADS