Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Creating habits. Lua
--[[ Trying to comment more on my code for future purposes :V Also need to be more consistant with my orginization. gl to me lol ]]-- users = {"User1", "xX_Sniper_Xx", "testUser", "Ran out of ideas"} -- Creates a list of users -- money = {1234, 0, 71, 90} -- Creates user's data -- Data is listed by what number the user has. -- -- vv Goes through the list/table vv -- for i, v in pairs(users) do --[[ V states what's in the list. I states where the user's name is located. We ]]-- print("User: "..v.."\n".."Money: "..money[i].."\n") -- Prints the user's name and how much money they have -- end -- Programs finished print("Done")
run
|
edit
|
history
|
help
0
Exponential from Two Points
PAID HACK PuBG
W.I.P
ok
test123
PAID HACK PuBG
Roots without the math library in Lua
Show current system clock
1
Reverse strings function - Lua