Creating points smart contract

Hello,
We are trying to create a smart contract with gives points when we give token so basically we need idea how to go forward

:1234: Code to reproduce


:computer: Environment

Hi, i didn't get really well what you need

We want to create a smart contract which will give points after the deposit of token