PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience

LogService.MessageOut

LogService.MessageOut

Oct 01 2018, 2:18 AM PST

Code and output

local msg = Instance.new("Message", workspace)
Game:GetService("LogService").MessageOut:Connect(function(Message, Type)
    msg.Text = "The message was "..Message.." and the type was "..tostring(Type)
end)

print("Hello, World!")