Variable Help

12,753pages on
this wiki
Add New Page
Comments0 Share

This page has been suggested to be merged with another article, Variables.

If you think this subject deserves its own page, please explain why at Category talk:Candidates for merging or try to expand the page and remove the {{merge}} tag.

Remember to move what links here to the merged page before deleting this one. The page history will remain at this page.

for i = 1,10 do -- 1 = Starting Number | 10 = Ending Number

print(1 + 1) end

-- This will print "2" (Since 1 + 1 = 2) 10 times

-- Or you could do something like this..

local Start = 1

local End = 10

for I = Start,End do print(1 + 1) end

-- This will do the same, but it can be easier for you to see your variables!

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.