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

MessageOut

Fired when text is added to the output.

Parameters

Name Type Default Description

Code Samples


LogService.MessageOut

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!")