functions with if lua roblxo code example
Example 1: roblox if then
if 2 + 3 == 5 then
print("Two plus three is five")
end
Example 2: roblox if statement
local test = 1
if test > 4 then
print('Test is greater than 4')
end
if 2 + 3 == 5 then
print("Two plus three is five")
end
local test = 1
if test > 4 then
print('Test is greater than 4')
end