Use Profile Service as Your Data Store! Roblox Development

  Рет қаралды 31,000

MonzterDEV

MonzterDEV

Күн бұрын

Пікірлер: 157
@MonzterDEV
@MonzterDEV 2 жыл бұрын
You can access the Experience I worked on during this video for FREE here: patreon.com/posts/70568690
@scottswift7693
@scottswift7693 2 жыл бұрын
This is NOT oepn sourced, unless those 3 dots have moved.
@MonzterDEV
@MonzterDEV 2 жыл бұрын
@@scottswift7693 hey thanks for letting me know! I just realized I forgot to enable copying…had to search for awhile to figure out how to make this possible lol. Should be good now!
@scottswift7693
@scottswift7693 2 жыл бұрын
@@MonzterDEV much obliged
@naykado283
@naykado283 Жыл бұрын
Hello I cant find the plugin that was used can you please respond to me with the link
@RomanDev17
@RomanDev17 11 ай бұрын
thank you!
@tony098uk
@tony098uk Жыл бұрын
This is super useful. After fighting with datastores and trying to handle edge cases, I wanted to give up. Great work
@MonzterDEV
@MonzterDEV Жыл бұрын
Glad you found this! Data Stores services are still intimidating to me. I much prefer a reliable way of storing player data. One less vital thing to really worry about.
@PhoenixAscension554
@PhoenixAscension554 5 ай бұрын
yo Idk how life is treating you or really anything about you but I just want to thank you. This tutorial taught me profile service and datastores as a whole and led me down a rabbit hole that improved my programming skills an insane amount, just came back to say I really appreciate it. you deserve WAY more recognition for how well you explained everything and the flow of the video, I hit you with the like and sub 👍 I hope your channel pops off and I hope life is treating you well or things start getting better if they aren't
@PhilipStomp
@PhilipStomp 2 жыл бұрын
Nice! i had a fully working profileservice before but I didn't understand how to use it. i decided to watch some tutorials and they never explained me anything of what the stuff does. But this tutorial is so good it helped me understand profileservice and more.
@MonzterDEV
@MonzterDEV 2 жыл бұрын
I’m glad, especially because I felt the exact same when I first began using ProfileService!
@ClothedItalyPig
@ClothedItalyPig Жыл бұрын
This was single-handedly the best explanation on this topic on KZbin, thank you
@Idiskjsjsjjsjsjsbhshshshsh
@Idiskjsjsjjsjsjsbhshshshsh 11 ай бұрын
Thank you so much! I was making a creature catching game and was halfway done, I had the combat system done encountering and a ton of other stuff, but then I encountered an issue: I had to save huge heaps of data for players their PC boxes. This module is gonna help me allot!
@MonzterDEV
@MonzterDEV 11 ай бұрын
I’m happy to hear! I love the module because it really is easy to work with, but might be a bit harder to learn at first from the docs alone.
@seeray11
@seeray11 4 ай бұрын
Great Video. Absolutely amazing. Explained everything very well. I kept on stressing how to add a system where it saves pets
@rom6476
@rom6476 8 ай бұрын
Thank you very much for the video! I'm Brazilian, it was difficult to follow using the subtitles, but it helped a lot! Thanks
@MonzterDEV
@MonzterDEV 7 ай бұрын
I've been surprised with how many of my viewers are from other areas / English isn't their first language, but they're still able to learn. Sorry to hear it was difficult, but I'm happy to hear the video helped ya :D
@orangedeveloper7994
@orangedeveloper7994 Жыл бұрын
I’ve watched one of your series learned some from it, but then got stuck and confused and stopped coding. Now I’ve learned how exploiting works, server and client, and a lot more. After watching this I am now confident to continue my game. Thanks for all the help.
@reallyweirdperson1
@reallyweirdperson1 7 ай бұрын
ProfileService is absolutely amazing. It’s saved me so much time and it’s super easy to build off of. Not having to worry about rate limits is nice too!
@MonzterDEV
@MonzterDEV 7 ай бұрын
I couldn't agree more. Such a game changer!!
@NicemorewCreations
@NicemorewCreations 6 ай бұрын
I've made something exactly like this before. I literally wanted to make another ProfileService. Thank you for making this tutorial. I'll definitely use it.
@MonzterDEV
@MonzterDEV 6 ай бұрын
Best of luck! I'm happy it helped :D
@mursetile3402
@mursetile3402 11 ай бұрын
A little late but, for the Profile you can leave ProfileStore variable blank and then check if the game is running in studio and set it to the studio profile or if its not set it to the main one
@MonzterDEV
@MonzterDEV 11 ай бұрын
Wow that’s actually an excellent idea that I never have thought about. This would really help prevent someone from modifying their live player data unintentionally! I’m noting this down for future reference, thanks!!
@rbux
@rbux 2 жыл бұрын
great tutorial, though when creating a new instance roblox advises against using the second parameter to declare the parent. it is now known to be dramatically slower than just doing x.Parent = desiredParent.
@MonzterDEV
@MonzterDEV 2 жыл бұрын
That’s an interesting bit of info! It is useful to know, but I’d also caution people to not be too in the mindset of over optimizing. What I mean is that in this specific scenario, it wouldn’t have any noticeable impact at all. But if you were rapidly creating new instances, it’d probably be a good time to worry about those micro optimizations. Thanks for the info!
@dr_ned_flanders
@dr_ned_flanders 11 ай бұрын
This was a really great tutorial. It solves a lot of problems I was having. I really like that you didn't just code something, but the organisation, data typing and use of modulescripts to make everything scalable and concise. Chef's kiss.
@MonzterDEV
@MonzterDEV 11 ай бұрын
Thanks for the feedback, I’m really happy to hear that because that’s what I aim for. I remember learning from videos and really wanting to know where I should store specific things, but usually didn’t get a good answer. There’s definitely things I could’ve improved upon in the video, but happy to hear it still holds up and is helping people :D
@threasto
@threasto Жыл бұрын
Super useful video! I've been meaning to learn how to save data but datastores always intimidated me, this simplifies it a ton!
@MonzterDEV
@MonzterDEV Жыл бұрын
Glad it was helpful!
@360sauce7
@360sauce7 Жыл бұрын
Hey Threast !
@S3vastopol
@S3vastopol 11 ай бұрын
Best ProfileService tutorial out there. Really helpful and great explenations!
@MonzterDEV
@MonzterDEV 11 ай бұрын
Thanks for the feedback, really happy to hear it works for ya!
@SmokGier
@SmokGier Ай бұрын
This was actually very helpfull, thank you very much
@MonzterDEV
@MonzterDEV Ай бұрын
Glad it helped!
@SirPretenderDev
@SirPretenderDev Жыл бұрын
This tutorial deserve me to spend my time on it!!
@Noon1263
@Noon1263 10 ай бұрын
im currently using datastore2 module, but that requires you to set up the saving your self, im now tempted to change over to profile service!
@MonzterDEV
@MonzterDEV 10 ай бұрын
I could be wrong, but I believe the creator of DataStore2 uses Profile Services and may recommend it. I want to stress though, I could be wrong. I believe I saw it from a message in the Open Source discord.
@Wertyhappy27
@Wertyhappy27 Жыл бұрын
Thanks for this, just wanted to see how to interface, and grab add data
@dot_z194
@dot_z194 Жыл бұрын
so why is there a need to include "Manager.Profiles[player] = nil" under the ListenToRelease() function if the player's profile has not even been added yet? Is it even necessary? Because if the player left the game, the player's profile won't even be added to the profiles table.
@simplicity474
@simplicity474 Жыл бұрын
For some reason I am getting the error attempt to call missing method 'LoadProfileAsync' of table. No idea why this is happening since the method is literally in the script.
@villain7697
@villain7697 Жыл бұрын
Hi! I have a problem with this. Why it just works in studio but in Roblox ACTUAL game it isnt. I re-wrote my code thinking that it was because something in it but still dont work. Help will be aprecciated!
@luismedina4904
@luismedina4904 2 жыл бұрын
This looks really useful, this should works fine with long tables?
@MonzterDEV
@MonzterDEV 2 жыл бұрын
Yea, I’d assume it’s practically unlimited.
@pixelthegreat1203
@pixelthegreat1203 2 жыл бұрын
Nice! This is helpful
@MonzterDEV
@MonzterDEV 2 жыл бұрын
I'm glad!
@jpapa132
@jpapa132 Жыл бұрын
Hey great video. Was wondering if you knew how to make a profile not associated with a userid, which to my knowledge profile service boasts it can do. Would i create the profile entity with a random key? Or can i even create it with string?
@Idiskjsjsjjsjsjsbhshshshsh
@Idiskjsjsjjsjsjsbhshshshsh 11 ай бұрын
Why would you want that?
@CepheusFromTheMoon
@CepheusFromTheMoon 10 ай бұрын
Great now the only thing i have to rewrite all my functions with remotes to get simple data like their Level etc
@MonzterDEV
@MonzterDEV 10 ай бұрын
Hope your rewrite goes smoothly!
@CepheusFromTheMoon
@CepheusFromTheMoon 10 ай бұрын
@@MonzterDEV yupp figured it out
@atheisvfx6599
@atheisvfx6599 2 жыл бұрын
Doesn't work for me
@frootloopii
@frootloopii 5 ай бұрын
timestamp: 19:44
@TheArcadeMonk
@TheArcadeMonk Жыл бұрын
You didn't show the example for connecting the data to GUI now I'm stuck haha ):
@swordlegend3256
@swordlegend3256 2 жыл бұрын
There is no way.. I didn't know.. that continue function... Existed I Have been scripting for 3 years how is this possibpe
@MonzterDEV
@MonzterDEV 2 жыл бұрын
Haha, glad you learned something new, that’s awesome!
@swordlegend3256
@swordlegend3256 2 жыл бұрын
@@MonzterDEV yea thanks been using it and it is really helpfull
@chocsman2938
@chocsman2938 Жыл бұрын
13:40
@VIVIDC0RE
@VIVIDC0RE Жыл бұрын
You sound like ro builder lmaoo
@MonzterDEV
@MonzterDEV Жыл бұрын
I get that all the time, but I don't really hear it myself lol
@sumixam2418
@sumixam2418 Жыл бұрын
Of all the tutorials out there, this one was the only one that I understood, very well explained, very good video overall.
@MonzterDEV
@MonzterDEV Жыл бұрын
Thanks for the feedback! I try my hardest to make this content easily digestible. Glad it works for ya!
@slim9914
@slim9914 Жыл бұрын
I watched and followed a different tutorial before this. It looked very promising, but actually using it was a disaster.. I struggled for hours before, but then I found this video and gave it a shot. This worked perfectly and is so easy to use and understand! Thank you so much :D
@kirbmeister_
@kirbmeister_ 2 жыл бұрын
The problem I've had with storing templates externally is that if i want a player to start with a random value in their data (e.g. character size, race, etc) the math.random function and the Random:NextNumber() do not reroll each time a new player joins. It rolls once at the beginning of the server, then uses that same value for all players. This means that when 2 players join the same server they will have the same value. Any solutions to this that you know of? Edit: I have solved this. I have a function in my template module that regenerates the random values, and I call it every time I want to make a new profile.
@ahmadshahid6311
@ahmadshahid6311 Жыл бұрын
if u have placed it in a module script , then I think, as the module script will run only once, it is substituting that same value for all the players Edit: correct me if i am wrong 😁
@swordlegend3256
@swordlegend3256 Жыл бұрын
Value is overridden when a player joins the game you have to set it seperatly
@JIKDYH
@JIKDYH Жыл бұрын
Нужно задавать локальное значение, а не глобальное
@akikabanu5885
@akikabanu5885 Жыл бұрын
are you able to give a tutorial on how to save playerdata across multiple places with profile service? like transferring 500 coins from place1 to place2
@PianoMeetsMetal
@PianoMeetsMetal Ай бұрын
Thanks for the tutorial, this really helped me understand Profile Service better.
@MonzterDEV
@MonzterDEV Ай бұрын
Happy to hear it helped :D
@wolfct666
@wolfct666 Жыл бұрын
Thanks for the most clear tutorial i have ever seen yet!
@BloxikGames
@BloxikGames 3 ай бұрын
It only loads a couple values for me and then after that I get an "attempt to index nil with" error and everything stops working. Pls help!
@ChiakiShimogawara
@ChiakiShimogawara Жыл бұрын
for some reason the leader stats is not appearing. Can someone help me?
@eros7304
@eros7304 Жыл бұрын
Idk if this helpful but I had the same problem,, make sure the game is published to roblox, gives studio access to API keys (which can be found in content settings in the creator dashboard thing for the game) and that the script follows exactly what he put even with the capitals and stuff. Using output (in the view tab next to asset manager) is useful to use too it usually says the source of the problem
@nobodyfrog1944
@nobodyfrog1944 Жыл бұрын
Honestly i dont understand how this guy has only 5k subscribers, he has probally been my main source of knowledge towards coding, i appreciate the vids man and im thiking about buying the patreon :D
@MonzterDEV
@MonzterDEV Жыл бұрын
I’m happy to hear you enjoy my content! Thanks for the support :D
@Amritss664
@Amritss664 8 ай бұрын
Everyone understands profile service and says its easy it's just me who doesn't get it :(
@nature_naruto
@nature_naruto 6 ай бұрын
Use clicker series
@Amritss664
@Amritss664 6 ай бұрын
@@nature_naruto its been a month now and now i understand it easily, i mainly didn't understand because i thought u had to set up your own saving but no.
@DarkZ0l
@DarkZ0l 6 ай бұрын
I get a warning saying attempt to index nil with data
@TurtleMouse
@TurtleMouse Ай бұрын
Im making a game which has a lot of stats how do i make a function that can change any stat instead of a single one i cant figure it out
@JZARO
@JZARO 3 ай бұрын
i love you
@frootloopii
@frootloopii 5 ай бұрын
14:26 can you delete player data you no longer want in the template from here?
@frootloopii
@frootloopii 5 ай бұрын
@MonzterDev
@colbyschaar5523
@colbyschaar5523 8 ай бұрын
ListenToRelease is kicking me....
@nature_naruto
@nature_naruto 6 ай бұрын
I found in clicker series it’s working
@guyguy6516
@guyguy6516 Ай бұрын
Hey, very cool video, thanks a lot ! I was just wondering, is it a mistake that both modular scripts return the same module name (which is "module") won't it create issues ?
@MonzterDEV
@MonzterDEV Ай бұрын
I think you're referring to the name of the table variable we're returning from both modules. The name doesn't matter.
@cuberggaming7795
@cuberggaming7795 5 ай бұрын
Timestamp 14:13
@Ricardo-qq8pn
@Ricardo-qq8pn 2 ай бұрын
How can you remove leftover data? Lets say u have a like a settings thing in the template, then u remove one of the settings from the template, but it still exists in the data, so do I just have to make a permanent script that sets that removed setting to nil?
@MonzterDEV
@MonzterDEV Ай бұрын
Off the top of my head, this isn’t automated. If I was to do this, I would probably handle removing old data after calling the Reconciliation method on the Profile. Although, I wouldn’t really worry about old data.
@mancheckitout
@mancheckitout Жыл бұрын
Do you sell courses? Because Udemy has very little amount of choices and you’re the most professional Roblox developer that I have ever seen. You were born to teach. I’m highly impressed!
@MonzterDEV
@MonzterDEV Жыл бұрын
Thanks so much for the kind words! You’ve actually got me considering making a Udemy course!
@mancheckitout
@mancheckitout Жыл бұрын
@@MonzterDEV If you do it is going to be epic. I will buy it.
@xzenkaidragon9664
@xzenkaidragon9664 8 ай бұрын
Thanks a lot for the very clear explanations - please keep making these kind of videos! :)
@MonzterDEV
@MonzterDEV 7 ай бұрын
I'm happy to hear the explanation was clear! I'll certainly continue trying my best :D
@steelixion
@steelixion 4 ай бұрын
how to reset the data?
@360sauce7
@360sauce7 3 ай бұрын
change the key
@OllieGoodenough
@OllieGoodenough 26 күн бұрын
Thank you for such a helpful video - Do you know how I'd update data using the manager from the client's GUI? I have a bunch of user settings in a GUI that I want to save when the client changes them, but I can't quite get it to work. I'm guessing I have to use a RemoteEvent connected to the manager somehow?
@MonzterDEV
@MonzterDEV 25 күн бұрын
What I would do is create a Remote Event and whenever the client changes a setting using the GUI, it’ll fire off the setting and new value it has been set to, to communicate the change to the server. Then you’ll make the change on the server as well, enabling you to save this change to the players data.
@OllieGoodenough
@OllieGoodenough 25 күн бұрын
@@MonzterDEV That worked perfectly, thank you so much :)
@Z3SC
@Z3SC Жыл бұрын
When finding out about Profile Service I seen stuff like "Profile Service requests player disconnect" which concerned me. Also it hasn't been updated in 2 years, which makes me wonder if he would still fix issues / and the kind of issues that might exist in it still
@crapz2395
@crapz2395 Ай бұрын
What a helpful video! Thank you so much!
@MonzterDEV
@MonzterDEV Ай бұрын
You're so welcome!
@360sauce7
@360sauce7 8 ай бұрын
17:54 Would this work with metatables?
@kryddsaltet
@kryddsaltet 11 ай бұрын
Thanks for the amazing tutorial, I will definitely be switching to ProfileService as I'm currently working on my first "serious" game. I do have one question regarding currencies though, wouldn't it be more effective to create values within a CurrencyFolder in the player, and on the client call the NumberValue.Changed event to update currency-displaying GUIs?
@tusart2436
@tusart2436 Ай бұрын
Thanks man, have a good one!
@MonzterDEV
@MonzterDEV Ай бұрын
Thanks, you as well :D
@noturne54
@noturne54 11 ай бұрын
Can you manually change some Player's data? I tried using the DataStore editor but it didn't worked.
@crane2724
@crane2724 5 ай бұрын
The other tutorial I saw didn't work, but this one I totally understood, was simple to implement, and works like a charm. Thanks!
@ArtificialHacks
@ArtificialHacks Жыл бұрын
may you please explain how you can make a function called release and one called listen to release and how Roblox knows that what you mean thank you as I don't understand
@Mchxdlo
@Mchxdlo Жыл бұрын
this is the most sigma tutorial i've ever seen, bro literally KNOWS what he's talkin bout
@slim9914
@slim9914 Жыл бұрын
Hi I have a question. This tutorial is perfect, however when I update the template to include (for example: a new rarity of booster) and I try to call it for a player that already existed beforehand, it gives an error.
@slim9914
@slim9914 Жыл бұрын
How to fix?
@lollolol3700
@lollolol3700 Жыл бұрын
can you make a global leaderboard with this?
@brenbeans
@brenbeans Жыл бұрын
oh my god, thank you so much. i was using datastore 1... data got erased. used datastore2... data got erased. now i can finally assure people that their data will not be erased
@MonzterDEV
@MonzterDEV Жыл бұрын
Profile Service is amazing!!
@mxstidreamz
@mxstidreamz Жыл бұрын
what if leaderstats are already created in a different script
@nwhatchel
@nwhatchel Жыл бұрын
How would you remove cash from the data table of the player?
@priceyt6839
@priceyt6839 Жыл бұрын
do you know if I am able to edit a players data from another server with profile service?
@MonzterDEV
@MonzterDEV Жыл бұрын
I don't believe so. Profiles are usually locked on the server they're being used on. This isn't what you want, but it's the closest thing I could find: madstudioroblox.github.io/ProfileService/api/#profilestoreglobalupdateprofileasync
@aaryn07
@aaryn07 9 ай бұрын
Really good tutorial! One question though, how would this work in an experience with multiple places? I want the player data to be to save across all places.
@MonzterDEV
@MonzterDEV 9 ай бұрын
Thanks for the feedback! I'm sorry to say, but I've honestly never worked with multiple places.
@nwhatchel
@nwhatchel Жыл бұрын
How would I store Tool objects for instance a hammer a character picks up, And would I place the tools in ServerStorage or ReplicatedStorage.
@mr_griffolukegriffiths9166
@mr_griffolukegriffiths9166 Жыл бұрын
You can only save normal data types. So instead of saving the tool itself you can save the name of the tool, then when the player loads in look for that tool in storage and clone it to their backpack. This is what people generally refer to as serialisation where you serialise data (turn it into something like a string or a table of values) then use that to de-serialise (use the data to create the things in the game) Hope that helps 😊
@OgGhostJelly
@OgGhostJelly Жыл бұрын
Insanely useful video I don't know how I would live without this 👍
@MonzterDEV
@MonzterDEV Жыл бұрын
Thanks! Glad you found it helpful!
@ClothedItalyPig
@ClothedItalyPig Жыл бұрын
How do you access the value of a datastore from another serverscript? As in, if I wanted to subtract wood by using PlayerData.AdjustWood(player, -woodamount), how would I reference the datastore where "-woodamount" is?
@haarissadiq8761
@haarissadiq8761 Жыл бұрын
you'd have to require the module script that contains the profiles of the player and then edit it like that
@priceyt6839
@priceyt6839 Жыл бұрын
will this work if i already have an existing data store? will I be able to transfer the data to profile service?
@MonzterDEV
@MonzterDEV Жыл бұрын
I've never tried using an existing data store with Profile Service...Not sure how you'd convert the data
@0VexRoblox
@0VexRoblox Жыл бұрын
​@@MonzterDEV It's possible. I'm not very familiar with ProfileService but if there is a way to detect if the player joined newly just change the values to the fetched values from the previous DataStore. If it's not possible to detect if the player is newly join, you can manually detect anyways. You can create a boolean called "NewPlayer" or something in the Template and set it to true. When the profile is created if you check for the value and if it is true, fetch data from the previous DataStore and set the ProfileService data to that. Finally set the value to false so that it doesn't fetch the next time the player joins. I used something similar to migrate from Roblox's DatastoreService to Datastore2. In Datastore2 I could easily detect if the player is new because :Get() would return nil if so. However I'm unsure with ProfileService because as far as I understand, it defaults to the template values if the player is new.
@ImUkoo
@ImUkoo Жыл бұрын
instead of FireClient() to update Gems just use the Changed Event on the Values so whenever it changes just update the text to the current amount......
@MonzterDEV
@MonzterDEV Жыл бұрын
I'm not too sure the specific technical detail, but the Changed event is unreliable. In the scenario it would probably be fine, but when if you need every single change to be fired, some may not be when listening to changed. I could be wrong about that specific issue, but I remember hearing about Changed not being super reliable.
@ImUkoo
@ImUkoo Жыл бұрын
@@MonzterDEV for values its very reliable..
@dementiagaming_skill_issue
@dementiagaming_skill_issue Жыл бұрын
W video! but 1 question: how can i use adjustgems for only 1 player?
@mikeartsyt89_2
@mikeartsyt89_2 Жыл бұрын
i *THINK* instead of using getplayers you can just use a simple player variable and use that instead of a getplayers loop
@erel2130
@erel2130 Жыл бұрын
Am I the only one who data stores was actually easier to learn than this?
@MonzterDEV
@MonzterDEV Жыл бұрын
You may want to consider the edge cases that ProfileService covers as well. If you feel comfortable covering those as well, then it sounds like you're in a good position!
@360sauce7
@360sauce7 2 жыл бұрын
This needs more views
@MonzterDEV
@MonzterDEV 2 жыл бұрын
Thanks!
@black_1009
@black_1009 2 жыл бұрын
This is cool I am going to try it
@MonzterDEV
@MonzterDEV 2 жыл бұрын
Hope you enjoy! It's such a relief!
@YxngReckless
@YxngReckless 8 ай бұрын
Great video , thanks
@MonzterDEV
@MonzterDEV 8 ай бұрын
Thanks! Happy to help :D
@jstarandomdude
@jstarandomdude 8 ай бұрын
how come your leaderstats create part works and mine doesnt :(​@@MonzterDEV
@360sauce7
@360sauce7 2 жыл бұрын
Wait, how do we save tools or pets with this?
@MonzterDEV
@MonzterDEV 2 жыл бұрын
You could look at my Simulator series for saving Tools & Pets, but it doesn’t show how using Profile Service.
@DiamondBor
@DiamondBor Жыл бұрын
@@MonzterDEV I can't find the video showing how to save Tools/Pets, and I'm not watching the whole series as I'm not really planning on making a simulator... What video has the code for saving Tools?
@kilpamations3477
@kilpamations3477 Жыл бұрын
@@DiamondBor serach I’m yt I’ve seen a tutorial before
@360sauce7
@360sauce7 8 ай бұрын
@@DiamondBorI’ve figured it out some time ago. Just loop through the table and the shop’s folder. If the item name matches the tools name in the shop, then clone it into player backpack AND starter pack
@lavellemp3
@lavellemp3 8 ай бұрын
Dude..WHAT??🫤
@AlienWarTycoon
@AlienWarTycoon Жыл бұрын
at 6:02 you should use this to be safe: local ProfileStore = {} -- Get the profile store for which envionment you are in if RunService:IsStudio() then ProfileStore = ProfileService.GetProfileStore("dev", Template) else ProfileStore = ProfileService.GetProfileStore("prod", Template) end
@swordlegend3256
@swordlegend3256 Жыл бұрын
Thanks this I think is very usefull
@0VexRoblox
@0VexRoblox Жыл бұрын
I used something similar: local function formatString(str, player) return (str :gsub("KEY", isStudio and config.DEV_KEY or config.PROD_KEY) :gsub("VERSION", config.VERSION) :gsub("USERID", player.UserId) ); end local profileStore = profileService.GetProfileStore(formatString(config.KEY_FORMAT), schema);
Save Player Data with Roblox Datastores
21:29
GnomeCode
Рет қаралды 106 М.
I Made a Roblox Game in 100 Hours...
11:26
reyn
Рет қаралды 335 М.
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 17 МЛН
WORLD BEST MAGIC SECRETS
00:50
MasomkaMagic
Рет қаралды 54 МЛН
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 66 МЛН
you SUCK at organizing scripts... Let's fix that!
13:12
Crusherfire
Рет қаралды 18 М.
Start using Type Checking in Roblox! Roblox Development Tips
18:44
I Learned How to SCRIPT in 7 Days | Roblox
11:00
Simjet
Рет қаралды 105 М.
Datastore: A Scripter's Worst Nightmare Explained
9:55
Ludius
Рет қаралды 18 М.
The Story of LSPLASH: The Dev Behind Roblox Doors
8:31
Skatebtw
Рет қаралды 873 М.
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 17 МЛН