Search
 
SCRIPT & CODE EXAMPLE
 

LUA

exemple boolean and why it is used

--example boolean
local thisboolean = true    --a boolean varible example

--code with event or something else

if thisboolean == true then --here we gonna do if the boolean is true then it does the code
	thisboolean = false
	--code of what you wanna do in here.
	print("ok we have done it now gonna set it again to true so we can do it again") --you can delete this part
	wait(1) --here we gonna wait. you can change it
	thisboolean = true --now its true. so you can do it agian again and again and not everytime like 100000 times in a sec
    
end

--booleans are used mostly to see if something is true or false with the if/then statement and then the code happens.
Comment

PREVIOUS NEXT
Code Example
Lua :: the function returning the address of a local variable results in: 
Lua :: lua hash keys 
Lua :: when do true loop on roblox 
Lua :: roblox manually stop command bar loops 
Lua :: lua add to table 
Lua :: roblox part touched 
Lua :: animation event firing too many times roblox 
Matlab :: matlab inverse z transform 
Matlab :: matlab delete file 
Matlab :: matlab make symbolic matrix 
Matlab :: matlab make last value the first one etc 
Matlab :: matlab tf get poles 
Basic :: how to add basic authentication on haproxy backend server 
Basic :: basic authentication bash 
Basic :: como colocar aspas duplas em vbnet 
Elixir :: elixir string to atom 
Elixir :: phoenix enum filter 
Elixir :: elixir variables 
Scala :: scalable meaning 
Scala :: scala learn 
Actionscript :: docker compose enable rabbitmq enable plugins 
Excel :: how to reference data from another sheet in excel 
Perl :: read a file in perl 
Pascal :: pascal pause 
Powershell :: windows 10 debloat 
Gdscript :: godot yield idle frame 
Cobol :: gatsby with yarn 
Assembly :: Generate random strings only with uppercase letters and digits in Python 
Assembly :: links in markdown 
Javascript :: jquery vslidation remove spaces from input 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =