oh boy that was so informative thank you for your info and this part of the profile store series 👍 and again i learned much more how i can use the profile store so lets wait for the next part of the profile store series
Yooo thank you so much for this!! For the next tutorial you should do how to make an inventory system with ProfileStore (since I totally not struggling with adding/removing things from the inventory table and don't know how to make them show up in the UI 😅)
Hey man, i noticed you make individual remote events listeners for specific product IDs on the server, and you mentioned that the client can lie about ids, but i was wondering, why don’t you just have a listener for productpurchasefinished on the server as that event returns the id of what was bought, im thinking surley the client cant lie about the id they just purchased right? Im asking because thats what i use for my games and hopefully im not going about it the wrong way
Great question! The reason I use remotes is to trigger the Purchase Popup, which I do from the server. I do that as a matter of personal preference, although you can always just prompt the purchase from the Client. Keeping it all serverside on the ProductManager isolates it all to one script, which I find beneficial. To your second point, I would recommend reading this section from Roblox's docs on PromptProductPurchaseFinished (the event you listen to): create.roblox.com/docs/reference/engine/classes/MarketplaceService#PromptProductPurchaseFinished Roblox recommends NOT using this event to handle purchase granting, since it can fail for a number of reasons (listed in the docs) and is otherwise less reliable. If you'd like to not use remotes, you can trigger the Product Popups client-side in the local script, and still set up the ProcessReceipt callback from this tutorial normally! I would recommend following my process since I personally like it best.
Hey rileybytes, can you explain how to save players backpack with profilestore? I tried that when profileservice was new but it was extremely tedious. So is it different in profilestore or what? I dont want to waste time like last time
Yes that is a great idea! Typically formats for storing item data / backpack tools can differ widely, so if I make a tutorial on it each viewer would need to slightly tweak it to fit their systems. It's a very similar process to ProfileService, but ProfileStore makes it easier to set up item trading and gifting. Would you be interested in that? Also, do you need to save just Tools from the backpack, or do you also have custom items that aren't tools? (Like materials, armor, etc for a survival game?)
@@Rileybytes It would be good to make a video covering the storage of items, be it inventory, boosts, pets, cards, units, etc. just the logic of storing certain things
@@Donpa07 nope! ProfileStore is completely free and open source. I don’t get any cut from making this video, I just wanted to share this great resource
@@Donpa07 if you were referring to a cut from Developer Products, the only percentage is what Roblox takes out of the purchase. ProfileStore doesn’t make any money, it’s all free
thankyou for your information. what i mean by cut percentage is like the ProfileStore creator get some of the robux when someone purchase it. but as you explain it seems not the case
@@Rileybytes oh ok, but i have a problem, when i press the purchase button it just does not add the values to the leaderstats and the output also says this : ServerScriptService.Libraries.ProfileStore:1083: attempt to index nil with 'session_token' how do i fix it?
Thank you for commenting! The remotes in this tutorial are either Server -> Client (secure), or Client -> Server (and we go over how to secure them). Should I make a video on how to secure remote events better?
@@Rileybytes Yes, you should do it from the beginner techniques all the way to putting your game in a actor. Also you should go over obfuscation, that is useful too. Keep up the good work!
Scripts from this video!
create.roblox.com/store/asset/94091700069405
cuh I love you for that, you mostly post once a month but this time you posted a new video after 8 days because ur fans wanted it, big W
Thank you bro, glad to have you here
@@Rileybytes that is perfect goodluck!
Lets go! Glad to seen you again in my home page!
Thanks for stopping by again! I hope you liked the tutorial
Man this is awesome! Once again thanks for this series. You earned that sub!
@@kwinten thank you so much man!! I’m glad I can helpful for you!
oh boy that was so informative
thank you for your info and this part of the profile store series 👍
and again i learned much more how i can use the profile store
so lets wait for the next part of the profile store series
@@koainanis5840 thank you!
Thanks to your last video I started useing profile store, so this vid will be super sueful! TY
I'm so glad to hear that, it's legit saved me countless hours of scripting! Thank you for commenting!
i love how you put the scripts in the comments. can you please make a vid about a satisfying coin system! Thank you!
needed this bro thanks!!
You’re welcome!!
Killer tutorial! are you the Brackeys of Roblox?
Thank you zawg! he sets a real high bar
Yooo thank you so much for this!! For the next tutorial you should do how to make an inventory system with ProfileStore (since I totally not struggling with adding/removing things from the inventory table and don't know how to make them show up in the UI 😅)
Thanks for watching! This is a great suggestion, and one which will most likely take multiple episodes, but highly needed!
may God bless yall
Fire Video
thank you!
I hate working with datastore hope this makes it easier and may God bless
God bless brother! The nice part is once you create these scripts once, you can just copy/paste into every new project. Countless hours saved!
Good video
@@murilogamerzao_ofc thanks for commenting!
do this for gamepasses next
@V1per1Real that would be good! Thanks for the suggestion
yo when is the gamepass video coming
Hey man, i noticed you make individual remote events listeners for specific product IDs on the server, and you mentioned that the client can lie about ids, but i was wondering, why don’t you just have a listener for productpurchasefinished on the server as that event returns the id of what was bought, im thinking surley the client cant lie about the id they just purchased right? Im asking because thats what i use for my games and hopefully im not going about it the wrong way
Great question!
The reason I use remotes is to trigger the Purchase Popup, which I do from the server. I do that as a matter of personal preference, although you can always just prompt the purchase from the Client. Keeping it all serverside on the ProductManager isolates it all to one script, which I find beneficial.
To your second point, I would recommend reading this section from Roblox's docs on PromptProductPurchaseFinished (the event you listen to): create.roblox.com/docs/reference/engine/classes/MarketplaceService#PromptProductPurchaseFinished
Roblox recommends NOT using this event to handle purchase granting, since it can fail for a number of reasons (listed in the docs) and is otherwise less reliable.
If you'd like to not use remotes, you can trigger the Product Popups client-side in the local script, and still set up the ProcessReceipt callback from this tutorial normally! I would recommend following my process since I personally like it best.
@ thanks for answering man, i’ll be using process receipt now
Hey rileybytes, can you explain how to save players backpack with profilestore? I tried that when profileservice was new but it was extremely tedious. So is it different in profilestore or what? I dont want to waste time like last time
Yes that is a great idea! Typically formats for storing item data / backpack tools can differ widely, so if I make a tutorial on it each viewer would need to slightly tweak it to fit their systems. It's a very similar process to ProfileService, but ProfileStore makes it easier to set up item trading and gifting.
Would you be interested in that? Also, do you need to save just Tools from the backpack, or do you also have custom items that aren't tools? (Like materials, armor, etc for a survival game?)
@@Rileybytes Please include custom items in the tutorial if you do make a video on storing item data.
@@Rileybytes yes id be interested, and no i only need to know how to save tools from the backpack/character.
@@Rileybytes
It would be good to make a video covering the storage of items, be it inventory, boosts, pets, cards, units, etc. just the logic of storing certain things
@@zKalmark okay I’ll throw in multiple types of item storage! Seems like there’s a need for all of them
is there perhaps some affiliation percentage?
@@Donpa07 nope! ProfileStore is completely free and open source. I don’t get any cut from making this video, I just wanted to share this great resource
@@Donpa07 if you were referring to a cut from Developer Products, the only percentage is what Roblox takes out of the purchase. ProfileStore doesn’t make any money, it’s all free
thankyou for your information. what i mean by cut percentage is like the ProfileStore creator get some of the robux when someone purchase it. but as you explain it seems not the case
Can you do badges in profile service?
@@Lightning_Ware you actually don’t need any data stores to do badges! The BadgeService has a function to check if a player owns a badge or not.
@@Rileybytes oh ok, but i have a problem, when i press the purchase button it just does not add the values to the leaderstats and the output also says this : ServerScriptService.Libraries.ProfileStore:1083: attempt to index nil with 'session_token' how do i fix it?
what mic do you use?
@@AnonymousWatcherAmigo Samson G-Track Pro. However using EQ can make almost any mic sound good
@@Rileybytes alright thanks!
I love ProfileStore but the only problem is it fires a remote so its not that secure
Thank you for commenting! The remotes in this tutorial are either Server -> Client (secure), or Client -> Server (and we go over how to secure them).
Should I make a video on how to secure remote events better?
@@Rileybytes Yes, you should do it from the beginner techniques all the way to putting your game in a actor. Also you should go over obfuscation, that is useful too. Keep up the good work!