Detecting when something is print

I would like to achieve a way to record prints that happen through the game. For example, when the code

print("Hello World")

is ran, is it possible to get that from an event?
I’ve already tried things looking for services such as one I found called Script Context, but it only records when Errors happen.

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

Taken from reference:

2 Likes