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

What is this symbol?

Asked by 10 years ago
    local door = script.Parent.Parent.Parent.Door:GetChildren()
    for x = 1, 56 do
        wait(0.01)
        for i = 1, #door do
            door[i].CFrame = door[i].CFrame * CFrame.new(0, .25, 0) 
        end
    end
end

What does # mean? O.o

1 answer

Log in to vote
2
Answered by 10 years ago
local tble = {"lol", "lul", "lil"}

In the above, if we used "#tble" that means the number of things in that list. What you have there, is the number of objects inside of "door".

1
Thanks! :D Simfireblaze 5 — 10y
Ad

Answer this question