Hey I’m Lastborn and I’ve been learning scripting for a while, I’m very new and can only code basic stuff but recently I tried to make a floating textbox that will show what is printed in the output; does anyone know how I would go about doing this, or is it just not doable.
I’m not asking you to write the code for me, maybe just some advice. Thanks
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!")
all you have to do is put your textlabel’s spot into there.
local YourTextLabelSpot = --- put your textlabel here
local LogService = game:GetService("LogService")
LogService.MessageOut:Connect(function(Msg, Type)
YourTextLabelSpot.Text = tostring(Msg)
end)
Btw when you took the code from my reply and added the variable for the TextLabelSpot, you forgot to change script.Parent.Text to YourTextLabelSpot.Text