Roblox DataStore Tutorial - Data Stores & Saving Data - Scripting Tutorial

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 1,6 тыс.

  • @AlvinBlox
    @AlvinBlox  5 лет назад +337

    😎 Data Stores are back on the channel! I hope this teaches you something about how to use them. Make sure to like the video if you want more, and if you haven't already, subscribe to the channel for more vids! By the way, did you see my Simulator Part 3 video? :-)

  • @AxoAnimates
    @AxoAnimates 2 года назад +220

    Roblox should just add two functions, "save" and "load"

  • @clevertango88
    @clevertango88 5 лет назад +78

    I love this tutorial! I have learned a lot from this!
    Edit: Make sure API access is enabled!

    • @AlvinBlox
      @AlvinBlox  5 лет назад +12

      Awesome, Nyan! Thank you.

    • @masonmower8852
      @masonmower8852 5 лет назад

      Thanks

    • @Michael01OnRBLXmore
      @Michael01OnRBLXmore 5 лет назад

      So it will work for Roblox Studio as well! :)

    • @patriik1373
      @patriik1373 5 лет назад

      @perveen Can you show me the script? Or friend and invite me there i protably could help!

    • @vitu1863
      @vitu1863 4 года назад

      do you have the script of this video guys?

  • @cocodevs
    @cocodevs 4 года назад +79

    Alvin, you and the books that I've bought have taught me so much about scripting. About 2 years ago I had no idea what I was doing. I could semi build and (like most newer game makers) just knew how to edit free models. Thanks to you, I now know a lot of stuff. I've gotten hired as a scripter for a meme group and I really can't thank you enough. You're the reason all of this is possible.

    • @JN-bs5yr
      @JN-bs5yr 4 года назад +5

      Books?! There are books on Lua? That's dope. What's the name?

    • @ali_youtube123
      @ali_youtube123 4 года назад +1

      @@JN-bs5yr yeah man, check it out on kindle. Make an account if u dont have one and in the seach bar write something related to coding like 'lua coding'. There is this book i have heard of called The Programming of Lua, or something like that. But that book is not available on kindle. If you dont want to get kindle try amazon or just google.

    • @parkerrblx9286
      @parkerrblx9286 4 года назад +2

      Can be hired as a worker in a meme group?

    • @officialviolentart4146
      @officialviolentart4146 4 года назад +1

      Hey man I just saw this comment of your I am new to script and I'm glad your dreams are coming true I am still working towards fine and I hope I can do it

    • @billwills1282
      @billwills1282 3 года назад

      😁

  • @lancevanloenen2841
    @lancevanloenen2841 4 года назад +169

    You forgot to mention that in order for Datastores to work you need to go into Game Settings on the Home tab and turn on Enable Studio Access to API Services. Otherwise you will get a forbidden error.

  • @r3tr0_alit04
    @r3tr0_alit04 5 лет назад +588

    Oh boy, your voice changed alot.

    • @dixiedamelio6972
      @dixiedamelio6972 5 лет назад +13

      And,ahem,sounds..ba- ahem ahem.

    • @vibzins
      @vibzins 5 лет назад +15

      dude, hat was legit the first thing i thought Xd i finally watch one of his videos after so long and he grew

    • @transgenrights
      @transgenrights 5 лет назад +6

      So umm your using duck councils photo

    • @transgenrights
      @transgenrights 5 лет назад +4

      thats illegal

    • @transgenrights
      @transgenrights 5 лет назад +2

      @@vibzins escept if you own the photo

  • @shortfused9566
    @shortfused9566 4 года назад +2

    I watched several videos on DataStores before this one, still was super confused...
    ...I come to this one and I’m completely mind-blown by how great your explaining was. Thanks for this!

  • @lilynyabeta7917
    @lilynyabeta7917 5 лет назад +21

    I remember just a month ago I heard no idea on programming and scripting now I'm making my own roblox games

    • @AlvinBlox
      @AlvinBlox  5 лет назад +7

      That's great Lily! 👏

    • @lilynyabeta7917
      @lilynyabeta7917 5 лет назад +1

      Yeah this is my moms account I think we're the same age Alvin so can you add me on roblox please my username is @doomnight19

    • @lilynyabeta7917
      @lilynyabeta7917 5 лет назад +1

      Oh sorry I read your (about) on roblox sorry bruh it's cool, just one question which app did you use to learn scripting, please I need assistance

    • @_Crazyman109
      @_Crazyman109 5 лет назад +1

      @@lilynyabeta7917 the world, mostly interent sites

    • @oscoolerreborn
      @oscoolerreborn 3 года назад

      Happy one year anniversary! :>

  • @mattress9700
    @mattress9700 5 лет назад +51

    Man, I just gotta say - you're a savior.
    These are the kind of tutorials that I'm looking for
    1. Good content/quality
    2. Understanding what's being taught
    You exceeded both and did an amazing job buddy :)

  • @jacyloveless467
    @jacyloveless467 5 лет назад +61

    Thanks so much Alvin!
    Thanks for the uploads

    • @AlvinBlox
      @AlvinBlox  5 лет назад +8

      No problem bud!

    • @jacyloveless467
      @jacyloveless467 5 лет назад +4

      A
      Hey Alvin I was wondering when I finish the game that I am making I was wondering if you could check it out? I’ll put the link it this comment

    • @maxsatsikau
      @maxsatsikau 5 лет назад +3

      your profile picture is cursed

    • @OakleyAndGrace
      @OakleyAndGrace 2 года назад

      @@jacyloveless467 did the game get finished?

  • @MarcoO_z_
    @MarcoO_z_ 5 лет назад +417

    *Next Tutorial:* How to recreate ROBLOX using LUA.

  • @pinnick18
    @pinnick18 5 лет назад +2

    your a GOD. ive been trying to find something that works for ages and been following loads of your scrips and BOOM this beauty was hiding away from me thanks Alvin :) deffo earned yourself a sub

  • @spectrumdragon3944
    @spectrumdragon3944 5 лет назад +11

    Alvin, just want to say thanks for sharing all this info with the world
    You've really inspired and helped a lot of people.
    So I'm just saying thank you

    • @AlvinBlox
      @AlvinBlox  5 лет назад +4

      Thank you so much for the kind words, really do appreciate that. :D Thanks for watching Spectrum !!

  • @techtycho4752
    @techtycho4752 3 года назад +2

    I attempted to make a data store system in like 5 scripts. But yours is much easier. Thanks bro!

  • @agoodjenniferplayz4591
    @agoodjenniferplayz4591 4 года назад +120

    This is what one of em are: local DataStore = game:GetService("DataStoreService")
    local myDataStore = DataStore:GetDataStore("myDataStore")
    game.Players.PlayerAdded:Connect(function(plr)
    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = plr

    local Coins = Instance.new("NumberValue")
    Coins.Name = "Coins"
    Coins.Parent = leaderstats
    Coins.Value = 0

    local data
    local success, errormessage = pcall(function()
    data = myDataStore:GetASync(plr.UserId.."-Coins")
    end)

    if success then
    Coins.Value = data
    else
    print("There was an error while giving Player Data.")
    warn(errormessage)
    end

    end)
    game.Players.PlayerRemoving:Connect(function(plr)

    local success, errormessage = pcall(function()

    myDataStore:SetASync(plr.UserId.."-Coins", plr.leaderstats.Coins.Value)
    end)


    if success then
    print("Player Data successfully saved!")
    else
    print("There was an error while saving Player Data.")
    warn(errormessage)
    end
    end)

    • @pressuriized7563
      @pressuriized7563 4 года назад +5

      Im going to try copying and pasting yours XD, I think i made a really painfully obvious mistake that idk what it is. here was my code :/
      local DataStoreService = game:GetService("DataStoreService")
      local WinDataStore = DataStoreService:GetDataStore("WinDataStore")
      game.Players.PlayerAdded:Connect(function(player)
      local leaderstats = Instance.new("Folder")
      leaderstats.Name = "leaderstats"
      leaderstats.Parent = player

      local Wins = Instance.new("IntValue")
      Wins.Name = "Wins"
      Wins.Parent = leaderstats
      local data
      local success, errormessage = pcall(function()
      data = WinDataStore:GetAsync(player.UserId.."-Wins")
      end)

      if success then
      Wins.Value = data
      else
      print("There was an error whilst getting your data")
      warn(errormessage)
      end
      end)
      game.Players.PlayerRemoving:Connect(function(player)

      local success, errormessage = pcall(function()
      WinDataStore:SetAsync(player.UserId.."-Wins",player.leaderstats.Wins.Value)
      end)

      if success then
      print("Player Data successfully saved!")
      else
      print("There was an error when saving data")
      warn(errormessage)
      end
      end)

    • @GeniusGaming112
      @GeniusGaming112 4 года назад

      @@pressuriized7563 em that was wins

    • @GreenTeaOtaku
      @GreenTeaOtaku 4 года назад

      thx

    • @Danon60Hz
      @Danon60Hz 4 года назад +7

      Guys, make sure not to type ‘Async’ with a capital S.
      ‘ASync’ = WRONG
      ‘Async’ = CORRECT

    • @mcohen8025
      @mcohen8025 4 года назад

      @@Danon60Hz its lua caps or not caps i dount matter lua not cap sensitive

  • @MrVextran69
    @MrVextran69 3 года назад +2

    Thanks, I had trouble with this but you saved me! It didn't work at first, but it worked when I retyped the whole script! You truly are the best and talented scripter / developer in Roblox!

    • @Summon-Inc
      @Summon-Inc 3 года назад +2

      It didnt work for me

  • @walterheisenbergwhite6034
    @walterheisenbergwhite6034 5 лет назад +4

    Alvin you're the only youtuber I won't skip ads for.

  • @Z9R.
    @Z9R. 5 лет назад +2

    You are way better than the roblox wiki

  • @redstonemaster3847
    @redstonemaster3847 5 лет назад +14

    100K SUBS CONGARTS ALVINBLOX!!!! MAKE A SPECIAL TUTORIAL PLZ!

  • @romoney
    @romoney 5 лет назад

    in the simulator part 3, i commented that the data saving doesn't work. i searched everywhere in the toolbox, but nothing worked. then, i found this video and got my data saving to work. thank you a million!
    fun fact: you can change datastore names to switch the player's data!

  • @shybester
    @shybester 5 лет назад +11

    I was watching old tutorials for info. and your voice was high.
    I watch this one and was like WOW

  • @ElepIn
    @ElepIn Год назад

    Bro this helped me too much lol. You are truly one of the best at tutorials. I've seen a bunch of data store tutorials, they did work, but you helped me understand why they work. Thank you so much.

  • @bananaphone3733
    @bananaphone3733 5 лет назад +31

    Thanks for teaching children and adults how to script.
    You wake up the interest of scripting in many people and you are a inspiration to most of us
    -May 2019 be a great year

  • @vidyuthegde648
    @vidyuthegde648 3 года назад +1

    best roblox tutorial channel

  • @ryannoward9404
    @ryannoward9404 3 года назад +3

    Alvinblox: “Very very simple. A lot of people think it’s hard but it really isn’t.”
    Me only copying and not understanding any of it:

  • @josephwillings1147
    @josephwillings1147 5 лет назад

    THANKS SO MUCH. I have been searching for ways to do this FOREVER. This will help a lot of the coders out there hugely.

  • @notfrostfall
    @notfrostfall 5 лет назад +3

    I love your content! Its taught me a lot. I've learned how to script basically just from watching your channel! Keep up the good work!

  • @BunnyFilms
    @BunnyFilms 5 лет назад +1

    Can you store multiple values to data or is it limited to the cash value?

  • @razerpenguin1887
    @razerpenguin1887 5 лет назад +16

    Good Video Alvin! Btw can you make a tutorial on Attacking NPCs and how to make a sword :)

    • @jakephillips6077
      @jakephillips6077 5 лет назад

      Ninja GameZ You could use that for the sword but even I still haven’t worked out NPC’s lol 😂 I’ve been scripting on Roblox for almost 2 years 😬

    • @FuneeGG
      @FuneeGG 5 лет назад

      @@jakephillips6077 I've been scripting on roblox since the beginning of 2018/late 2017 and, I know how to do variables and simple to mid level stuff but, Stuff like data storage is stuff that I need to learn to advance my scripting knowledge

    • @elmo183
      @elmo183 4 года назад

      There is no easy way on making an NPC let alone an attacking NPC. There is so much that goes into it. You kinda have to learn how to make AI in LUA. Your best bet is to grab an NPC from the toolbox and customize it to fit your game. Hope this helped.

    • @watermelown2536
      @watermelown2536 4 года назад

      Sword Script
      script.Parent.Touched:Connect(function(player)
      player.Charcter.Humanoid.Health-=10
      end)

  • @RXRMidwest
    @RXRMidwest 5 лет назад +2

    Thank You I've Been Waiting For This One For A While.

  • @Ko-B
    @Ko-B 5 лет назад +3

    Awesome tutorial. I thought it was broken or something but it was just because I wanted to have a different name instead of Cash and sometimes I put cash instead of my currency name. Thanks a lot!

  • @nefixilan8434
    @nefixilan8434 4 года назад +3

    Oh my god tysm! I was searching for it so long time and finally I found tysm I love I r the best scripter

  • @artikz7349
    @artikz7349 4 года назад +3

    Alvin your scripting tutorials are literally the best, they always make sense and it's so easy to understand what's going

  • @tweaked_clan_official4699
    @tweaked_clan_official4699 3 года назад +1

    thank you so much! i have watched so many video's and this is the only one that worked, i cant thank you enough, now my game can continue to be developed!!

  • @noodlepup4288
    @noodlepup4288 4 года назад +51

    me: copying not knowing most the stuff im doing
    alvin: you should know what you're doing here
    me: bruh bruh bruh

  • @cougar7263
    @cougar7263 5 лет назад +1

    Almost 100k Alvin!!!
    Edit: Thanks for the Afro, the Heart and the reply!!!! Best Roblox RUclipsr, in my opinion.

    • @AlvinBlox
      @AlvinBlox  5 лет назад +1

      YES!!! COME ON!! We'll get there Fantailed :D

    • @cougar7263
      @cougar7263 5 лет назад

      @@AlvinBlox Thanks for the afro hair and the heart.

  • @SnoweeFox
    @SnoweeFox 4 года назад +4

    How do you save more than one value?? I was able to get one value to save/load correctly, but when I tried to add another value to save, it didn't save.

  • @dien2971
    @dien2971 4 года назад

    I found a similar topic of your video but from 2017 or 2018 (I don't remember). I notice that you didn't set public of that video anymore.
    That's a good solution, because it's a bit messy and confusing. This video is clearly and easy to understand.
    Thank you so much, you are my teacher

  • @deathhancox
    @deathhancox 3 года назад +8

    Datastores have always been a troubling point for me, and while this video helps a little I'd love to see a more in depth explanation about what datastores are and how they work, as well as some other examples with other data types if that's possible.

    • @yoursubconscious1774
      @yoursubconscious1774 3 года назад +1

      bro they literally save data. Your setting the data then getting it when a player leaves

    • @NinjacraftCodes
      @NinjacraftCodes 2 года назад

      I think the dev king has a video on it explaining what it does, anythings gonna take a little bit to grasp.

    • @nvermr
      @nvermr 2 года назад +2

      @@NinjacraftCodes not touch events those take 1 minute to learn

  • @somewhatoriginal
    @somewhatoriginal 3 года назад +2

    my eyes have been blinded
    dark mode studio users where u at

  • @LevinLevin
    @LevinLevin 5 лет назад +3

    almost 100k subs! keep fighting

  • @IAmBlackDove
    @IAmBlackDove 4 года назад

    Thank you so much alvin because i was looking about an hours for data saving some of them dont works but this video turtorial does worked thank you so much

  • @GuardianSpeed
    @GuardianSpeed 5 лет назад +15

    It kept saying "Player is not a Valid member of DataModel" when ever I tried to give myself some points on my game, what should I do?

    • @ShadowrrVL
      @ShadowrrVL 5 лет назад +6

      That error occurred to me as well,
      Its actually "game.Players(you probably forgot the S)"

    • @damaing900
      @damaing900 4 года назад +1

      @@ShadowrrVL can u make a global leaderboard that works for me?
      i'll pay you 100 robux
      username: damaings

    • @elmo183
      @elmo183 4 года назад +1

      @@damaing900 What do you mean Global?
      Like a high scores table? I could make one for you

    • @Dev-ob1xs
      @Dev-ob1xs 4 года назад +1

      Damaing I can do it for you to

    • @michaelepica3564
      @michaelepica3564 4 года назад +1

      @@damaing900 umm, ok but what do you mean by global leaderboard?

  • @kurtfan5468
    @kurtfan5468 5 лет назад +1

    thank you for the info! The simulators I were making were not showing values. keep on the good work!

  • @Fun_stickman
    @Fun_stickman 2 года назад +1

    Thank you! I am making a Tower Defense game and this really helped with saving player's gold and exp! Thank you!!!

  • @cupofjoe1136
    @cupofjoe1136 4 года назад +15

    90% of people go to the description first
    10% actually come to learn something

    • @JeremyFragrance64
      @JeremyFragrance64 4 года назад

      Ikr and its kinda sad

    • @lewismighard435
      @lewismighard435 4 года назад

      i do it because the way he says stuff kinda confuses me cause its like he thinks everyone is a professional e.g sheasu, if you know who he is the way he explains stuff is easier to understand(for me at least) because he goes in depth explaining everything about what he says
      sorry for the essay

    • @nitrobladezxl2994
      @nitrobladezxl2994 4 года назад

      I usually go for free models but if there is none I watch the vid

    • @etzgames996
      @etzgames996 4 года назад

      @@lewismighard435 1. before i say anything i do not do this.
      2. You don't have to be a professional to know this stuff u just have to have a basic understanding of scripting. This is basically intended to be in the middle of his basic scripting series and his advanced scripting series. That's how i think it's supposed to be.
      3. that is not an essay.

    • @etzgames996
      @etzgames996 4 года назад

      @@nitrobladezxl2994 u can't make a good game with free models lol

  • @PixelEqualsNil
    @PixelEqualsNil 4 года назад +1

    THIS KID IS SO SMART HE COULD RECREATE ROBLOX BUT BETTER

  • @despicableyt
    @despicableyt 5 лет назад +5

    Thanks for the tutorial :))

  • @trueMSB
    @trueMSB 2 года назад

    thx so much, all other tutorials only said how to do it not how it's done, so you helped me

  • @Mistrivious
    @Mistrivious 5 лет назад +4

    Wait havent you already made this tutorial before? I swear i remember watching a tutorial on datastores by you a while back.

    • @AlvinBlox
      @AlvinBlox  5 лет назад +4

      Was old, quite outdated, this one's better, teaches you how to use it so you can use it for other things. And more efficient.

  • @oh_yeah6891
    @oh_yeah6891 4 года назад +1

    It’s funny cause this actually works for Alvin just like all the other videos such as the sword game

  • @PoppinCorn
    @PoppinCorn 4 года назад +3

    copied everything from the video and checked console and there was no errors? what went wrong?

  • @Ortleyo
    @Ortleyo 4 года назад +1

    btw THANK U SO MUCH!!! I REALLY LIKED YOUR CONTENT IVE BEEN LOOKING FOR THIS FOR ABOUT 30 MINS!!

  • @TugiDeg
    @TugiDeg 5 лет назад +4

    I WAS ABOUT TO SEARCH THAT!

    • @TugiDeg
      @TugiDeg 5 лет назад +2

      Showed up onmy "Recomannded"!
      THANKS!

    • @AlvinBlox
      @AlvinBlox  5 лет назад +1

      Epic, thanks!

  • @funny6938
    @funny6938 4 года назад +1

    Ay thanks.
    It worked without a problem.

  • @iamsam9183
    @iamsam9183 4 года назад +5

    your voice is like deeper than the dent in my head from my headphones

  • @PeytonYouTube
    @PeytonYouTube 5 лет назад +2

    Love your videos :D I am combining your tutorials together into one game!!!!!!!

    • @AlvinBlox
      @AlvinBlox  5 лет назад +2

      That's awesome Peyton, best of luck with it!

  • @awesoment2553
    @awesoment2553 5 лет назад +4

    Hey Alvin, I am making a game where you buy stuff and it saves to an "Inventory" value in the player. I was wondering if this would work to save that?

    • @contentunwanted9228
      @contentunwanted9228 5 лет назад +2

      it does just search for it, it saves tool from them from being a value in a folder and then it finds them in the player values then clones it into the backpack

  • @gunner261
    @gunner261 4 года назад

    This worked so well thank you so much at first it deleted my leaderboard from the top right when I wrote it but it was because I had like 2 little errors this deserves a like

  • @Jumpathy
    @Jumpathy 5 лет назад +24

    Make a tutorial on how to save guis like if a player made a shop etc
    EDIT: nvm I figured it out from this tutorial

    • @bruh-js7lo
      @bruh-js7lo 4 года назад +3

      You can’t say you figured it out and not tell us how you did it

    • @lawsonlamyear118
      @lawsonlamyear118 4 года назад +2

      @@bruh-js7lo ikr

    • @nitrobladezxl2994
      @nitrobladezxl2994 4 года назад

      @@bruh-js7lo yeah i hate it when you look through the comments and finally see someone mentioning the problem that you have and then you see no reply or that one part that says "Edit: nvm I figured it out"

    • @cottoncherry2177
      @cottoncherry2177 4 года назад

      @@nitrobladezxl2994 Boo hoo

    • @cottoncherry2177
      @cottoncherry2177 4 года назад

      @@bruh-js7lo Do they owe you the script ?

  • @svtutorials3475
    @svtutorials3475 4 года назад

    Thank you so much @AlvinBlox i looked at so many tutorials but when i was done none of them worked. The reason why the other tutorials didnt work is because i had a cash gui and no on the tutorials worked with the gui, but this tutorial did....
    All i want to say is thank you, and i subscribed even though i shouldve subscribed earlier :D

  • @Ncraft2
    @Ncraft2 5 лет назад +4

    I want to save the tool data when you get in game ...
    Need help...
    My first sentence sounded like a 9 year old...

    • @4TH4RV
      @4TH4RV 5 лет назад

      its ez

  • @Crystal_F3ather
    @Crystal_F3ather 4 года назад

    Bruh thank you I have been trying to learn data stores and this was the only video working thanks man

  • @koraxz8664
    @koraxz8664 5 лет назад +4

    Thank you so so much!!! I'm pretty young, yet I really want to learn how to code, and YOU are the source of my progress. Thank you so much, and never stop your awesome work!

    • @analacy
      @analacy Год назад

      Hey! I was wondering if you ever wanted to make a roblox game together. Ive been playing since 2019 and I'm learning things every day.

    • @danielmain1885
      @danielmain1885 Год назад

      @@analacy yo! I’m only 12 and I’m working on a one peice game. Maybe you could help?

  • @Michael01OnRBLXmore
    @Michael01OnRBLXmore 5 лет назад +1

    Ok sooo... IT DID WORKED! THANK YOU SO MUCH ALVINBLOX! SUBSCRIBED AND LIKED!

    • @omeRekt1
      @omeRekt1 5 лет назад

      it did not work for me,

  • @amaanrehman277
    @amaanrehman277 5 лет назад +4

    Dude how can we make shop and gun saver for guns datastore make a vid and sell it inventory so it can be easy

  • @ruhmomenr98
    @ruhmomenr98 5 лет назад +1

    Wow, amazing tutorial. I also had read that roblox developer hub article on it before this, but your video helped me understand it better, thanks so much!

  • @phuongta671
    @phuongta671 5 лет назад +3

    Congrats on 100k!!!

  • @theandersonfamilychronicle6981
    @theandersonfamilychronicle6981 2 года назад

    Still 3 years later... Still works. Thanks so much!

  • @blazerx900
    @blazerx900 5 лет назад +14

    Why not have multiple datastore that hold different entities? Such as in example:
    local cashStore = DataStoreService:GetDataStore("PlayerCash")
    local experienceStore = DataStoreService:GetDataStore("PlayerExperience")
    local levelStore = DataStoreService:GetDataStore("PlayerLevel")

  • @newarmysoldier6932
    @newarmysoldier6932 4 года назад +2

    How will I go about adding more than one leaderstat, such as cash rebirths and stength.

    • @buildrjack1822
      @buildrjack1822 4 года назад

      Instance another Value inside your leaderstats folder

  • @terror7404
    @terror7404 5 лет назад +3

    You should do a tutorial on placement systems. If you can, try to make a placement system for builds like in fortnite.
    Please and Thank You.

  • @bloxxer6259
    @bloxxer6259 3 года назад

    Thanks a lot! With your help I managed to fix my RPG game’s statistic saving system! Thanks a lot Alvin!

  • @TigerManGaming
    @TigerManGaming 5 лет назад +3

    Woah your voice cracked since i last watched one of your videos! Content’s still the same tho 👌

  • @rightpersonwrongtime2024
    @rightpersonwrongtime2024 5 лет назад +1

    Great video, Alvin.

  • @gtavandmore8788
    @gtavandmore8788 5 лет назад +3

    Very Helpful video! Can you please do a tutorial on how to save the player inventory?

    • @AlvinBlox
      @AlvinBlox  5 лет назад +3

      Thanks! You're the guy from acceleration right? And yh sure

    • @gtavandmore8788
      @gtavandmore8788 5 лет назад

      @@AlvinBlox Yay thanks! And yeah its me!

    • @myth5002
      @myth5002 5 лет назад

      AlvinBlox yes please do Alvin because I am dying for a code like that no code for inv saving works now A days

  • @vxcaie
    @vxcaie 4 года назад

    It worked! Thanks! I am found other videos and ot dont work for me, but when i watched this video it really worked! :D

  • @JoseJJ01
    @JoseJJ01 5 лет назад +6

    Those who gave him dislike to the video are envious.

  • @historyisthebest5831
    @historyisthebest5831 4 года назад

    Thanks Alvin I saw the error. Thank you, 9 out of 10 or 10 out of 10 of your tutorials work for me!

  • @testaccount891
    @testaccount891 5 лет назад +3

    Can you make a stats upgrade gui w/ script. For example, When you level up you get one skill point and you can use it to upgrade your stats like Health, Regen, Speed.....
    Please help me make this! I have been trying sooo hard to make a script like this to work but it keeps failing😢.

    • @sipoholin337
      @sipoholin337 5 лет назад

      whats your rblx account i could help

  • @LuisRamosVenezuela
    @LuisRamosVenezuela 5 лет назад

    Hello Alvin, i follow your videos like 1 year ago learning bit a bit, thanks alot!

  • @sanadghebari2047
    @sanadghebari2047 5 лет назад +4

    The data store works for me like that, but when I begin using my tool for my sim and get coins in that method, it doesn’t work. Anyone got a solution?

  • @deadchannel4180
    @deadchannel4180 5 лет назад

    I like your bids because I'm a beginner and all of your bids helped me a lot thnx

  • @astroidz7039
    @astroidz7039 5 лет назад +5

    How can you save multiple data at once like
    Pets, Gems, Coins, Damage, Kills

    • @tdgog965
      @tdgog965 5 лет назад +1

      I would duplicate the script and simply change the key and the name of the stat you're saving.

  • @roblipro314
    @roblipro314 3 года назад +2

    I learned SO much in this video

  • @l1nk284
    @l1nk284 5 лет назад +3

    I hope you answer :) but my problem is that I made a tycoon with a kit that included LinkedLeaderboard How can I datasave when using LinkedLeaderboard?? I didn't get it working.

    • @elmo183
      @elmo183 4 года назад

      Try maybe using your own leaderboard. Free toolbox scripts usually only work certain ways.

  • @DoomPosing
    @DoomPosing 2 года назад +1

    Before I continue in the video I have a quick question to you add 1 script with only this in it or put it in every script?

  • @xPhantom27
    @xPhantom27 5 лет назад +4

    Oh good, I've been wanting to learn how to do this.

    • @AlvinBlox
      @AlvinBlox  5 лет назад +4

      Ah excellent, glad it's useful

  • @oofuslol8659
    @oofuslol8659 5 лет назад

    thank you for this, I'm getting into Roblox coding and your vids are helping a lot :D

  • @ARand0mUser
    @ARand0mUser 4 года назад +1

    I usually have great respect for this person. he explains scripting pretty nicely, but you cant just skim over stuff like pcall, and SetAsync. Im sorry if this sounds like hate but you gotta understand that some people dont understand this stuff. I have noticed this in many other videos. Well atleast we have roblox wiki

    • @koye4427
      @koye4427 4 года назад +1

      Typically he doesn't waste time explaining every step in detail in the non-beginner tutorials, the Roblox devforums have great explanations in the meantime

  • @boskoignjatovic2659
    @boskoignjatovic2659 5 лет назад +4

    it wont work for me i did everything as in the video. Dose anyone have the same problem?

    • @endinguniverse0175
      @endinguniverse0175 5 лет назад

      Bosko Ignjatovic yes it’s not working for me either. I carefully checked all the code, my api is on and I have no clue what to do xd.

    • @Nelsoo
      @Nelsoo 5 лет назад

      @@endinguniverse0175 yeah same i think the code is too old

    • @kinoko87_b
      @kinoko87_b 4 года назад

      Yep

  • @gn2677
    @gn2677 4 года назад +1

    Hey great video everything works but just one question do you know how to have more than just one variable like cash and something else?

  • @brig2564
    @brig2564 5 лет назад +6

    I need help with something, I'm making a minibuilding game and I want that everything that people create with F3X inside the game will be manually or automatically, either way that is easier, saved into the server after they leave and re-enter the server, everything they did before was saved.
    Edit: Sorry for my bad english, I'm not english.

    • @nonsensicalhumanoid
      @nonsensicalhumanoid 5 лет назад +1

      That is legit perfect English i dont see anything wrong

    • @MisterHunterWolf
      @MisterHunterWolf 5 лет назад +1

      ^
      every time I see somebody being sorry for there "bad" English, it is always completely fine, or at least can be understood by a native English speaker.

    • @ArseneKichi
      @ArseneKichi 4 года назад

      @@MisterHunterWolf yeah

  • @ninergaming1563
    @ninergaming1563 3 года назад

    Woah It Work I Edited The Script To Save Survivals And It Did Work

  • @MangirdasSm
    @MangirdasSm 5 лет назад +14

    You
    Know
    Who
    Is
    The
    Best
    Person
    In
    The
    World
    Read the first word

    • @masternd8879
      @masternd8879 5 лет назад +4

      The first word

    • @omegarunato2680
      @omegarunato2680 5 лет назад +2

      The first word i see is "mangis smagorius"
      (Edit : I do know the joke.)

    • @goned216
      @goned216 5 лет назад

      I know who is the best person, read the first word.

    • @Fidumo
      @Fidumo 3 года назад

      Okay, I read "the first word". Now what?

  • @lucxs_a
    @lucxs_a 5 лет назад

    Congratulations for 99K+ Subs ^^

  • @RXCI
    @RXCI 5 лет назад +13

    (Tip for everyone) don't do the walkspeed because it will make you stay still, instead of putting it in, your character will get slower the more you grow, so it pretty much fits in with the other growing sim games

    • @mrkinghimself9412
      @mrkinghimself9412 Год назад +4

      Your character doesn’t get slower, it stays the same, but the height just makes it seem like your walking slower.

  • @weirdshark4221
    @weirdshark4221 3 года назад +1

    Hey Alvin! I keep getting this error in my output: ServerScriptService.Script:25: attempt to index nil with 'Value' .
    Why is it doing that? The only thing I can think of is that you're using a "IntValue" meanwhile I use a "NumberValue" could I get some help?

  • @dead7803
    @dead7803 5 лет назад +3

    Can you pls do leveling system? Cuz I'm making a game called
    "Not telling in public xD"

  • @jesseblasengame
    @jesseblasengame 4 года назад

    You are my newe superhero, this really does work!!!!