Thanks for your reply Genebris
But I did test it, and it doesn't seem to work straight from the script attached. I guess I could load the model from the main.lua so I could declare it global and access it on a private script... but that wasn't my goal.
I was just curious to know if it could done, that is, to attach a script to a model entity and to use it to animate the vertex of an object for exemple ... I read the forum, and it seem that lua script only access the entity...It's ok... I was just asking, as a beginner , to be sure I wasn't missing something simple here...
Thanks again for your answer....