I’m making a survival game with tools that have durability and I think the best way to do this is using tool tips that save each time the player leaves. I don’t know how to to this though. Thanks for helping.
1 Like
You need to use Data Stores to store the data.
In your case, you would store the data of each tool in a table like this:
Durabilities = {
["My Tool"] = 100,
["My Second Tool"] = 53
}
2 Likes
This is a phenomenal way to save the tools. I’ve used a system like this before. You’re a great help to this community
2 Likes
I will add to guitarist’s amazing tip. If you learn how to index tables and arrays, you can actually loop through the entire data store of tools and shorten your code tremendously instead of having to do each individual one. Tables and arrays are great when working with data.
1 Like