A table is a Lua data type that can store multiple values and can behave as either an array or a dictionary ruby local table = {} https://developer.roblox.com/en-us/articles/Table https://educatio...
Tick() tells you how much time has passed since 1 Jan 1970 -- you can use it to figure out how much time has passed since a game started etc Workspace/Part/Script ruby local gameStarted = tick() lo...
Creates a new thread so code can run concurrently ServerScriptService/Script ```ruby local function printHello() while true do wait(1) print("Hello") end end local functio...
Generate a random number between 1 and 20 ruby local randomNumber = math.random(1,20) With no arguments, returns a random number in the range [0, 1). That is, zero up to but excluding 1. With 1 ar...
Comments ruby --[[ print("hi") -- no action --]] Now, if we add a single hyphen to the first line, the code is in again: ruby ---[[ print("hi") --> "hi" --]]