Does anyone know how to make a GUI pet shop that have equip and unquip and data save?

does anyone know how to make a pet shop that have equip and unquip and data save?

i just know basic scripting

3 Likes

So, your asking us to help you on making a pet shop that you can select and deselect pets that save? Google. Developer Forum Search Bar. Use them, they’re helpful.

1 Like

I have seen this vid but I just wanna make a gui

you want to know how to make a GUI? A shop GUI? Google. Again.

I know what is gui shop I made one but idk how to make the equip button thing

1 Like

you could store the bought pets in a folder which you’ll use for DataStore (I actually recommend DataStore2 module instead) and for the pets, you could have a bool value, code example:

local button = script.Parent
local boolvalue = pet.BoolValue

button.MouseButton1Down:Connect(function()
    boolvalue = not boolvalue
end)

and when the boolvalue is equal to false, the pets are equipped, when you have it set to true, the pets are unequipped, it would also help you if you were to watch some tutorials recommended by @ScytheSlayin up above
if there is another, better solution, please let me know, also… this is just my opinion on how I would do it

Alr I will try it if I need help I will ask u guys

1 Like

Here is an gui script, that is not tested and very simple:

local gui = script.Parent.Parent.PetFrame
local button = gui.TextButton

script.Parent.Parent.PetFrame.button.MouseButton1Click:Connect(function(button)
    script.Parent.Parent.PetFrame.TextButton.Text = "Unequipped"

-- pet code comes here

end)

script.Parent.Parent.PetFrame.button.MouseButton2Clicked:Connect(function(button)
    script.Parent.Parent.PetFrame.TextButton.Text = "Equipped"
end)
2 Likes

In that video it shows, the first YouTube video I linked, watch it.

he Just gave me a model he didn’t explain

i tried to figure it out but i of lots of things not understand so i make all the pets to free
here is the game contact me if u want to help me

https://www.roblox.com/games/4691373457/Extreme-Parkour-Obby-Beta-Pets-Coins-NewShop?refPageId=3347b21c-b452-4a19-9237-639573d48a79#

1 Like