Purchase System (Open Source)

What does this do?

This system allows you to easily manage what people can buy in game (like ranks, currency, etc) by easily

Disclaimers

Please note that I’m not the best at Roblox Scripting or UI design, so please don’t judge based on how bad the UI is (it’s decent in my eyes, but others might disagree) or how I handle the purchases

How do we (you guys) get it?

Just follow the steps below!

Step 1

Download the GUI file from here

Step 2

Import the file into a game via the Insert to File button

Step 3

Once imported, open the GUI and find the script called ‘Loader’

Step 4

Open the script, there you will find a function called addRow(). If you look at line 19, it will tell you the format on how to properly set it up

Step 5

You’re done

Requirements for custom purchase UI by default settings

  • Must be placed inside the ‘Purchase GUI’ object
  • Must be named ‘Example’
  • Must have a property named ‘ProductName’ of type TextLabel
  • Must have a property named ‘Description’ of type TextLabel
  • Must have a property named ‘Price’ of type TextLabel
  • Must have a property named ‘ProductID’ of type NumberValue (or NumValue)

Showcase

Click here for a preview of what the GUI looks like with 2 elements

Model Link

Only providing this cause people asked: Purchase GUI - Roblox

Conclusion of Post

Thanks for reading my post on my purchase system. If you like it, why don’t you show your kindness by liking or spreading this post, it’s up to you. If you wish to add something to this, please send your pull requests on the comments below or add a suggestion there, I’m all ears. Anyways, good day and good bye.

6 Likes

Instead of downloading an rbxm file, can you upload it as a model?

1 Like

May I ask, what’s the point of uploading this to the website instead of downloading the module file? It’s a RBXM file, which can’t contain any computer harming viruses, or is there something else that I’m missing?

1 Like

Some are uncomfortable downloading random files onto their computer.

2 Likes

All files can have viruses in them. Just saying :man_shrugging:

2 Likes

A roblox generated file having a virus? That’s funny, though fine, I’ll upload as a model

1 Like

It’s better to add it as a model as you can easily update it and have users get the model easily rather than downloading a file.

With the recent increase of models/plugins having a random script inside that causes a backdoor, I wouldn’t be surprised that users are worried about a virus.

I mean a computer virus like a ransomware, not some petty Roblox virus @WooleyWool

Downloading the direct file itself is easier and won’t be able to be modified later, very unlikely that a Roblox file (rbxm, rbxl, etc.) will have a virus inside of it.

1 Like

Does this system use datastores? Or does it simply buy things once and then just delete information?