-- This section works as a start function print("Execute at the time of spawning only") function myFunction() -- It won't run when the VCI is called. It must be called from other functions. print("Executed from onUse()") end function onUse() print("Calls myFunction() you defined, when the use button is pressed ") myFunction() end