Advanced Roblox Scripting Tutorial #13 - Data Store / Saving Player Data (Beginner to Pro 2019)

preview_player
Показать описание
Advanced Roblox Scripting Tutorial #13 - Data Store / Saving Player Data (Beginner to Pro 2019)

Hey guys, i know i've been gone for a while and i apologize for that but I am back and in today's video i am going to be teaching you guys about data stores and how they work. Basically saving player data. Anyways this a very long tutorial which is much needed. It goes into detail and specifics so anyone can understand it. Enjoy!

Articles Mentioned:



--Join my Discord Server to learn and meet other developers!--

Link to Beginner's Tutorial Series:

--What is this series about and who is it for?

So this series is meant for people who really want to learn exactly how to script, if that is you then I promise by the time you watch this whole series you will know exactly how to script on roblox. Anyways be sure to subscribe to see whenever I release a new tutorial and I will see you guys in the next one. Peace!
Рекомендации по теме
Комментарии
Автор

For anyone watching in the future: clicking the stop button in the home tab does not fire the PlayerRemoving event anymore. In order to test the script, go to the test tab and start a server. Close out on the player's tab and then you should see the data saved message in the output.

garrettsmith
Автор

I love how he doesnt just say, "Copy the script" He explains it so it does not just help us in datastores it helps us understand other scripts and what types of functions we need. It also helps us understand what were typing.

stray
Автор

Devking, i found you from your channel "TapWater" and watched one of your "current" videos which is your scripting our goofy ideas.
Just when i thought, "okay, im a bad scripter and only know the basics and mostly just copy off scripts", you came in clutch and made me ACTUALLY LEARN all this advanced stuff of datastores, lerping, CFrame and i actually feel like an actual scripter. I just want to say thank you for what you're doing.

Genus
Автор

Just got back from High School to see a video by Dev King, usually means my nights going to be good

ethansherwood
Автор

Thanks man, I'm more of a visual and auditory learner and this helped a lot. Much appreciation :)

rickjr
Автор

I just watched your video on CFrame, you’ve just earned a new subscriber!

Nathanator
Автор

Edit: After 3 long years of rewatching this tutorial and other tutorials, I've finally understood the concept of datastores. thanks buddy. I can now move on to the next scripting episode

wernkaros
Автор

I know I am a bit late, but I just wanted to say that I love how you go in depth and actually explain what each function means and does rather than just telling us what to type and leaving us confused. I love your work, please never stop uploading! ♥

thebrofessor
Автор

7:34 me when I look at my bank account

notmyusrname
Автор

These videos are the only good scripting tutorial vids because I can understand him, and he tells us more detail then others.

dragonmaster
Автор

19:10 "if the data saves sexually, oh god, that's not what I said"

jules__byr
Автор

It took me 2 days to realize that i forgot to turn on api services

MyNameJeffOG
Автор

just got an ad saying that if i wanna get good at coding, stop with youtube tutorials. they clearly have never seen this mans channel.

MisterCrowns
Автор

bro dont apologize for long videos. if its 30 minutes long like this video was, that means its very helpful since we get all the details.

InfinityBS
Автор

If you guys are making a game where every click or something is updating the leaderboard by +1 every click or something along the line, make sure if its a local script, you use the fireserver commands in order to send the new score to the server

electrododge
Автор

Bro, I was so fucking burnt out from scripting and couldnt understand ANYTHING and I found you from a recommendation and I'm actually getting somewhere now. ur so chill and following with you and learning with u is so easy bro so tysm I think I have hope in myself now bro 😭😭

Hypnostor
Автор

Now we know that TheDevKing is aroused by saving and loading data. We understand u

pepethejoker
Автор

one small mistake in the video, in the PlayerAdded function, when you're setting the local data variable, you need to set it as a table, so that multiple values can be saved into it. Instead of declaring it as 'local data', you need to declare it as 'local data = {}'

xdodko
Автор

22:07 dev king said "boom!", but i went "YES IT SAVED, I MADE A SAVE! THIS IS GROUNDBREAKING!" and i went crazy

sylvanusdzotsi
Автор

If you want to save a players objects, for example if they have a sword, or if they own a pet etc. you cannot do it in this way, instead you should make a value for it (i.e create a bool val inside the player) and save that value when the player leaves. You can then check that value when the player rejoins and give that item back. I learned this the hard way lol...

skintaker