Sometimes you may need to collect data from players. This could be their scores, game statistics, feedback, survey answers or anything else. There are many ways...
how do i replace a pre-existent data in the google sheet?
You can manually erase this data. Or if you need to do this with the script, edit this line:
var nextRow = sheet.getLastRow()+1;
i don't know to much about JavaScript, if you can make an example it would be so helpful to me, and sorry for the trouble.
It's not JavaScript, it's in the script which is attached to the tutorial. Find that line in the script and change it - remove "+1" or something like that.