Create critscript.lua