for example:
print ("hi")
but it prints that in the output not the screen
Make this a server script.
game.Players.PlayerAdded:Connect(function(player) local gui = Instance.new("ScreenGui",player.PlayerGui) local text = Instance.new("TextLabel",gui) gui.ResetOnSpawn = false text.Size = UDim2.new(1,0,1,0) text.BackgroundTransparency = 1 text.Font = Enum.Font.Code text.TextXAlignment = Enum.TextXAlignment.Left text.TextYAlignment = Enum.TextYAlignment.Bottom text.TextSize = 14 text.Text = "" local log = game:GetService("LogService") log.MessageOut:Connect(function(m,t) text.Text = text.Text .. "\n["..string.sub(tostring(t),string.len("Enum.MessageType."),string.len(tostring(t))).."]" .. m end) end)