Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how do you make a print appear on the screen instead of the output?

for example:

print ("hi")

but it prints that in the output not the screen

4 comments

0

It's supposed to print in the output.

0

You can actually do it by learning how to script :)

0

but how do you make it print on the screen?

0

Hmm by Creating a Gui and create a textlabel inside it and set it to the text you want it to be

1 answer

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)

5 comments

0

Just make this a serverr scrript

0

paste this into a server script

0

shouldn't have errored; don't know why it did that

0

try putting it in workspace

0

how do you make it a different position

This discussion is preserved as it was. New answers, comments, and votes are closed.