Game Modes Tutorial - GnomeCode Tower Defense Addons #12

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

Комментарии • 118

  • @pirat_cola9998
    @pirat_cola9998  8 месяцев назад +2

    I noticed that many people have problems with this addon, so this time I am sharing the model:
    create.roblox.com/store/asset/17008457439/Game-Modes-script
    Please don't copy and paste scripts, it may damage your game

    • @nezifiedpixels
      @nezifiedpixels 7 месяцев назад +1

      Can you help im not getting any coins

    • @pirat_cola9998
      @pirat_cola9998  7 месяцев назад

      @@nezifiedpixels Maybe tomorrow I help you

    • @nezifiedpixels
      @nezifiedpixels 7 месяцев назад

      @@pirat_cola9998 are you gonna help or what

    • @pirat_cola9998
      @pirat_cola9998  7 месяцев назад

      @@nezifiedpixels You don't get coins when you finish game or when you go to lobby?

    • @nezifiedpixels
      @nezifiedpixels 7 месяцев назад

      I figured it out

  • @RavaTheArthur
    @RavaTheArthur 9 месяцев назад +4

    you forgot to mention to add string value in the Info, then name the string value to "Mode" Then it should work

  • @โบจจิอีสเดอะเบส
    @โบจจิอีสเดอะเบส 6 месяцев назад +1

    Hi i have question my game not have map select like 2:27 but i want gamemode select how to make it?

    • @pirat_cola9998
      @pirat_cola9998  6 месяцев назад +1

      Put your mode change function where your game start

  • @greenqz22
    @greenqz22 2 месяца назад

    what happened to your main script

  • @JustCarl-u9h
    @JustCarl-u9h 6 месяцев назад +1

    0:14 you forgot to mention that mode is it a numbervalue or an int value

    • @pirat_cola9998
      @pirat_cola9998  6 месяцев назад

      Yes I know that's why I recorded a separate bug fix video

  • @NOTPIXLVR
    @NOTPIXLVR 5 месяцев назад +1

    Hey! Love the addon, but when I dont vote for a mode i get an "Argument 1 missing or nil" Error and It seems to skip over the if not statement.

  • @matx4044
    @matx4044 9 месяцев назад

    zostańmy najlepszymi przyjaciółmi proszęęęęęęęę (Kocham twoje filmy)

  • @maxon4kyt433
    @maxon4kyt433 9 месяцев назад +1

    hey, it says round. line 48 attempt to call a string value, how do i fix it?(i fixed it)
    for those who got the same issue:
    change line 48 or just when it says "If mode easy then" to "if mode == easy then" and do that with normal and hard also.
    W tutorial :)

  • @danielao3207
    @danielao3207 9 месяцев назад

    Marat have a glitch when it spawns 2 map at once, does this tutorial doesn't have that bug?

    • @pirat_cola9998
      @pirat_cola9998  9 месяцев назад

      Don`t have if you delete line from ToggleVoting with: local n = math.random(#maps). This line probably broke this

    • @danielao3207
      @danielao3207 9 месяцев назад

      K ty

  • @finn8975
    @finn8975 7 месяцев назад

    could you make a tutorial how to make the map choosing in the lobby of the game like in the elevator that you choose before you get teleported?

    • @peterbl582
      @peterbl582 6 месяцев назад

      You just have to create multiple maps and create elevators for the corresponding maps

    • @finn8975
      @finn8975 6 месяцев назад

      @@peterbl582 ok ty

  • @andromeda4884
    @andromeda4884 Месяц назад

    IT WORKS, IT WOOOOORKS, YEEEEEEEEEEEEEEEE

  • @Idek_Name
    @Idek_Name 6 месяцев назад

    Does it have with the actual data stuff from the game you tp from? like the getdata stuff

  • @EmeraldMan57
    @EmeraldMan57 4 месяца назад

    Hello Everything is working fine except datastore. When I exit the game it don´t adds it in main game. There aren´t any errors so please help if you know how to fix it!

  • @Noobs43
    @Noobs43 9 месяцев назад

    How did you do the farm?

  • @JustCarl-u9h
    @JustCarl-u9h 6 месяцев назад

    when the gamemode finished voted the tower's template doubled wtf

    • @pirat_cola9998
      @pirat_cola9998  6 месяцев назад

      Interesting I don't have that problem

    • @JustCarl-u9h
      @JustCarl-u9h 6 месяцев назад

      Help pls

    • @pirat_cola9998
      @pirat_cola9998  6 месяцев назад

      @@JustCarl-u9h I don't know how, none of the scripts I changed are responsible for this, you probably set something wrong in the GameController script

    • @JustCarl-u9h
      @JustCarl-u9h 6 месяцев назад

      @@pirat_cola9998 hmm i guess so i am thinking of that rn i had no error even tho i double checked
      This worked few weeks ago tho

  • @czk6777
    @czk6777 5 месяцев назад

    we need to add the game mode UL right?

  • @ryangaming614
    @ryangaming614 4 месяца назад

    my towers dont work any more i get this error ServerScriptService.Main.Tower:216: ServerScriptService.Main.Tower:25: attempt to index nil with 'Waypoints' do you know why and i dont have a map select function so i dont know if that is the problem

    • @pirat_cola9998
      @pirat_cola9998  4 месяца назад

      @@ryangaming614 There is something wrong in waypoints folder or in Tower script

  • @den4ikyt709
    @den4ikyt709 9 месяцев назад

    Hello bro krch I have a problem I want when a victory gives 12 stars but I have 10 waves and don’t want more and for winning 10 waves it gives 10 stars and I want 12 the same with a loss for a loss show ride

  • @muffinmcdeez54321
    @muffinmcdeez54321 5 месяцев назад

    help please! the error is at the “if map then
    mode = round.LoadMode()
    end” part. it says “attempt to call a nil value for “mode = round.LoadMode()”. can anyone help?

    • @pirat_cola9998
      @pirat_cola9998  5 месяцев назад

      @@muffinmcdeez54321 Probably you have something wrong with LoadMode function, it set mode to 0, it probably don't find mode in function LoadMode

    • @muffinmcdeez54321
      @muffinmcdeez54321 5 месяцев назад

      @@pirat_cola9998 aslo the ui doesnt show up…

    • @muffinmcdeez54321
      @muffinmcdeez54321 5 месяцев назад

      @@pirat_cola9998fixed it, great addon!

  • @skaterZX
    @skaterZX Месяц назад

    What did I do wrong, I have all towers bug pls help

    • @pirat_cola9998
      @pirat_cola9998  Месяц назад

      Probably you write something wrong in your Datastore script

    • @skaterZX
      @skaterZX Месяц назад

      ​@@pirat_cola9998well I fix that bug was in game controller

  • @Kingbruh69420
    @Kingbruh69420 7 месяцев назад

    I keep getting an error which says invalid "for" limit (number expected, got nil) on line 37 of the Round script

    • @pirat_cola9998
      @pirat_cola9998  7 месяцев назад

      You probably write there code incorrectly

    • @Kingbruh69420
      @Kingbruh69420 7 месяцев назад

      ​@@pirat_cola9998Alr I found my mistake thanks for this tutorial btw

    • @coreycoreycoreycoreycorey
      @coreycoreycoreycoreycorey 7 месяцев назад

      @@Kingbruh69420 what was the error

    • @jhenluks7090
      @jhenluks7090 6 месяцев назад

      same, is it at the:
      for wave=1, waves do?

    • @Kingbruh69420
      @Kingbruh69420 6 месяцев назад

      @@jhenluks7090 I'm pretty sure but I could be wrong

  • @EthanWg2
    @EthanWg2 6 месяцев назад

    Yo please help I did everything but when I join it it all works but I have all the towers in my game equiped

    • @EthanWg2
      @EthanWg2 6 месяцев назад

      And sometimes when I text it the map vote doesn’t appear

  • @jamieeinfachnurjamie
    @jamieeinfachnurjamie 8 месяцев назад

    Could you make a slowing tower

  • @sphilykaan
    @sphilykaan 7 месяцев назад

    When I enter the game, I have all the towers even though I don't have them :(

  • @Connect_2
    @Connect_2 3 месяца назад

    So uh for some reason idly says argument 1 missing or nil

    • @pirat_cola9998
      @pirat_cola9998  3 месяца назад

      @@Connect_2 Maybe you set wrong name of gamemode

    • @Connect_2
      @Connect_2 3 месяца назад

      @@pirat_cola9998 yeah maybe thank you for responding! I’ll check… and let you know if this issue persists

  • @swedesask
    @swedesask 2 месяца назад

    bruh the next wave is not starting help me

  • @reydangameryt6815
    @reydangameryt6815 9 месяцев назад

    Why my game got 10 waves but i put 200 stars for win but win give me 10 stars how i can fix it

    • @pirat_cola9998
      @pirat_cola9998  9 месяцев назад

      Read description maybe there you find how to fix that

  • @HexariumMega
    @HexariumMega 9 месяцев назад

    For some reason it says i got 60 stars but in the lobby it only gave me 1, what do i do?

  • @apfilmslego7567
    @apfilmslego7567 9 месяцев назад +1

    There is a bug when I’m at the last wave the victory gui dosnt work

    • @pirat_cola9998
      @pirat_cola9998  9 месяцев назад

      I write in the comments how to fix it

    • @apfilmslego7567
      @apfilmslego7567 9 месяцев назад +1

      @@pirat_cola9998 hey i was wondering if you could make a system that when u hover a unit it’s show his stat I can pay 200 robux

    • @pirat_cola9998
      @pirat_cola9998  9 месяцев назад

      @@apfilmslego7567Painguin Productions made this

    • @apfilmslego7567
      @apfilmslego7567 9 месяцев назад

      @@pirat_cola9998 what the name of the video?

    • @apfilmslego7567
      @apfilmslego7567 9 месяцев назад +1

      @@pirat_cola9998 i mein for the lobby I want a system that when ur mouse is on a unit it’s show the stat like how much damage the unit does etc

  • @dynadeveloper
    @dynadeveloper 4 месяца назад

    hey my map voting isnt appearing can you help?

  • @havy_master4018
    @havy_master4018 4 дня назад

    Can u help, no errors, but mobs don't spawn

    • @pirat_cola9998
      @pirat_cola9998  3 дня назад

      @havy_master4018 You have functions where each difficulty level starts?

    • @havy_master4018
      @havy_master4018 2 дня назад

      @pirat_cola9998 i fixed the problem

  • @theking1321
    @theking1321 8 месяцев назад

    what if the person doesnt pick a mode? what will happen?

    • @nezifiedpixels
      @nezifiedpixels 8 месяцев назад

      if no one votes u gotta rejoin but u can add this to your loadmode function if not MValue then
      MValue = ServerStorage.Modes.Normal
      end
      change Normal to any mode you want if no one votes

    • @pirat_cola9998
      @pirat_cola9998  8 месяцев назад

      It choose random mode, in line 175 it random this

  • @JustCubx
    @JustCubx 3 месяца назад

    I have a error on mode voting it ends at one😊

    • @pirat_cola9998
      @pirat_cola9998  3 месяца назад

      What error?

    • @JustCubx
      @JustCubx 3 месяца назад

      @@pirat_cola9998 when I vote the count down ends at 1

    • @JustCubx
      @JustCubx 3 месяца назад

      @@pirat_cola9998 stops*

  • @luq4zzzz
    @luq4zzzz 9 месяцев назад

    superrr🎉🎉

  • @bartekx5612
    @bartekx5612 6 месяцев назад

    could someone help me? end screen isnt showing

    • @bartekx5612
      @bartekx5612 6 месяцев назад

      nvm i fixed it

    • @Flip-Playz
      @Flip-Playz 6 месяцев назад

      @@bartekx5612 how?

  • @luq4zzzz
    @luq4zzzz 9 месяцев назад

    szacunekkk 😮

  • @jamieeinfachnurjamie
    @jamieeinfachnurjamie 9 месяцев назад

    Cool

  • @HeidenBaltazar
    @HeidenBaltazar Месяц назад

    hi bro my data store broke

    • @pirat_cola9998
      @pirat_cola9998  Месяц назад

      @@HeidenBaltazar what exactly went wrong?

  • @plasarblx
    @plasarblx 9 месяцев назад +1

    u copied that from another video

    • @pirat_cola9998
      @pirat_cola9998  9 месяцев назад

      Yes, I remade Marat tutorial and I added my own functions

    • @plasarblx
      @plasarblx 9 месяцев назад +1

      @@pirat_cola9998 dyk how to add gamemodes without the map voting

    • @JustCarl-u9h
      @JustCarl-u9h 8 месяцев назад

      Atleast his videos kinda short not like Marat

    • @MiniatureGamingX
      @MiniatureGamingX 8 месяцев назад

      @@pirat_cola9998ill probably do the same since you did too, since my gamemode system a bit different and could probably work

  • @JustCubx
    @JustCubx 3 месяца назад

    It doesn’t work

    • @pirat_cola9998
      @pirat_cola9998  3 месяца назад

      @@JustCubx What not work ?

    • @JustCubx
      @JustCubx 3 месяца назад

      @@pirat_cola9998 on the gamemode voting

    • @JustCubx
      @JustCubx 3 месяца назад

      @@pirat_cola9998 it stops at one and doesn’t continue

  • @Explosion_of_show-Dima
    @Explosion_of_show-Dima 9 месяцев назад

    Boooooo marat tutorial!

    • @pirat_cola9998
      @pirat_cola9998  9 месяцев назад

      Yes, I remade his tutorial and I added my functions

    • @muffinmcdeez54321
      @muffinmcdeez54321 5 месяцев назад

      booooooo needs a tutorial!

  • @pirat_cola9998
    @pirat_cola9998  9 месяцев назад

    If you have bugs in your game watch this video:
    ruclips.net/video/LbSDXw0aIGs/видео.html&ab_channel=Shadow_Reaper