If I can try help you with the script. Idea use script pong or pinballl. I don't do the model, sorry.
Well it does have to detect the racket in some way.