Update functions.lua

Fixed syntax error, functions.lua:121