I'm looking for a scripter to help treating a problem with my inventory equip pet script (The problem is explained below)

Hello guys,

I’m looking for someone to come with me, in a specific place to help me to solve a huge problem wich I have.

I followed the path of AlvinBlox to make a pet system but in his video he made one pet slot.
So I tried by myself to adapt his system to a multiple equipped function.

The problem wich I have is if the plr has two times the same pets, the script will change the pet status (“Equipped or not”) of the first pet it will find, i don’t really know how to explain my problem, it’s why i’m asking for someone to help me.

To sum up, the local script and the server script wich manage the template (“Inventory Slots”) of the inventory do not differenciate the templates and when the plr equip two times the same pet, if i unequip the second one it unequip the wrong one and it creates even more problems.

If you want to help me and if you are intristed by this, add me on discord : Padrox#8546 , or DM me on the dev forum, i’ll show you the problem!

If you have questions, ask them,
hope someone of you will accept to help me.

2 Likes

This is for scripting support, you should ask a scripting question about your own script that you can’t figure out. In this case, ask AlvinBlox, or make your own pet system with the stuff you learned, and this time make it support multiple pets from the start. It is infact very simple, I made something like that years ago, it shouldnt take you too long. Good luck

It’s kind but I’m not sure AlvinBlox will awnser me x)
But I already have one but I’m in front a problem and I realy don’t know how to fix it.

But I can try to explain it here and to find solutions with you

Screenshot of the bug might help?

I can’t realy take a screen shot.

But I’ll try to show you by taking multiple screen shots.

The local script wich manage the frames in the inventory doesn’t differenciate the pets and the Server script too.

I thought about one way to fix this.

Create a table wich manage each pet the player has in his inventory.
But I don’t know if it can work or if it will fix the problem.

And it did not unequip the pets