How to make a Team Changing GUI | Retrostudio Tutorial

Поділитися
Вставка
  • Опубліковано 23 гру 2024

КОМЕНТАРІ • 129

  • @axlgrant2018
    @axlgrant2018 11 місяців тому +3

    What an amazing video helped me out a ton for the new capture the flag game I am working on. Easy scripts, and a great job explaining things. Well done

  • @yeetyoot4433
    @yeetyoot4433 9 місяців тому +3

    Great tutorial :D
    To move the player to their team's spawnpoint after they choose a team, add this to the team change scripts:
    Get Object Property -> select the spawn point as the object -> write "Position" in the Property section -> write Spawn or some other variable name in the outputs section
    Teleport Player To Position -> write "script.Parent..." in the Player section as many times as needed, same amount as in the part where you set the player's team color -> check "Use Variable" under Position, and type in the variable you named in the last part
    Hopefully this helps someone out!

  • @DarkV_V
    @DarkV_V 6 місяців тому +2

    The nostalgia (song) hit in 9:35 got me, (Its about lifting sim Mayrushart btw)

  • @Gecko_MoriaYT
    @Gecko_MoriaYT 6 місяців тому +3

    Thanks for the tutorial! helped me a lot! I'm making a game about SCP stuff, and I didn't know how to make a team changer GUI because I'm new. TY:D

  • @Nobaiwet
    @Nobaiwet 11 місяців тому

    i need help when i click a team it dissapears but doesnt change to the actual team

  • @JacksonPlayzRoblox
    @JacksonPlayzRoblox Рік тому

    How would I add this like after I click "Play!" then the gui will pop up

  • @Wuggahlol-new
    @Wuggahlol-new 5 місяців тому

    hey whenever i change teams then the change team button isn't there

  • @BirdFella
    @BirdFella 10 місяців тому

    How do i make it so if you die you get sent back to the choosing team to pick out which team to choose from again?

  • @stevechileno
    @stevechileno 6 місяців тому

    When i click some of the team buttons it doesn't change :(

  • @sutartaust38
    @sutartaust38 Рік тому

    IF I CANT SEE IT BECAUSE THE WORDS ARE VERY LITTLE THAN BIG, Would i might use HP?

  • @mrcupcakes6515
    @mrcupcakes6515 Рік тому +1

    Mine does not pop up for me at the beginning when spawning. When spawning you have to click the button "Choose Team" to get into a team but i will try to make it work out. I also want to know how to spawn on a specific location/spawnpoint based on what team you chose.

    • @Player976
      @Player976 Рік тому

      For me, this also happens when the Player spawns at a checkpoint on the other team

    • @Player976
      @Player976 Рік тому

      Ah, I solved it, you need to set the Neutral of the Spawn point to false and change the team color

    • @Fursan.Arabia
      @Fursan.Arabia Рік тому

      @@Player976if you don’t mind can you make a video on expanding it? *no voice of course*

    • @tower534
      @tower534 Рік тому

      ​@@Fursan.ArabiaI could probably, in a few days

    • @mrcupcakes6515
      @mrcupcakes6515 4 місяці тому

      @@Player976 Thanks!

  • @Dlv3x
    @Dlv3x 11 місяців тому

    Nothing is showing when I did the steps for the grey block to appear pls help

  • @mariodenis1111_edits
    @mariodenis1111_edits Рік тому

    The change team just disapears when i start for me

  • @dravengaming9249
    @dravengaming9249 Рік тому

    Do you know how to make it to where if you select the team you want to be on, it resets you?

  • @getreal_
    @getreal_ Рік тому

    im not done the vid but if the container is active it wont let me move the workspace camera. does that get solved later in the video?

    • @getreal_
      @getreal_ 11 місяців тому

      ok i know what im doing now

  • @her3_
    @her3_ 10 місяців тому +1

    Bro, you did it very quickly and I couldn't keep up even though I repeated it 11 times.

  • @database_enjoyer3000
    @database_enjoyer3000 Рік тому

    i have watched your tutorial but when i choose a team instead of me being in the choosing team, im in the scientist team (as i named them) can you help me out please, thank you.

    • @cocodevs
      @cocodevs  Рік тому

      If you're starting off in the wrong team, it probably has the property "AutoAssignable" turned on. Make sure the choosing team has AutoAssignable turned on, and every other team has it turned off. If you're getting put on the wrong team when you click on a team, you likely have multiple teams using the same color. Make sure to break up the colors of teams to avoid this overlap!

    • @database_enjoyer3000
      @database_enjoyer3000 Рік тому

      @@cocodevs well all teams except choosing have auto assignable turned off, but the scientist team has institutional white, and the choosing team is white, so i probably change the choosing team to black

    • @cocodevs
      @cocodevs  Рік тому

      @@database_enjoyer3000 that should work! just make sure to change the brickcolor in the scripts too!

    • @database_enjoyer3000
      @database_enjoyer3000 Рік тому

      @@cocodevs it didnt work

    • @cocodevs
      @cocodevs  Рік тому

      @@database_enjoyer3000 welp I dunno what the issue is

  • @efenowmc
    @efenowmc Рік тому

    @CocoDevs can you also make a tutorial on how to change teams when touched a block?

    • @cocodevs
      @cocodevs  Рік тому +1

      You can already do that with a spawn location! If you set the team color for the spawn location, and check the "Change team" property, it'll change your team when you touch it

    • @efenowmc
      @efenowmc Рік тому

      @@cocodevs Thanks!

  • @weedleyy
    @weedleyy Рік тому

    hey, do you have any idea how i could make the player get put back into the choosing team when you click the teams button?

    • @cocodevs
      @cocodevs  Рік тому +1

      Pretty simple actually! Take the script in the buttons that set the player's team and clone it into the Change Team button! Then just change the team it sets you to, to be the choosing team!

  • @Badd_Egg
    @Badd_Egg Рік тому

    for some reason, mine always says that "teamcolor" is not a valid member of players, there's a way to fix it?

    • @akekapat_alt275
      @akekapat_alt275 Рік тому

      get player from character. That always work

    • @Badd_Egg
      @Badd_Egg Рік тому

      @@akekapat_alt275 i already found the error, but thanks for helping me

    • @Goofball_artBOI
      @Goofball_artBOI 7 місяців тому

      @@akekapat_alt275 what do you mean?

    • @Goofball_artBOI
      @Goofball_artBOI 7 місяців тому

      @@akekapat_alt275 what do you mean by that can you please explain?

    • @stevechileno
      @stevechileno 6 місяців тому

      ​@@akekapat_alt275then?

  • @CACACACACACACACCAC
    @CACACACACACACACCAC 5 місяців тому

    Thanks, dude, I tried doing it with remote events and local scripts since I'm used to normal coding but it didn't work. This tutorial helped me a lot! (Edit: Nvm, coding with blocks is too hard for me)

  • @PC_ICANFLY
    @PC_ICANFLY 4 місяці тому

    I DID IT AND IT WORKED BUT ROBLOX KICKED ME AND NOW I HAVE TO RESTART :(

  • @Bucketfrr
    @Bucketfrr Рік тому

    Background song?

    • @cocodevs
      @cocodevs  Рік тому

      At what time in the video? There's several background songs that play

    • @Bucketfrr
      @Bucketfrr Рік тому

      @@cocodevs like the first one

  • @sevensystemsrblx
    @sevensystemsrblx 2 роки тому

    are you gonna continue the tycoon series or you are discontinuing it?

    • @cocodevs
      @cocodevs  2 роки тому

      Maybe at some point I’ll continue it with a 3rd episode on purchasing stuff. I just mainly hadn’t finished it because I had been banned from the game shortly after making the video

  • @charlesgaming7515
    @charlesgaming7515 Рік тому

    can you make a model ID for this

  • @byron9094
    @byron9094 2 роки тому

    hey coco can you help me with one thing im trying to do a music zone ik how to script but i have no idea how to start the script can you help me with that you will get credits in-game

    • @cocodevs
      @cocodevs  Рік тому

      Sorry I'm late, I can make a video about that soon!

    • @byron9094
      @byron9094 Рік тому

      @@cocodevs sure if u do that video that would be a like 20% of my project thx for reading the comment :)

    • @GremLem
      @GremLem 11 місяців тому

      @@cocodevsHey, are you still active?

    • @cocodevs
      @cocodevs  11 місяців тому

      @@GremLem Yeah but I've moved on from retrostudio tutorials due to being banned. I've got my own old roblox simulator now which I'm developing. I've already made a tutorial on it but I plan on making more.

  • @b0tb411
    @b0tb411 Рік тому

    can you make it so that only 1 player can be on a team cuz im making a school game

    • @cocodevs
      @cocodevs  Рік тому

      Easy way of doing that:
      when a player tries to get a team, set a variable called "number of players on team" or something along those lines
      then loop through the children of players, and check if the player's team is equal to the team a player is trying to join
      if it is, increase number of players on team by 1
      then check if number of players on team is under a specified amount (like 1 in this case) and if it is, set the player's team

  • @LBH60
    @LBH60 Рік тому

    Mine doesn't work. I keep getting "Unable to edit a GuiObject [Players.(my username).PlayerGui.ScreenGui.Toggle] - Lacking Permission" and "Unable to edit a GuiObject [Players.(my username).PlayerGui.ScreenGui.Container] - Lacking Permission" in the output. Can someone help me fix this and tell me what is means? @CocoDev

    • @mrcupcakes6515
      @mrcupcakes6515 Рік тому

      same

    • @cocodevs
      @cocodevs  Рік тому

      Sorry I'm late, those look like Retrostudio coregui errors. You might be trying to set the value of the wrong object. If you haven't already, use the button that lets you select an object by clicking on it in explorer to select each object and try again; hopefully works and fixes it, if not I dunno

  • @oknem0
    @oknem0 Рік тому

    Hello! how to make separate weapons for teams?

    • @cocodevs
      @cocodevs  Рік тому

      You can use a character added event to see when the player spawns in. When they do, use a get object property to get the player's team, and then check if the team is the required team for the weapon you want. Then, if it is you can clone the weapons into the player's backpack
      Hope this makes sense, and hope it helps. If you don't understand, reply back with what you need more help on

    • @Chiz01
      @Chiz01 6 місяців тому

      ⁠​⁠​⁠@@cocodevsfor the “check if the team required team for the weapon” what block do i insert

  • @zzmariobruhhandle
    @zzmariobruhhandle Рік тому

    Hey CocoDev, Can you make a tutorial on team player cap?
    Like if there is 1 player its unavailable and if they leave or choose another role its avalibe

    • @tower534
      @tower534 Рік тому +2

      make a loop through children block that activates when you have clicked the GUI that runs through players children, get their TeamColor, and have an if TeamColor == (BrickColorValue of your team), make an addition block that adds one everytime it finds a player with the team, and an if the final result is (=>) to your team cap number, it blocks them, and if it is (≠

    • @nestriction
      @nestriction Рік тому

      @@tower534 I imagine this explanation is probably what I'm looking for, as I'm trying to make a 2 team combat game, and I don't want everyone to just go onto one team to get easy kills. However, I literally don't understand ANY of this. I would highly appreciate if you could upload your own tutorial that picks up off of where this tutorial leaves off and shows how to do this, or at least phrase this is in stupid-baby-beginner-scripter terms (as I am a stupid-baby-beginner-scripter) with some more info and pointers on where things go and whatnot.

    • @tower534
      @tower534 Рік тому

      @@nestriction I will consider it. If I were to, it might come out some time after Christmas.

    • @GremLem
      @GremLem 11 місяців тому

      @@tower534A bit late, but can you just tell us what blocks to place

  • @untrusted0
    @untrusted0 Рік тому

    WHAT MUSIC IS THIS

    • @cocodevs
      @cocodevs  Рік тому

      Do you mean what kind, or what specific songs?

    • @untrusted0
      @untrusted0 Рік тому

      @@cocodevs 3:15 this

    • @cocodevs
      @cocodevs  Рік тому

      @@untrusted0 Rahizel - Love U

  • @sandrostupid7602
    @sandrostupid7602 2 роки тому

    also can you make next time how to create swords? with scripts?

    • @cocodevs
      @cocodevs  2 роки тому

      Next video is gonna be on how to create (semi) automatic guns, but yeah I can do a sword tutorial at one point, as they're not very hard.

  • @foodsniffer111
    @foodsniffer111 Рік тому

    i feel so angry i followed every step clicked the button and nothing happen it just dissapears

    • @cocodevs
      @cocodevs  Рік тому

      Well the tutorial is 8 months old, and given I'm banned from retrostudio on my main account I don't really check to see if videos are outdated.
      Also, other people recently have been capable of following the tutorial without error. You might've made a mistake without realizing it. Check your errors, or try printing out some variables in stuff where you think the code may be failing to see where the code might stop?
      If you can come to me with whatever error message appears, I'm sure I can help you with fixing the issue!

    • @foodsniffer111
      @foodsniffer111 Рік тому

      @@cocodevs oh u can help..
      I sorta deleted everything cuz I thought this video is useless :-:

  • @familyneves9777
    @familyneves9777 Рік тому

    Only to you know, how to put the thing on the explorer: Step 1: click the thing that is on the explorer. | step 2: click 2 times the thing in the basic objects and click on the arrow and BOOM!

  • @abcdefghijklmnoprstuvwxyz-m4y

    hey CocoDev, can you make a tool for each team like if you be prisoner you get hammer, but if you be police, you get a gun.

  • @thewildgamer64
    @thewildgamer64 2 роки тому +1

    Nice tutorial! p.s. Why were you banned? I wasn't there when it happened

    • @cocodevs
      @cocodevs  2 роки тому

      same reason I did last time: I hurt cris' ego so he banned me without having reached 3 warnings
      only this time I didn't even bother actually trying to get unbanned

    • @MassiveMaleMonkey
      @MassiveMaleMonkey 2 роки тому

      @@cocodevs how'd you hurt his ego lol i wanna hear sounds like a fun interaction

    • @ps92809
      @ps92809 Рік тому

      @@MassiveMaleMonkey Idk but on the discord server theres a rule where they perm ban you for saying the n word

  • @Idontknow52400
    @Idontknow52400 Рік тому

    can you make a video showing us how to make NPCs attack each other?

    • @Sylvite.
      @Sylvite. Рік тому

      just by WWE tickets

    • @coindoop5
      @coindoop5 Рік тому

      wow so funny you deserve the funniest joke award oml ong

  • @yoyo2a-q9k
    @yoyo2a-q9k Місяць тому

    so bad i make a position and it sets back to 0 0 0

  • @KINKAINOFICIAL
    @KINKAINOFICIAL 11 місяців тому

    code system pls😢

  • @BAMBOORODS
    @BAMBOORODS Рік тому

    Update this video Please! It seems to not work

    • @cocodevs
      @cocodevs  Рік тому

      What about it isn't working?

    • @baaxander
      @baaxander Рік тому

      it isnt@@cocodevs

    • @cocodevs
      @cocodevs  Рік тому

      @@baaxander You can't just say it isn't working. What isn't working?

    • @baaxander
      @baaxander Рік тому

      the team switching script@@cocodevs

    • @mariodenis1111_edits
      @mariodenis1111_edits Рік тому

      @@cocodevsfor me the change team button just disapears and while checking in the player its visbile but in reality it aint and also i dont see the menu, ion know if its supposed to appear the container when you first start the game but it doesnt appear

  • @G100gamer-k3n
    @G100gamer-k3n 2 місяці тому

    good i can now make a capture the flag game

  • @KSay10
    @KSay10 Рік тому +1

    Thank You My Guy!

  • @imaz0mbie_
    @imaz0mbie_ Рік тому

    custom charcater script *for teams plz*

    • @cocodevs
      @cocodevs  Рік тому

      A full custom character is kinda impossible on retrostudio.
      Theres models for custom characters (I even made one myself) but they don't work exactly as you'd like
      they basically work by either hiding the player and welding body parts to it, or hiding the player and welding a static model to the player
      unfortunately since I got banned from retrostudio and their discord, I don't have the model ID for my morph button, but you could probably join the discord and find my morph button there, and just use a team door or something to make it so only specific teams can touch the button

    • @imaz0mbie_
      @imaz0mbie_ Рік тому

      @@cocodevs me and legotaser did it

    • @cocodevs
      @cocodevs  Рік тому

      @@imaz0mbie_ Sweet!

  • @FlamingSpiral20
    @FlamingSpiral20 4 місяці тому

    Ah yes, 10 buttons.

  • @ShadowELITRR
    @ShadowELITRR 9 місяців тому

    I keep getting "Game.Players.Shadow_ELITRR.PlayerGui.ScreenGui.Script:Get Object Property1: TeamColor is not a valid member of PlayerGui" and I am to stupid to understand why 😭

    • @jesushodar9622
      @jesushodar9622 4 місяці тому

      You were suspossed to do script.Parent.Parent.Parent.

  • @familyneves9777
    @familyneves9777 Рік тому

    I want a tutorial to how make a coin to buy something!!!

    • @cocodevs
      @cocodevs  Рік тому

      I made a tutorial in the past on how to make a shop GUI which allows you to purchase gears and stuff, which you can find
      aside from a few things like having to use a show GUI brick with some settings changed, it should still be up-to date and working
      I will probably make an updated version of it but using scripts instead some time in the approaching future

  • @sharkzyboiy
    @sharkzyboiy Рік тому

    i didnt work

  • @sandrostupid7602
    @sandrostupid7602 2 роки тому

    thanks for tutorial im making cops vs criminals

  • @anttionparkerq4635
    @anttionparkerq4635 11 місяців тому

    didn’t work

  • @sharkzyboiy
    @sharkzyboiy Рік тому

    i need my 16 minutes back

    • @cocodevs
      @cocodevs  Рік тому +1

      Maybe instead of saying you need 16 minutes back, ask for help, and try to figure out why things didn't work out?

    • @sharkzyboiy
      @sharkzyboiy Рік тому

      sorry @@cocodevs

  • @Luigiplaysgames123
    @Luigiplaysgames123 Рік тому

    Unregisteredhypercam2 this aint 2009 lol

    • @sungoddave
      @sungoddave Рік тому

      also using notepad to speak lol

  • @greeczyuro
    @greeczyuro 9 місяців тому

    I hate my friend megoodatshootout, he keep messing with me, and wont stop bullying my game, please guys, report him.

  • @rennyyyy
    @rennyyyy 2 роки тому

    can you make a swing tutorial someday

    • @cocodevs
      @cocodevs  2 роки тому

      Swings are actually pretty easy to make! I made one nearly 2 years ago just using simple physics. Easy way of doing it is having a seat that is obviously set at a distance from the point of which it turns. You can then have some tiny conveyors in front and behind it, so that when a player gets on the swing, they push it and it ends up in a cycle of being pushed by the conveyors back and forth.

  • @BurgerFoodylol
    @BurgerFoodylol 2 роки тому

    hi

  • @TimX3081
    @TimX3081 Рік тому

    make model id

  • @VsevolodShpak
    @VsevolodShpak 3 місяці тому

    Don't work, Don't waste your time

  • @Noobygamy
    @Noobygamy 7 місяців тому

    what an awful video

    • @cocodevs
      @cocodevs  7 місяців тому

      You know commenting this only boosts this video's performance according to the algorithm, causing it to get recommended to more people, right?
      If you don't like the video, just dislike it and leave, or comment down ways to make it better. This comment doesn't really improve the quality of my content, only recommends it to more people.