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 true do lua

while (statement) do
	-- code
end
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

PREVIOUS NEXT
Code Example
Lua :: while true do lua 
Lua :: lua json 
Lua :: roblox luau random number 
Lua :: lua documentation 
Lua :: roblox check if in private server 
Lua :: break in lua 
Lua :: roblox text color 
Lua :: how to access an index of a table lua 
Lua :: lua counting 
Lua :: Roblox Luau Wait Alternative 
Lua :: roblox rotate head with camera 
Lua :: lua input 
Lua :: LUKAO150 
Lua :: lua math.random 
Lua :: lua to float 
Lua :: Simple Roblox Lua Function 
Matlab :: matlab symbolic function 
Matlab :: matlab random 
Matlab :: sin in scilab 
Basic :: how to close form in vb.net 
Basic :: script to add value of 2 coulms of grid and show result in 3rd column 
Elixir :: elixir map 
Elixir :: elixir enum chunk_every 
Scala :: scala string to lower case 
Scala :: if scala 
Excel :: google sheets stack columns vertically 
Excel :: Date and Time maths with Excel 
Perl :: what is perl poetry 
Pascal :: turbo pascal online compiler 
Gdscript :: GDscript classes 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =