Search
 
SCRIPT & CODE EXAMPLE
 

LUA

lua while loops

--// Basic while true do loop

while true do
	
	--// Looped text
	print("Looped Text")
	
	--// Time the loop waits before looping again
	wait(1)
end
Comment

do while lua

repeat
	someThing()
	someOtherThing()
until not c
Comment

while loop in lua

local can_do = true
local countdown = 0.85 --you can choose whatever you want

while can_do do
    --here your code
    wait(countdown)    
Comment

while loop lua

while i < n do
	print(i^2) -- Same here
	i = i+1 --Stick your own here
end
Comment

open while loop lua

Open while loops can potentially crash your program so be careful!
Comment

PREVIOUS NEXT
Code Example
Lua :: rhyme api 
Lua :: lua how to delete a part for roblox 
Lua :: roblox script to create brick 
Lua :: pcall lua 
Lua :: lua difference between pairs and ipairs 
Lua :: when do true loop on roblox lua 
Lua :: lua ban 
Lua :: How to make a working gun in lua code 
Lua :: how do i use the errors module luaassist 
Lua :: genarating random number 
Lua :: open while loop lua 
Matlab :: matlab read from txt file 
Matlab :: octave disable warning 
Matlab :: matlab random 
Matlab :: pass variable by reference to function in matlab 
Basic :: how to make vbs error message box 
Basic :: basic authentication in REST api Dajngo 
Basic :: vb.net printing set page size 
Elixir :: elixir string regex 
Elixir :: elixir anonymous function 
Scala :: scala enum 
Scala :: scala home set up 
Actionscript :: octahedron 
Excel :: excel paste into multiple columns 
Perl :: split perl 
Pascal :: print in pascal 
Powershell :: install python command line windows 
Clojure :: how to use clojure cond 
Assembly :: assembly fibonacci 
Assembly :: html drag and drop anywhere 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =