Advertisement
DrawingJhon

LogService

Jun 27th, 2020
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. local msg = Instance.new("Hint", workspace)
  2. msg.Text = "."
  3. Game:GetService("LogService").MessageOut:Connect(function(Message, Type)
  4.     if Type == Enum.MessageType.MessageOutput then -- Print
  5.         msg.Text = Message.." (Print)"
  6.     end
  7.     if Type == Enum.MessageType.MessageInfo then -- Info
  8.         msg.Text = Message.." (Info)"
  9.     end
  10.     if Type == Enum.MessageType.MessageWarning then -- Warn
  11.         msg.Text = Message.." (Warn)"
  12.     end
  13.     if Type == Enum.MessageType.MessageError then -- Error
  14.         msg.Text = Message.." (Error)"
  15.     end
  16. end)
  17.  
  18. print("Hello, World!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement