Advertisement
TheMoonGoddess

[Roblox: Chat Log script] - Working as of February 15, 2020 (Exploiting script!)

Oct 1st, 2021
6,568
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.14 KB | None | 0 0
  1. -- Version: 2.82
  2. -- Instances:
  3. local ChatGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local LogPanel = Instance.new("ScrollingFrame")
  6. local Close = Instance.new("TextButton")
  7. local Mini = Instance.new("TextButton")
  8. local Log = Instance.new("TextButton")
  9. local title = Instance.new("TextLabel")
  10. --Properties:
  11. ChatGui.Name = "ChatGui"
  12. ChatGui.Parent = game.Players.LocalPlayer.PlayerGui
  13. ChatGui.ResetOnSpawn = false
  14.  
  15. Frame.Parent = ChatGui
  16. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  17. Frame.BorderSizePixel = 0
  18. Frame.Position = UDim2.new(0.0278396439, 0, 0.565217376, 0)
  19. Frame.Size = UDim2.new(0, 392, 0, 25)
  20. Frame.Active = true
  21. Frame.Draggable = true
  22.  
  23. LogPanel.Name = "LogPanel"
  24. LogPanel.Parent = Frame
  25. LogPanel.BackgroundColor3 = Color3.new(0, 0, 0)
  26. LogPanel.BorderColor3 = Color3.new(0.223529, 0.223529, 0.223529)
  27. LogPanel.Position = UDim2.new(-0.000221580267, 0, 0.968695641, 0)
  28. LogPanel.Size = UDim2.new(0, 392, 0, 203)
  29. LogPanel.ScrollBarThickness = 5
  30. LogPanel.ScrollingEnabled = true
  31. LogPanel.CanvasSize=UDim2.new(2,0,100,0)
  32.  
  33. Close.Name = "Close"
  34. Close.Parent = Frame
  35. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  36. Close.BackgroundTransparency = 1
  37. Close.Position = UDim2.new(0.823979557, 0, 0.0399999991, 0)
  38. Close.Size = UDim2.new(0, 69, 0, 24)
  39. Close.Font = Enum.Font.SourceSans
  40. Close.Text = "Close"
  41. Close.TextColor3 = Color3.new(1, 1, 1)
  42. Close.TextSize = 14
  43.  
  44. Mini.Name = "Mini"
  45. Mini.Parent = Frame
  46. Mini.BackgroundColor3 = Color3.new(1, 1, 1)
  47. Mini.BackgroundTransparency = 1
  48. Mini.Position = UDim2.new(0.647959173, 0, 0, 0)
  49. Mini.Size = UDim2.new(0, 69, 0, 24)
  50. Mini.Font = Enum.Font.SourceSans
  51. Mini.Text = "Minimize"
  52. Mini.TextColor3 = Color3.new(1, 1, 1)
  53. Mini.TextSize = 14
  54.  
  55. Log.Name = "Log"
  56. Log.Parent = Frame
  57. Log.BackgroundColor3 = Color3.new(1, 1, 1)
  58. Log.BackgroundTransparency = 1
  59. Log.Position = UDim2.new(0.293367326, 0, 0, 0)
  60. Log.Size = UDim2.new(0, 69, 0, 24)
  61. Log.Font = Enum.Font.SourceSans
  62. Log.Text = "Log Chat [ON]"
  63. Log.TextColor3 = Color3.new(1, 1, 1)
  64. Log.TextSize = 14
  65.  
  66. title.Name = "title"
  67. title.Parent = Frame
  68. title.BackgroundColor3 = Color3.new(1, 1, 1)
  69. title.BackgroundTransparency = 1
  70. title.Size = UDim2.new(0, 115, 0, 24)
  71. title.Font = Enum.Font.SourceSans
  72. title.Text = "Chat GUI"
  73. title.TextColor3 = Color3.new(1, 1, 1)
  74. title.TextSize = 14
  75. title.TextXAlignment = Enum.TextXAlignment.Left
  76. -- Scripts:
  77. local logging = true
  78. local minimized = false
  79. Log.MouseButton1Down:Connect(function()
  80. logging = not logging
  81. if logging then Log.Text = "Log Chat [ON]" else Log.Text = "Log Chat [OFF]" end
  82. end)
  83. Mini.MouseButton1Down:Connect(function()
  84. if minimized then
  85. LogPanel:TweenSize(UDim2.new(0, 392, 0, 203), "InOut", "Sine", 0.5, false, nil)
  86. else
  87. LogPanel:TweenSize(UDim2.new(0, 392, 0, 0), "InOut", "Sine", 0.5, false, nil)
  88. end
  89. minimized = not minimized
  90. end)
  91. Close.MouseButton1Down:Connect(function()
  92. ChatGui:Destroy()
  93. end)
  94.  
  95. local prevOutputPos = 0
  96. function output(plr, msg)
  97. if not logging then return end
  98. local colour = Color3.fromRGB(255,255,255)
  99.  
  100. if string.sub(msg, 1,1) == ":" or string.sub(msg,1,1) == ";" then colour = Color3.fromRGB(255,0,0) elseif string.sub(msg,1,2) == "/w" or string.sub(msg,1,7) == "/whisper" or string.sub(msg,1,5) == "/team" or string.sub(msg,1,2) == "/t" then colour = Color3.fromRGB(0,0,255) else colour = Color3.fromRGB(255,255,255) end
  101.  
  102. local o = Instance.new("TextLabel",LogPanel)
  103. o.Text = plr.Name .. ": " .. msg
  104. o.Size = UDim2.new(0.5,0,.006,0)
  105. o.Position = UDim2.new(0,0,.007 + prevOutputPos ,0)
  106. o.Font = Enum.Font.SourceSansSemibold
  107. o.TextColor3 = colour
  108. o.TextStrokeTransparency = 0
  109. o.BackgroundTransparency = 0
  110. o.BackgroundColor3 = Color3.new(0,0,0)
  111. o.BorderSizePixel = 0
  112. o.BorderColor3 = Color3.new(0,0,0)
  113. o.FontSize = "Size14"
  114. o.TextXAlignment = Enum.TextXAlignment.Left
  115. o.ClipsDescendants = true
  116. prevOutputPos = prevOutputPos + 0.007
  117. end
  118.  
  119. for i,v in pairs(game.Players:GetChildren()) do
  120. v.Chatted:Connect(function(msg)
  121. output(v, msg)
  122. end)
  123. end
  124.  
  125. game.Players.ChildAdded:Connect(function(plr)
  126. if plr:IsA("Player") then
  127. plr.Chatted:Connect(function(msg)
  128. output(plr, msg)
  129. end)
  130. end
  131. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement