How can I make a tool reward system with leaderstats?

I want to make a reward system that gives you a specific tool from a table depending on your rank and kills but I can’t figure out how to do so.

I have 2 module scripts, one which has all the tools I want to reward in a table (self-explanatory), and the other that has all the required ranks for the tools, but the main thing is that I don’t know how to make the reward system itself.

I’ve tried using a simulator tutorial video on this type of reward system, but I’ve stumped myself since I have a different type of datastore save system and my data handler script is separate to the leaderstats one.

The video I tried using: https://www.youtube.com/watch?v=TYFobzzyN6c

I can provide the script(s) directly if needed and all help/guidance would be appreciated.

1 Like
  • you should probably store your tools in a table
  • you should check for when the values are changed in the player and have a function check if the player should get the tool

^ thats all you really need, it isnt too hard.

1 Like

Thank you for your reply, I’ll see what I can do.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.