Slide progression shop

Okay so Im going to straight forward explain how would a script know if you bought each side of a weapon and unlock a new slide to a new slide in a progression way!
48d0b206f66bf5570c538376666b621a
Heres the example of my gui
d3a04b5f01af04fef9aad95738dcd99d

Just so you know the image will stay the same I don’t really mind about the image of the gun changing
just how to check if 4 sides of a gun are complete then open the next slide in a progression way
any help will be appreciated I been trying to do this type of stuff for a while now but its where my scripting barrier begins

also if there is any tutorials related to something like this that I can tore apart and use it my sulotion please do send the video even though it will be a hour long or so

Hi, I’m not too sure if you want to save this data to DataStore in the future or not but I would make a new folder in DataStore and inside it insert a Module Script containing a table with all of the sides a player bought:

local module = {}

module.playerSides = {

Tool1 = {side1 = true; side2 = true; side3 = true...}

Tool2 = {side1 = true; side2 = true; side3 = true...}

...

--true meaning the side has been bought

}

return module

You can then use a remote function to fire a server-sided script that checks which tool the player has unlocked and what slides are bought (by using a for loop) and returns the tool.

You can put the module script inside ReplicatedStorage and use a local script to access it but that would not be secure as exploiters have access to RepStorage and could change their data.

1 Like

Thanks this will really help me out