Or statement

From Legacy Roblox Wiki
Revision as of 17:41, 9 July 2011 by >SoulStealer9875
Jump to navigationJump to search

The or statement comes in handy when you want to check if one of the listed values is a certain value.

soul = true
food = false
try = false

if soul == true or food == true or try == true then
    print 'soul is always true'
end


> soul is always true