How to create a Shop - Tower Defense Tutorial #21

Sdílet
Vložit
  • čas přidán 8. 09. 2024

Komentáře • 630

  • @quackywhackityphillyb.3005
    @quackywhackityphillyb.3005 Před 2 lety +77

    When the world needed him most, he returned

  • @Alexmow
    @Alexmow Před 2 lety +26

    As someone who’s never scripted before, I’ve got to say this series so far has taught me so much. Your explanations are very simple, thanks to you I mostly know what functions and tables are! I know some people are only here for the scripts, but you’ve genuinely made me learn so much. I’m not even kidding, I probably know more about Roblox Lua because of you than I know algebra from my math classes.

    • @trisidektos2404
      @trisidektos2404 Před 2 lety +2

      exactly bro, he's a legend we didn't deserve, but still got

    • @Clash_Studio1
      @Clash_Studio1 Před 2 lety

      Tower/player data does not exist,
      what me do?

    • @vimic0
      @vimic0 Před 2 lety

      I make my tower defense game by myself and watch these tutorials if i dont know how to add something

    • @FrostedOven
      @FrostedOven Před rokem

      I don't learn shit in my math classes

    • @M4x_M3m3z
      @M4x_M3m3z Před rokem

      @@FrostedOven Lol same

  • @Ollie0nline
    @Ollie0nline Před 2 lety +33

    Hey GnomeCode! Great video and tutorial in itself! This ones been a long time coming, try not to take too many suggestions and overwhelm yourself! Go with what your comfortable with, have an awesome one gnome, remember to take breaks!

  • @That_OneGuy46
    @That_OneGuy46 Před 2 lety +13

    Oh thank goodness, I thought the series finished at episode 20 and the was still so much I wanted to learn. Thank goodness!

    • @Ernad1
      @Ernad1 Před 2 lety +1

      im pretty sure theres only like one more episode after 22..

    • @muffinmcdeez54321
      @muffinmcdeez54321 Před měsícem

      @@Ernad122’s the last one

    • @Ernad1
      @Ernad1 Před měsícem

      @@muffinmcdeez54321 that comment is an entire year old, before the series was completed

    • @Darko_Boi
      @Darko_Boi Před měsícem

      @@muffinmcdeez54321 love the dedication lol

    • @muffinmcdeez54321
      @muffinmcdeez54321 Před 29 dny

      @@Darko_Boi oops, didnt look at the date 💀

  • @tofuaxolotl5478
    @tofuaxolotl5478 Před 2 lety +12

    Probably the most dedicated dev I have ever seen, keep up the amazing work.

  • @aqieefimt
    @aqieefimt Před 2 lety +5

    this man deserved a star code

  • @zedsdev1202
    @zedsdev1202 Před 2 lety +2

    i thought the series is finished;-; now we have to wait for it AGAIN

  • @minipumking
    @minipumking Před 2 lety +2

    Yes a new episode!
    I have been waiting for this for a very long time.

  • @Pyr0Blox1
    @Pyr0Blox1 Před 2 lety +7

    Let’s Take The Time And Be Glad that this man spent hours working on this for our tower defense games

    • @monoqqr
      @monoqqr Před 2 lety +1

      because you cant spend enough time to create it by yourself

    • @tipeanimates837
      @tipeanimates837 Před 2 lety +1

      @@monoqqr ofc another dude teasing people for not being able to get good at scripting and making them feel even worse(im talking about u lol)

    • @monoqqr
      @monoqqr Před 2 lety

      @@tipeanimates837 if you suck at scripting why are you making a tower defense game on the first place 😐

    • @FUCKWjNWj4Q3HeJsDildosJ_g
      @FUCKWjNWj4Q3HeJsDildosJ_g Před 2 lety +1

      @@monoqqr Because we are *Learning*

    • @FUCKWjNWj4Q3HeJsDildosJ_g
      @FUCKWjNWj4Q3HeJsDildosJ_g Před 2 lety +2

      @@monoqqr Tutorials are meant to teach people how to do something.

  • @antonvustudentmhs5098
    @antonvustudentmhs5098 Před 2 lety +2

    YOOOO TYSM. I've been waiting for this episode of your series!

  • @winkytoot
    @winkytoot Před 2 lety +5

    im a scripter, and i dont use youtube that much for scripting, but this tutorial is amazing! in the main game, you can add towers without having to script ANYTHING, because the scripts are prepared for any amount of towers! i think this tutorial is AMAZING for beginners, and i will recommend this to my friends who want to make tower defense games!

    • @therock6878
      @therock6878 Před 10 měsíci

      Hey if your a Scripter can u explain to me how to make a tower seasonal becuase I can’t figure it out

    • @Aetherbeen
      @Aetherbeen Před 9 měsíci

      @@therock6878 You cant figure it out because you dont have to figure it out, thats how easy it is

    • @GoatedTsbPlayer
      @GoatedTsbPlayer Před 2 měsíci

      Except the fact it be like 100 years outdated

    • @winkytoot
      @winkytoot Před 2 měsíci

      @@GoatedTsbPlayer this comment was FROM A YEAR AGO I fixed the problem already, and then the person I was making this game for (who keep in mind wasn't even paying me I was doing this for free) deleted the game, called it trash and blocked me

    • @justgames9516
      @justgames9516 Před 15 dny

      @@winkytoot that sucks

  • @plug_dos
    @plug_dos Před 2 lety +5

    is very good tutorial
    ideia: Badge towers -- give yourself a lot of work you don't have to

    • @GoatedTsbPlayer
      @GoatedTsbPlayer Před 2 měsíci

      U would just make it that the tower is given to the player every time they join the game and check with badgeService

  • @cinnamonisthecat
    @cinnamonisthecat Před 2 lety +1

    Gnomecode is back! Everyone celebrate!

  • @candykid44
    @candykid44 Před 2 lety +3

    YO
    dude i thought the series was over lol

  • @cubic_
    @cubic_ Před 2 lety

    I was starting to loose motivation on making the tower defense game,until i saw this. YESSSSSSSSS

  • @IBRLCS
    @IBRLCS Před 2 lety +2

    Holy crap you are good at scripting no matter what you do good job 👍

  • @bighorizon3373
    @bighorizon3373 Před 2 lety +1

    I am so happy you have returned gnomecode, you have made my day 😀

  • @newraptor8696
    @newraptor8696 Před 2 lety +4

    Hey GnomeCode, I’m new on you CZcams channel and I love your work. I just want to say thanks for your explanations.

    • @GnomeCode
      @GnomeCode  Před 2 lety +3

      Thank you, that's great to hear

    • @doinic09
      @doinic09 Před 2 lety

      @@GnomeCode Gnomecode, there is a problem with the targeting system. For the first targeting it hits enemies in alphabetical order instead of first to last.

    • @hamsterking_346
      @hamsterking_346 Před 8 měsíci

      @@doinic09 same

  • @ashfaq_
    @ashfaq_ Před rokem

    This man has taught me a lot in this series amazing, best dev on CZcams!

  • @akiprox7
    @akiprox7 Před rokem +1

    This is amazing bro! I just hope that the next episode we got an way of getting the lobby currency and data stores and the shop working for the game!

  • @Feashis
    @Feashis Před 2 lety +1

    He has returned!

  • @cocostars_37
    @cocostars_37 Před 2 lety

    I've seen a lot of dev all over youtube... And your are definitly the BEST one i've ever seen. Your videos are easy to understand and just amazing. Thank you for everything you do :)

  • @letsparty01645
    @letsparty01645 Před 2 lety

    NO WAY NEW EPISODE OMG OMG OMG OMG 2MONTHS FOR THIS SO WORTH IT!!!!!!!!!!!!!!

  • @Dafk1820
    @Dafk1820 Před rokem

    this is helping me more than expected with my td game, good work gnome!

  • @GoatedTsbPlayer
    @GoatedTsbPlayer Před 2 měsíci +1

    The most peak moment of the video is at 56:51

  • @bobkerman8930
    @bobkerman8930 Před 2 lety +1

    I KNEW YOU GONNA MAKE THIS TYSM

  • @user-pb8cv9fc3n
    @user-pb8cv9fc3n Před 2 lety

    OMG I WAITED FOR THIS VIDEO SO MUCH!

  • @jump_shadow3343
    @jump_shadow3343 Před 2 lety

    Many people thank you for these tutorials

  • @Fireboy49_YT
    @Fireboy49_YT Před 2 lety

    Finally, After 2 month it finally Return

  • @ChristopherThePiss
    @ChristopherThePiss Před 2 lety

    With school out its time to crack down on my tds work. Thanks gnome

  • @creatorrea
    @creatorrea Před 2 lety +1

    YEEEEEES! NEW TUTORIAL!

  • @aletvksa7739
    @aletvksa7739 Před 2 lety

    today is my birthday :D am so happy you gnome posted video on my birthday

  • @kennethkline7702
    @kennethkline7702 Před 2 lety

    Yay. The series is back!!!!!!!

  • @ShermanMark1
    @ShermanMark1 Před 2 lety

    Yay I was hoping for more Videos for this series

  • @skittle74
    @skittle74 Před 8 měsíci

    ah yes gnomecode
    the man who connects everything in existance into a function
    also good job gnomecode this is the best damn tutorial i've seen :O

  • @RootRootCarrothroge
    @RootRootCarrothroge Před 2 lety

    Yay, new episode!

  • @ttegamer
    @ttegamer Před 2 lety +7

    can u pls add an inventory system and splash damage and burst firing in the next episode pls?

    • @qydoz5384
      @qydoz5384 Před 2 lety +3

      yes pls do that i really want splash damage

    • @monoqqr
      @monoqqr Před 2 lety

      u do kno u can code it by uraelf

    • @FUCKWjNWj4Q3HeJsDildosJ_g
      @FUCKWjNWj4Q3HeJsDildosJ_g Před 2 lety +1

      He is going to do the "datastore" system next episode (Which is the inventory system), As it says in the description and at the end of the video.

    • @ttegamer
      @ttegamer Před 2 lety +1

      @@monoqqr i dont know how to code

    • @monoqqr
      @monoqqr Před 2 lety

      @@ttegamer LOL

  • @jmvoo2244
    @jmvoo2244 Před 7 měsíci +2

    Congrats on 100k subs

    • @GnomeCode
      @GnomeCode  Před 7 měsíci

      Thanks!

    • @crystlwolf4743
      @crystlwolf4743 Před 7 měsíci

      ​@@GnomeCodecan you make an updated series for the new code?

    • @FanatiqueLeader
      @FanatiqueLeader Před měsícem

      @@GnomeCode on 35:50 i test and is write " Players.SchoJulespro.PlayerGui.ShopGUI.ShopClient:25: attempt to concatenate string with nil " Plz help me

  • @artrobloxname983
    @artrobloxname983 Před 2 lety

    and also, ur tutorial about tds is so useful, my tds getting better :D

  • @trashedx6691
    @trashedx6691 Před 2 lety

    It's been a while but you're back now 😊

  • @adi_barb
    @adi_barb Před 2 lety +1

    finally he added shop system

  • @GoatedTsbPlayer
    @GoatedTsbPlayer Před 2 měsíci

    line 53 of the shopServer at 55:23 is crazy :skull

  • @0bit096
    @0bit096 Před 2 lety

    Love you gnomecode! Keep it up :D

  • @flowrsh
    @flowrsh Před 2 lety +1

    Welcome back

  • @probeardgames
    @probeardgames Před rokem

    Thanks for your tutorials! It is really cool and needed)

  • @enderdragon6668
    @enderdragon6668 Před 11 měsíci +1

    ✅ Equipped

  • @FlippingDown
    @FlippingDown Před měsícem +2

    Hi GnomeCode,i'm making a TD game i've watched this for like 15 times and still wondering how to add reward after victory/lose to the game

    • @greenqz
      @greenqz Před 17 dny

      ik this was 3 weeks ago but
      its in the next video

  • @AIO0110
    @AIO0110 Před 2 lety +1

    LETS GOOOOOOO TYSM!!!!

  • @CloudsDragon1
    @CloudsDragon1 Před 2 lety +1

    This Is Absolutely Amazing I Cant Wait For Episode #22 This Will Be Amazing For My Game

    • @aceplayzgames3608
      @aceplayzgames3608 Před 2 lety

      He privated episode 22 for some reason

    • @JuniDevs
      @JuniDevs Před 2 lety

      @@aceplayzgames3608 He said he didn't like it, I never got to finish it but hopefully when he remakes it, it'll be good.

  • @GodlyPerson.
    @GodlyPerson. Před 2 lety

    THE COMEBACK

  • @eliasschn
    @eliasschn Před 2 lety

    Return of the king

  • @savilije2022
    @savilije2022 Před 2 lety +1

    Wow it looks just like a shop in teddy (well not quite it is just a bit different) This can also be included as a "teddy" episode #14? Bc teddy has a shop. Also can we have a (kind) of speedbuild of Chapter Four The Zoo in Teddy. If u can I'd also like an egg hunt or XMAS tutorial for our piggy games, that will help a lot. Well, I think it's a bit hard but maybe it's not even LOL. And also the hard work can be seen in these videos how much best experience you are trying to bring us these games need to be supported. If u see this thank you ,ANGXL, god bless you bcz now we have a great teddy game which inspired and still inspires me till this day. Hope i bringed the support up keep following the path that ur following

  • @jsnotlout3312
    @jsnotlout3312 Před 2 lety

    You make great tutorials. I watch them even though I don't need too lol

  • @booz1080
    @booz1080 Před 2 lety

    YESSS I LOVE YOU GNOME CODE

  • @swordlegend3256
    @swordlegend3256 Před 2 lety

    Even tho I know how most of the script works I still learn something thanks

  • @clickingz
    @clickingz Před 2 lety

    Am still on episode 12 but thank you so much for doing this videos

  • @dheng6813
    @dheng6813 Před 3 měsíci

    Lets goo #21 completed

  • @excoir
    @excoir Před 2 lety +1

    LETS GOOOOOO

  • @PIXEL137
    @PIXEL137 Před 2 lety +1

    You comeback

  • @BasedOnBrian
    @BasedOnBrian Před 2 lety

    Yes we need this

  • @despwned_PL
    @despwned_PL Před 2 lety

    Finally he's back!!!!

  • @popcatedits
    @popcatedits Před 4 měsíci +1

    GUYS! I figured out how to make different game modes.
    To do this, copy “Game” (where the main game takes place), make it a different difficulty, change the amount of money and so on, then publish it and insert a new ID in the script of the desired elevator

  • @ern3922
    @ern3922 Před 5 měsíci +1

    If you get an error saying tower/player data does not exist, there is probably a code left over from the previous video in the server script service. If you delete that code, the error will be fixed.

  • @Jashaz-fz8vr
    @Jashaz-fz8vr Před 2 lety

    Thanks gnome

  • @m5niI
    @m5niI Před 2 lety

    he finally came back

  • @tsaroftheunion
    @tsaroftheunion Před 2 lety +1

    BasedCode.

  • @Chaser2001
    @Chaser2001 Před 2 lety

    the king returnsssss

  • @builderrhys3112
    @builderrhys3112 Před 2 lety

    OMGOMG i cant wait to play his gameeeeee

  • @itsray5257
    @itsray5257 Před 2 lety +1

    Hello gnomecode, i suggest you to make a series about how to make a RTS game, it would be really cool!

  • @upgames3436
    @upgames3436 Před 2 lety +2

    Awsome vid!! you should also do before u buy it it shows u what it does! like stats like:
    25 dmg at lvl 1
    throws fire
    etc and then it shows if u want to buy it or not

    • @GoatedTsbPlayer
      @GoatedTsbPlayer Před 2 měsíci

      You would create a GUI that turns visible every time u click the tower when u dont buy it. Remove the .Activated and replace it with the GUI confirm button. Make sure to check what tower u clicked or everything crashes.

  • @triangle-
    @triangle- Před 2 lety +1

    GnomeCode is back!?

  • @Monoperes
    @Monoperes Před 2 lety +1

    thank you

  • @Clash_Studio1
    @Clash_Studio1 Před 2 lety

    Cool GnomeCode, you returned. YAEY

  • @yungbasco
    @yungbasco Před 2 lety

    YEESSS IVE NEEDED THIS

  • @guillelopez3737
    @guillelopez3737 Před 2 lety

    I love u channel bro, thank for all help

  • @benliontv4357
    @benliontv4357 Před 6 měsíci +1

    Anyone still here, why does the Equipped text not show? everything works fine, but the damn text wont show

  • @MicroVolnushko
    @MicroVolnushko Před 2 měsíci +1

    this is very cool, but why does the script that we created in the last part simply not exist in this one? I'm talking about PlayerAdded, which should be in the ServerScriptService

  • @HowToName559
    @HowToName559 Před 2 lety +1

    Wow good

  • @lamm69420
    @lamm69420 Před 2 lety +3

    I got an error saying: Players.(Me).PlayerGui.ShopGui.ShopClient:34: attempt to concatenate string with nil. I also noticed that your stars text label had something inserted in it offscreen which i presume is the reason why you arent getting this error. What Should I do to fix this?

    • @Clash_Studio1
      @Clash_Studio1 Před 2 lety +1

      Same bro

    • @lukiraq
      @lukiraq Před 2 lety

      Im having this issue too

    • @lukiraq
      @lukiraq Před 2 lety

      I did it again and now it worked for me.

    • @topcaseoh
      @topcaseoh Před 10 měsíci

      @@lukiraq what did u do to fix it?

  • @rigelstarz6032
    @rigelstarz6032 Před rokem

    thanks i finally know how to make a remix of tower heroes

  • @cristanimation7939
    @cristanimation7939 Před 2 lety +3

    idk why but the image on towers does not show up can anyone help?

    • @tyraidgaming9124
      @tyraidgaming9124 Před rokem

      @Crist Animation This happened with me too, But in the TowerShop script where it says Asset ID *EX: ["ImageAsset"] = "rbxassetid://", After // put the image ID! Hope this helps!

    • @bitedacooki823
      @bitedacooki823 Před rokem

      @@tyraidgaming9124 i already did that and it still does not work

  • @NeonNebulaSunrise
    @NeonNebulaSunrise Před 2 lety

    YOOO HIIII I LOVE YOUR EPISODES!

  • @gucciclown4955
    @gucciclown4955 Před 2 lety +1

    Great tutorial! When your finished, could you make a series on how to make a game like outlaster on roblox? Theres basically no tutorials on that front

  • @juanmejia2
    @juanmejia2 Před 2 lety +1

    Saving spot! 35:50

  • @hatez3r0
    @hatez3r0 Před 5 dny

    48:15 save my spot!

  • @pitshotgun510
    @pitshotgun510 Před 2 lety

    Thank you gnome code for all time you are spending for us.

  • @douglasross9967
    @douglasross9967 Před 2 lety

    also your videos are amazing

  • @cheezitgodroblox6226
    @cheezitgodroblox6226 Před rokem

    17:01 saving my spot

  • @WearWQLF
    @WearWQLF Před 2 lety

    Man I see you working on Trap shop in teddy I don't know how long this was here on the studio but if it is still on work I am all for .

  • @entityofanimations3952

    THANKS BRO

  • @RX.PROD.
    @RX.PROD. Před 2 lety +2

    can you separate the store where only to buy heroes and the inventory where to dress them I want to do so in my Pls

  • @Averageidiot1014
    @Averageidiot1014 Před 2 lety

    Thank You!!!

  • @Ironbaby08
    @Ironbaby08 Před 2 lety

    20 years finally

  • @hatebreeder8
    @hatebreeder8 Před 2 lety

    OMG Finally

  • @Stalkerbug7765
    @Stalkerbug7765 Před 2 lety

    yooooo hes backkkkkkk

  • @ditar2fxre248
    @ditar2fxre248 Před rokem +1

    Gnomecode instead of a shop I want to make a summoning units feature like a bunch of those anime tds can you make a video?

  • @AnormalSlapBattlesPlayer2342

    finnaly dude

  • @martinseifert3356
    @martinseifert3356 Před 2 lety

    FINALLYY

  • @CallumP06
    @CallumP06 Před 2 lety +1

    love the series. Can you cover how to make a tower that gives gold rather than does damage, like a factory?

    • @planet9755
      @planet9755 Před 2 lety +1

      Do it urself

    • @grittx2970
      @grittx2970 Před 2 lety

      Just make a script for the farm tower that makes it give cash to the player every time the wave value changes

    • @BigNazzer371
      @BigNazzer371 Před 2 lety

      That gives ~stars~

    • @ShwiftyGamz
      @ShwiftyGamz Před 9 měsíci

      there is a guy called Nolaris Studios. he made a tutorial on how to make a FARM TOWER. if thats what ur lookin for then check it ouy

  • @tinpotproductions7454
    @tinpotproductions7454 Před 2 lety

    after the next vid, may you please do a torturial on how to make a mode selector? Like a easy mode, normal mode, hard mode and stuff like that, and then maybe PVP as the finishing one?