Ingame Rank gifting (/gift player) like hypixel?

Hello, i wanna recreate the hypixel's /gift player, rank gifting system using ingame currencies (eg: playerpoints) and with the help of deluxemenu and skript.
I tried making the gui and logic thing with skript but I can't able to get the gift-receiving player's name on the deluxemenu gui , when i do /gift username and also it unable to deduct the playerpoints balance from the user who is gifting it.
Can anyone help me with idea to make it full? I would like to open source this thing
Was this page helpful?