Help for one script!

I want to make this script in my server : I have contract of driven license A and pen , add choice firm and he makes the animations during the firm and for the end it shows me the item in the inventory with id?
I have tryed this script but maybe there isn’t a script : https://pastebin.com/MupcbTCT

solved ?