Get the Client Side console output and put it on my text label

So I’m working on something and it needs to see the clientside output since the thing is only clientsided.
I don’t know how i would do it i saw that it had a thing that looked like a if error return for the module I’m using but it wasn’t so it prints to the roblox output but I don’t know how i would get the output of a script onto my text label

you could use LogService.MessageOut which returns a ScriptSignal

you could get more info here
LogService

example:

local logService = game:GetService("LogService")
logService.MessageOut:Connect(function(Message,typeOfMessage)
   local text = stuff here
   text.Text = Message 
   
end)

print("Test!")

you can still see the output in-game, just put “/console” in the chat

7 Likes

Thanks! I will look into this.