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

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 :: lua text script 
Lua :: Simple Roblox Lua Function 
Lua :: how to make kill block in roblox lua 
Matlab :: matlab read from txt file 
Matlab :: switch matlab 
Matlab :: matlab if not true 
Matlab :: matlab not less than 
Matlab :: matlab random 
Matlab :: matlab function without output 
Matlab :: how do i call a function inside another function in mat 
Matlab :: zsh corrupt history file 
Basic :: pmatplotlib draw a square with a magenta dotted line and pentagon markersython matplotlib overlaped 
Basic :: whats up 
Basic :: shortcut to rename the file on lenovo s340 
Elixir :: elixir string regex 
Elixir :: elixir alias __module__ 
Elixir :: elixir with 
Scala :: How to declare constant variable in scala 
Scala :: scala string get char 
Actionscript :: silk road block-cypher 
Excel :: convert number to date in excel 
Perl :: perl sprintf YYYYMMDD sample 
Pascal :: pascal input number 
Pascal :: pascal print 
Gdscript :: godot exit func 
Lisp :: elisp return type 
Assembly :: windows detect system dark mode 
Assembly :: dd utility seek 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: jquery unselect option 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =