Search
 
SCRIPT & CODE EXAMPLE
 

LUA

random number genarator

local random_number = Math.random(10, 100)
local cando = True
local count = 0

while cando == True do
    print(random_number)
    count = count + 1
    wait(0.1)
    if count == 10 then
        cando = False
Comment

genarating random number

local randomNumber = Math.random(1,3)


if randomNumber == 1 do
    print("the number is 1")
    
elseif randomNumber == 2 do
    print("the number is 2")
elseif randomNumber == 3 do
    print("the number is 3")
Comment

PREVIOUS NEXT
Code Example
Lua :: lua how to default value if nil 
Lua :: how do i use the love errors module lua assist 
Lua :: roblox for loop 
Lua :: roblox can I have player animations on the server 
Lua :: how to detect collision in roblox studio 
Matlab :: matlab unix time to datetime 
Matlab :: matlab for loop matrix 
Matlab :: matlab set fig zoom 
Matlab :: matlab 
Matlab :: matlab make last value the first one etc 
Matlab :: how do i call a function inside another function in mat 
Basic :: how to send basic auth using fetch 
Basic :: hello world in basic 
Basic :: how to remove characters from the end of a string visual basic 
Elixir :: elixir string to datetime 
Elixir :: phoenix run server 
Elixir :: create new project phoenix 
Scala :: how to create empty data frame in scala 
Scala :: reduce scala 
Actionscript :: hello world in actionscript 
Excel :: excel formula update insert row column 
Excel :: google sheets conditional formatting other sheet 
Perl :: difference between @ and $ in perl 
Pascal :: while do in pascal 
Powershell :: Auto-open DevTools on every new tab For powershell on Windows 
Clojure :: algorithm to reverse a string clojure 
Assembly :: sqlalchemy filter date today 
Assembly :: assembly language display message 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: jquery unselect option 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =