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

What does the # do?

Asked by 10 years ago

I'm fairly new to advanced scripting, and started to see a lot of #'s in scripts. What are they and how do I use them? ROBLOX Wiki never explains to me in full detail..

1 answer

Log in to vote
1
Answered by
Bebee2 195
10 years ago

I believe it was explained in the wiki.

What the length operator does is return how many items in a table there are using an ipair like function or get the length of a string.

0
Yes, especially helpful for using 'GetChildren' so you don't have to manually count how many objects in a model the script should cycle through-- # tells the for loop to repeat as many times as there are objects. deaththerapy 60 — 10y
Ad

Answer this question