Give every pet something unique so I can use it individually

I didn’t think I’d need help on a pets inventory system until now. Recently I discovered while in the midst of making the pet system that I have 5 dogs, all with the same level and same exp.

How would I be able to equip them from client to server? How can I let the server know which one is the right one to be equipped?

You could add a date with time to every pet of when they were acquired.

But if every pet is the same then it doesn’t really matter which is equipped, because the player won’t be able to tell.

You can generate a unique string (code) for each pet. Here’s a built-in API method which achieves just that.
https://developer.roblox.com/en-us/api-reference/function/HttpService/GenerateGUID

1 Like