How do I make a plugin that is like moon animator?

Yes u readed that correctly. How exactly do I do it? how do i make a plugin that is able to be used in studio on the server, not the client?

a plugin that injects server side scripts?..

plugins are automatically “replicated” to the server it just lets you use client services

if you insert a part it inserts a part on the server