I tried my script, but it gives the leaderstats without the purchase being completed.
P.S: How do you make leaderstats save? :3