Josemmoya

Untitled

Jul 13th, 2020
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.99 KB | None | 0 0
  1. print("NOT MADE BY ME CREDIT TO DRACONIC HERE IS THE PROOF https://clubdark.net/forum/d/16-chat-log-gui-made-by-me")
  2. print("Made by Draconic#0995")
  3. print("EDITED BY HAPPY_GAGARARA12")
  4. --DOG CAT APPLE#8768
  5.  
  6. local StartUpMessage = "Welcome to Chat Log! | Made by Draconic#0995"
  7.  
  8. local Parent
  9. Parent = game:GetService("CoreGui")
  10.  
  11. local Minimized = false
  12. local Logging = true
  13. local OutputPos = 0
  14. local ScrollingDown = false
  15.  
  16. local ChatLog = Instance.new("ScreenGui")
  17. local Frame = Instance.new("Frame")
  18. local LogPanel = Instance.new("ScrollingFrame")
  19. local TextLabel = Instance.new("TextLabel")
  20. local ChatLogLabel = Instance.new("TextLabel")
  21. local Exit = Instance.new("TextButton")
  22. local Minimize = Instance.new("TextButton")
  23. local Status = Instance.new("TextButton")
  24. local Clear = Instance.new("TextButton")
  25. local FrameHolder = Instance.new("Frame")
  26. local Loading = Instance.new("ImageLabel")
  27.  
  28. ChatLog.Name = "ChatLog"
  29. wait(5)
  30. ChatLog.Parent = game.Players.xavivb01065.PlayerGui
  31. ChatLog.ResetOnSpawn = false
  32.  
  33. Frame.Parent = ChatLog
  34. Frame.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  35. Frame.BackgroundTransparency = 0.20000000298023
  36. Frame.BorderColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  37. Frame.Position = UDim2.new(0, 0, 0, 0)
  38. Frame.Size = UDim2.new(0, 463, 0, 24)
  39. Frame.Visible = false
  40. Frame.Active = false
  41.  
  42. LogPanel.Name = "LogPanel"
  43. LogPanel.Parent = Frame
  44. LogPanel.BackgroundColor3 = Color3.new(0.215686, 0.215686, 0.215686)
  45. LogPanel.BackgroundTransparency = 0.20000000298023
  46. LogPanel.BorderColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  47. LogPanel.Position = UDim2.new(0, 0, 1, 0)
  48. LogPanel.Size = UDim2.new(0, 463, 0, 214)
  49. LogPanel.CanvasSize = UDim2.new(2, 0, 100, 0)
  50.  
  51. TextLabel.Parent = LogPanel
  52. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  53. TextLabel.BackgroundTransparency = 1
  54. TextLabel.Position = UDim2.new(0.0939524844, 0, 0.00291666668, 0)
  55. TextLabel.Size = UDim2.new(0, 301, 0, 11)
  56. TextLabel.Font = Enum.Font.SourceSans
  57. TextLabel.Text = StartUpMessage
  58. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  59. TextLabel.TextSize = 15
  60. TextLabel.TextWrapped = true
  61.  
  62. ChatLogLabel.Name = "ChatLogLabel"
  63. ChatLogLabel.Parent = Frame
  64. ChatLogLabel.BackgroundColor3 = Color3.new(0.215686, 0.215686, 0.215686)
  65. ChatLogLabel.BackgroundTransparency = 1
  66. ChatLogLabel.BorderSizePixel = 0
  67. ChatLogLabel.Position = UDim2.new(-0.00180099811, 0, -0.0416666269, 0)
  68. ChatLogLabel.Size = UDim2.new(0, 463, 0, 23)
  69. ChatLogLabel.Font = Enum.Font.SourceSansBold
  70. ChatLogLabel.Text = "Chat Log"
  71. ChatLogLabel.TextColor3 = Color3.new(1, 1, 1)
  72. ChatLogLabel.TextSize = 20
  73. ChatLogLabel.TextWrapped = true
  74.  
  75. Minimize.Name = "Minimize"
  76. Minimize.Parent = Frame
  77. Minimize.BackgroundColor3 = Color3.new(1, 1, 1)
  78. Minimize.BackgroundTransparency = 1
  79. Minimize.Position = UDim2.new(0.87859416, 0, 0, 0)
  80. Minimize.Size = UDim2.new(0, 19, 0, 21)
  81. Minimize.Font = Enum.Font.Arcade
  82. Minimize.Text = "_"
  83. Minimize.TextColor3 = Color3.new(1, 1, 1)
  84. Minimize.TextSize = 16
  85. Minimize.TextWrapped = true
  86.  
  87. Minimize.MouseButton1Down:Connect(function()
  88. if Minimized then
  89. LogPanel.Visible = true
  90. wait(0.03)
  91. LogPanel:TweenSize(UDim2.new(0, 463, 0, 214), "InOut", "Sine", 0.5, false, nil)
  92. else
  93. LogPanel.Visible = false
  94. wait(0.03)
  95. LogPanel:TweenSize(UDim2.new(0, 463, 0, 1), "InOut", "Sine", 0.5, false, nil)
  96. end
  97. Minimized = not Minimized
  98. end)
  99.  
  100. Status.Name = "Status"
  101. Status.Parent = Frame
  102. Status.BackgroundColor3 = Color3.new(1, 1, 1)
  103. Status.BackgroundTransparency = 1
  104. Status.Position = UDim2.new(0, 0, 0.0416666679, 0)
  105. Status.Size = UDim2.new(0, 54, 0, 20)
  106. Status.Font = Enum.Font.Highway
  107. Status.Text = "Online"
  108. Status.TextColor3 = Color3.new(0.301961, 0.988235, 0.0509804)
  109. Status.TextSize = 14
  110.  
  111. Status.MouseButton1Down:Connect(function()
  112. Logging = not Logging
  113. if Logging then
  114. Status.Text = "Online"
  115. Status.TextColor3 = Color3.new(0.301961, 0.988235, 0.0509804)
  116. else
  117. Status.Text = "Offline"
  118. Status.TextColor3 = Color3.new(0.988235, 0.164706, 0)
  119. end
  120. end)
  121.  
  122. function Output(Player, Message)
  123. if not Logging then return end
  124. local Color = Color3.fromRGB(255,255,255)
  125. if string.sub(Message, 1,1) == ":" or string.sub(Message,1,1) == ";" then
  126. Color = Color3.fromRGB(220,20,60)
  127. elseif string.sub(Message,1,2) == "/w" or string.sub(Message,1,8) == "/whisper" then
  128. Color = Color3.fromRGB(228, 16, 255)
  129. elseif string.sub(Message, 1,2) == "/e" then
  130. Color = Color3.fromRGB(57, 214, 86)
  131. elseif string.sub(Message, 1,2) == "c/" or string.sub(Message,1,3) == "hl/" or string.sub(Message,1,5) == "http/" or string.sub(Message,1,2) == "h/" or string.sub(Message,1,10) == "httplocal/" or string.sub(Message,1,6) == "httpl/" or string.sub(Message,1,5) == "edit/" or string.sub(Message,1,9) == "edithttp/" or string.sub(Message,1,6) == "edith/" or string.sub(Message,1,3) == "eh/" or string.sub(Message,1,6) == "local/" or string.sub(Message,1,2) == "l/" or string.sub(Message,1,3) == "cs/" or string.sub(Message,1,2) == "x/" or string.sub(Message,1,2) == "x/"then
  132. Color = Color3.fromRGB(255, 202, 43)
  133. elseif string.sub(Message,1,1) == "?" or string.sub(Message,1,1) == "!" or string.sub(Message,1,1) == ">" or string.sub(Message,1,1) == "<" then
  134. Color = Color3.fromRGB(255, 202, 43)
  135. elseif string.sub(Message,1,3) == "/me" then
  136. Color = Color3.fromRGB(19, 179, 214)
  137. elseif string.sub(Message,1,2) == "g/" or string.sub(Message,1,3) == "sb/" or string.sub(Message,1,2) == "r/" or string.sub(Message,1,5) == "save/" or string.sub(Message,1,5) == "exit/" or string.sub(Message,1,4) == "get/" or string.sub(Message,1,7) == "create/" or string.sub(Message,1,5) == "stop/" or string.sub(Message,1,3) == "rl/" or string.sub(Message,1,6) == "share/" or string.sub(Message,1,13) == "httpnewlocal/" or string.sub(Message,1,4) == "hnl/" or string.sub(Message,1,9) == "newlocal/" or string.sub(Message,1,3) == "nl/" or string.sub(Message,1,12) == "createlocal/" then
  138. Color = Color3.fromRGB(255, 155, 157)
  139. elseif string.sub(Message,1,7) == "remove/" or string.sub(Message,1,2) == "i/" or string.sub(Message,1,7) == "insert/" or string.sub(Message,1,4) == "run/" or string.sub(Message,1,33) == "uezvbjswjuyffosjwtombdznjahcqiba/" or string.sub(Message,1,11) == "runlocalto/" or string.sub(Message,1,4) == "rlt/" or string.sub(Message,1,7) == "rename/" or string.sub(Message,1,13) == "createsource/" or string.sub(Message,1,7) == "runnew/" or string.sub(Message,1,3) == "rn/" then
  140. Color = Color3.fromRGB(255, 155, 157)
  141. elseif string.sub(Message,1,11) == "createhttp/" or string.sub(Message,1,8) == "createh/" or string.sub(Message,1,3) == "ch/" or string.sub(Message,1,9) == "runlocal/" or string.sub(Message,1,5) == "runl/" or string.sub(Message,1,3) == "rl/" or string.sub(Message,1,7) == "script/" or string.sub(Message,1,7) == "rename/" or string.sub(Message,1,13) == "createsource/" or string.sub(Message,1,7) == "runnew/" or string.sub(Message,1,3) == "rn/" or string.sub(Message,1,9) == "edithttp/" or string.sub(Message,1,6) == "edith/" or string.sub(Message,1,3) == "eh/" or string.sub(Message,1,6) == "local/" or string.sub(Message,1,2) == "l/" or string.sub(Message,1,2) == "x/" then
  142. Color = Color3.fromRGB(255, 155, 157)
  143. elseif string.sub(Message,1,1) == "/" then
  144. Color = Color3.fromRGB(162, 255, 173)
  145. else
  146. Color = Color3.fromRGB(255,255,255)
  147. end
  148. local o = Instance.new("TextLabel", LogPanel)
  149. o.Text = Player.Name .. ": " .. Message
  150. o.Size = UDim2.new(0.5,0,.006,0)
  151. o.Position = UDim2.new(0,0,0.007 + OutputPos , 0)
  152. o.Font = Enum.Font.SourceSansSemibold
  153. o.TextColor3 = Color
  154. o.BackgroundTransparency = 1
  155. o.BackgroundColor3 = Color3.new(0.215686, 0.215686, 0.215686)
  156. o.BorderSizePixel = 0
  157. o.FontSize = "Size14"
  158. o.TextXAlignment = Enum.TextXAlignment.Left
  159. o.ClipsDescendants = true
  160. OutputPos = OutputPos + 0.007
  161. end
  162.  
  163. Clear.Name = "Clear"
  164. Clear.Parent = Frame
  165. Clear.BackgroundColor3 = Color3.new(1, 1, 1)
  166. Clear.BackgroundTransparency = 1
  167. Clear.BorderSizePixel = 0
  168. Clear.Position = UDim2.new(0.748501003, 0, 0, 0)
  169. Clear.Size = UDim2.new(0, 52, 0, 20)
  170. Clear.Font = Enum.Font.Highway
  171. Clear.Text = "Clear"
  172. Clear.TextColor3 = Color3.new(0, 0.627451, 0)
  173. Clear.TextSize = 14
  174.  
  175. Clear.MouseButton1Down:Connect(function()
  176. for i,v in pairs(LogPanel:GetChildren()) do
  177. if v.Text ~= "Welcome to Chat Log! | Made by Draconic#0995" then
  178. v:Destroy()
  179. end
  180. end
  181. OutputPos = 0
  182. end)
  183.  
  184. for i,v in pairs(game.Players:GetChildren()) do
  185. v.Chatted:Connect(function(Message)
  186. Output(v, Message)
  187. end)
  188. end
  189.  
  190. game.Players.ChildAdded:Connect(function(Player)
  191. if Player:IsA("Player") then
  192. Player.Chatted:Connect(function(Message)
  193. Output(Player, Message)
  194. end)
  195. end
  196. end)
  197.  
  198. FrameHolder.Name = "FrameHolder"
  199. FrameHolder.Parent = ChatLog
  200. FrameHolder.BackgroundColor3 = Color3.new(1, 1, 1)
  201. FrameHolder.BackgroundTransparency = 1
  202. FrameHolder.Position = UDim2.new(0, 0, 0, 0)
  203. FrameHolder.Size = UDim2.new(0, 100, 0, 100)
  204.  
  205. Loading.Name = "Loading"
  206. Loading.Parent = FrameHolder
  207. Loading.BackgroundColor3 = Color3.new(1, 1, 1)
  208. Loading.BackgroundTransparency = 1
  209. Loading.Position = UDim2.new(0, 0, 0, 0)
  210. Loading.Size = UDim2.new(0, 436, 0, 346)
  211. Loading.Image = "rbxassetid://2601977061"
  212.  
  213. FrameHolder:TweenPosition(UDim2.new(0.43403694, 0, 0.133466139, 0), "InOut", "Sine", 0.5, false, nil)
  214. wait()
  215. Loading:TweenPosition(UDim2.new(-1.37131715, 0, -0.184999391, 0), "InOut", "Sine", 0.5, false, nil)
  216. wait(2)
  217. Loading:TweenPosition(UDim2.new(-10, 0, -5, 0), "InOut", "Sine", 0.5, false, nil)
  218. wait(1)
  219. FrameHolder:Destroy()
  220.  
  221. Frame.Visible = true
  222. Frame:TweenPosition(UDim2.new(0.307387829, 0, 0.336653352, 0), "InOut", "Sine", 0.5, false, nil)
  223. Frame.Active = true
  224. Frame.Draggable = true
  225. wait()
  226.  
  227. print("Backing Up...")
  228. game.Players.xavivb01065.PlayerGui:FindFirstChild("ChatLog"):Clone().Parent = game.ReplicatedStorage
  229. print("Done!")
Add Comment
Please, Sign In to add comment