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 :: run a function in lua 
Lua :: lua random numbers printing 
Lua :: Lua how to get the index of a nested table 
Lua :: random number lua 
Lua :: what is lua programming language 
Lua :: roblox create part script 
Lua :: lua how to default value if nil or false 
Lua :: <font color="" roblox 
Lua :: Roblox Studio Mouse Shaking 
Lua :: lua table of alphabet 
Matlab :: matlab get real and imaginary part 
Matlab :: matlab number to string 
Matlab :: matlab symbolic simplify fraction 
Matlab :: pass variable by reference to function in matlab 
Matlab :: matlab app designer axes buttondownfcn 
Basic :: powershell how to removve only empty direcoties 
Basic :: JsonFileWrapper 
Elixir :: elixir ecto query to sql 
Elixir :: elixir mapset member 
Scala :: scala concatenate list 
Scala :: find a list of strings inside string scala 
Actionscript :: how to resize a base64 image 
Excel :: google sheets sort column by element frequency 
Perl :: perl exit loop 
Perl :: perl exit loop example 
Pascal :: case of pascal 
Gdscript :: godot progrssbar set max value in code 
Lisp :: random choice from list of strings in emacs lisp 
Assembly :: how to check if chat is nsfw discord.py 
Assembly :: how to custom style material ui 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =