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
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!
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.
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.
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!
@@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
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
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!
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)
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
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
@@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.
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
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
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
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
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
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 (≠
@@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.
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!
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!
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
@@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
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
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 😭
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
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.
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.
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
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!
Can u do a tutorial about this?
bro this just saved my game
thanks!
The nostalgia (song) hit in 9:35 got me, (Its about lifting sim Mayrushart btw)
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
i need help when i click a team it dissapears but doesnt change to the actual team
How would I add this like after I click "Play!" then the gui will pop up
hey whenever i change teams then the change team button isn't there
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?
When i click some of the team buttons it doesn't change :(
IF I CANT SEE IT BECAUSE THE WORDS ARE VERY LITTLE THAN BIG, Would i might use HP?
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.
For me, this also happens when the Player spawns at a checkpoint on the other team
Ah, I solved it, you need to set the Neutral of the Spawn point to false and change the team color
@@Player976if you don’t mind can you make a video on expanding it? *no voice of course*
@@Fursan.ArabiaI could probably, in a few days
@@Player976 Thanks!
Nothing is showing when I did the steps for the grey block to appear pls help
The change team just disapears when i start for me
Do you know how to make it to where if you select the team you want to be on, it resets you?
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?
ok i know what im doing now
Bro, you did it very quickly and I couldn't keep up even though I repeated it 11 times.
p a u s e
@@goulashball_mapping lol i was boutta say the same thing
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.
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!
@@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
@@database_enjoyer3000 that should work! just make sure to change the brickcolor in the scripts too!
@@cocodevs it didnt work
@@database_enjoyer3000 welp I dunno what the issue is
@CocoDevs can you also make a tutorial on how to change teams when touched a block?
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
@@cocodevs Thanks!
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?
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!
for some reason, mine always says that "teamcolor" is not a valid member of players, there's a way to fix it?
get player from character. That always work
@@akekapat_alt275 i already found the error, but thanks for helping me
@@akekapat_alt275 what do you mean?
@@akekapat_alt275 what do you mean by that can you please explain?
@@akekapat_alt275then?
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)
I DID IT AND IT WORKED BUT ROBLOX KICKED ME AND NOW I HAVE TO RESTART :(
Background song?
At what time in the video? There's several background songs that play
@@cocodevs like the first one
are you gonna continue the tycoon series or you are discontinuing it?
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
can you make a model ID for this
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
Sorry I'm late, I can make a video about that soon!
@@cocodevs sure if u do that video that would be a like 20% of my project thx for reading the comment :)
@@cocodevsHey, are you still active?
@@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.
can you make it so that only 1 player can be on a team cuz im making a school game
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
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
same
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
Hello! how to make separate weapons for teams?
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
@@cocodevsfor the “check if the team required team for the weapon” what block do i insert
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
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 (≠
@@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.
@@nestriction I will consider it. If I were to, it might come out some time after Christmas.
@@tower534A bit late, but can you just tell us what blocks to place
WHAT MUSIC IS THIS
Do you mean what kind, or what specific songs?
@@cocodevs 3:15 this
@@untrusted0 Rahizel - Love U
also can you make next time how to create swords? with scripts?
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.
i feel so angry i followed every step clicked the button and nothing happen it just dissapears
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!
@@cocodevs oh u can help..
I sorta deleted everything cuz I thought this video is useless :-:
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!
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.
Nice tutorial! p.s. Why were you banned? I wasn't there when it happened
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
@@cocodevs how'd you hurt his ego lol i wanna hear sounds like a fun interaction
@@MassiveMaleMonkey Idk but on the discord server theres a rule where they perm ban you for saying the n word
can you make a video showing us how to make NPCs attack each other?
just by WWE tickets
wow so funny you deserve the funniest joke award oml ong
so bad i make a position and it sets back to 0 0 0
code system pls😢
Update this video Please! It seems to not work
What about it isn't working?
it isnt@@cocodevs
@@baaxander You can't just say it isn't working. What isn't working?
the team switching script@@cocodevs
@@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
good i can now make a capture the flag game
Thank You My Guy!
custom charcater script *for teams plz*
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
@@cocodevs me and legotaser did it
@@imaz0mbie_ Sweet!
Ah yes, 10 buttons.
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 😭
You were suspossed to do script.Parent.Parent.Parent.
I want a tutorial to how make a coin to buy something!!!
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
i didnt work
thanks for tutorial im making cops vs criminals
didn’t work
i need my 16 minutes back
Maybe instead of saying you need 16 minutes back, ask for help, and try to figure out why things didn't work out?
sorry @@cocodevs
Unregisteredhypercam2 this aint 2009 lol
also using notepad to speak lol
I hate my friend megoodatshootout, he keep messing with me, and wont stop bullying my game, please guys, report him.
can you make a swing tutorial someday
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.
hi
make model id
Don't work, Don't waste your time
what an awful video
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.