Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago

for example:

print ("hi")

but it prints that in the output not the screen

0
It's supposed to print in the output. Aztralzz 169 — 3y
0
You can actually do it by learning how to script :) Nguyenlegiahung 1091 — 3y
0
but how do you make it print on the screen? bigkiddo27 6 — 3y
0
Hmm by Creating a Gui and create a textlabel inside it and set it to the text you want it to be Nguyenlegiahung 1091 — 3y

1 answer

Log in to vote
1
Answered by
exobyteXL 290 Moderation Voter
3 years ago
Edited 3 years ago

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)
0
Just make this a serverr scrript exobyteXL 290 — 3y
0
paste this into a server script exobyteXL 290 — 3y
0
shouldn't have errored; don't know why it did that exobyteXL 290 — 3y
0
try putting it in workspace exobyteXL 290 — 3y
0
how do you make it a different position bigkiddo27 6 — 3y
Ad

Answer this question