I have been thinking how to access leaderstats of a player from another codeblock but in the same script. I tried many ways and eventually got nothing. I really do need help with this as I am not a very professional scripter.
Game.Players[playername].leaderstats