local receiver = vci.assets.GetTransform("Cube") -- sender: Information about the sender (set by the system) -- name: The name of the message. The first argument of Emit function. -- message: Content of the message. The second argument of Emit function. function Jump(sender, name, message) for k, v in pairs(sender) do print(k .. ":" .. v) end -- "name" contains type of the message, "message" contains content of the message print(name) print(message) -- Make the SubItem jump with the strength specified by the message receiver.AddForce(message*receiver.GetUp()) end -- When a ''vci.message.Emit'' with its message name "message_jump" is executed in the studio, the Jump function is called vci.message.On("message_jump", Jump)