I need help with finishing a tutorial

Hi i am new to this so please correct me if i am doing this wrong.

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

I would like to finish a pet tutorial by alvinblox but he hasn’t posted it yet and i was
wondering if anyone knows how you would save the pets in the Pet inventory.

  1. What is the issue? Include screenshots / videos if possible!

Here is a link to the video https://www.youtube.com/watch?v=_GHJ-9vmbPE&t=136s

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have looked for solutions on the dev forum but they seem confusing to me and i am unsure if they are what I need or not.

The script i used is in the video linked above. I have managed to save the cash but i would like to know how to save the pets in the pet inventory as well. I believe i have to save them in a table but I am not sure how. Alvin did say he is going to make the next video on this but i would really like to get it finished so i can work on other things.

Thank You.

I usually don’t follow tutorials because they can get confusing if you don’t understand what he’s trying to do. Anyways, I usually save stuff using a table full of boolean values, so next time when we load the data, if it’s true, then the game clones the pet and puts it in the player’s inventory or whatever. I use a separate script to save the stats like levels and stuff. Here’s some more info on DataStore if you’re interested.

1 Like

Thank you. I will look into this.