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

May somone please do a guide or link me to a page that explains print()?

2 answers

✓ Accepted answer

The function print. Prints whatever you tell it to do. One thing that is useful about printing is that it saves time debugging code and easier to find code. Another reason print statement is good is because let's say you have a code and you don't know how to fix it by using the print function its accessible to find scripts. E.g.

print("Hello")

3 comments

0

It is normally used to identify information, or test responsiveness from your code.

0

what kind of question is that anyways lol

0

Thanks feahren!

print("lol") --lol  quotation marks work
print('lol') --lol apostrophe marks work
--its the same for numbers but you don't need those marks if its just numbers
print(9) --9
print("hi9") --hi9 you need marks if there's a letter

The reason you put marks around a word is because its a string and you don't need to put marks around a number because its a number and not a string

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