generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Spawn GUI help..?

Previous Thread :: Next Thread 
UltraPride is not online. UltraPride
Joined: 18 Aug 2011
Total Posts: 81
18 Oct 2015 03:53 AM
So, I have a gui on my place that allows the player to pick a team by pressing a TextButton. When they pick the team, the player is killed and respawns on that team's spawn. But, when they respawn on said team's spawn, the Spawn GUI that shows up initially when you join the game is still on their screen.

Basically what I'm asking is, how I make the Team picker GUI not show up for a certain team after they have already picked that team and respawned as it.

Thank you! :D
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
18 Oct 2015 04:05 AM
Using a boolean.
Report Abuse
UltraPride is not online. UltraPride
Joined: 18 Aug 2011
Total Posts: 81
18 Oct 2015 04:15 AM
^ Describe what a boolean Is?
Report Abuse
UltraPride is not online. UltraPride
Joined: 18 Aug 2011
Total Posts: 81
18 Oct 2015 04:18 AM
Update: So, I have this:

if
game.Players.LocalPlayer.TeamColor("Bright red")then do
game.StarterGui.Teampicker:Destroy()
end
end

this script is parented by Workspace in a LocalScript

Teampicker is the name of the ScreenGui that you get when you spawn.

Bright red is the Color of the team I want the GUI to not appear on upon spawning.

Help please?
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
18 Oct 2015 04:55 AM
Boolean is yes or no. It is true or false. It is up or down. It is left or right. It is your mom or your dad. It is... science.
Report Abuse
REAPERMOXXY is not online. REAPERMOXXY
Joined: 23 Jan 2014
Total Posts: 1831
18 Oct 2015 04:59 AM
Mainly true or false though

✗ ʙᴀᴢɪɴɢᴀ
Report Abuse
UltraPride is not online. UltraPride
Joined: 18 Aug 2011
Total Posts: 81
18 Oct 2015 05:13 AM
Okay, thanks for showing me that. But how would I use that in this situation?
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
18 Oct 2015 05:15 AM
local yes = false

if(yes)then
do_kinky_stuff()
end
Report Abuse
UltraPride is not online. UltraPride
Joined: 18 Aug 2011
Total Posts: 81
18 Oct 2015 05:18 AM
I don't think you understand what i'm trying to say.

I just need the ScreenGui to disappear once someone has chosen their team. How do I do that using boolean?
Report Abuse
UltraPride is not online. UltraPride
Joined: 18 Aug 2011
Total Posts: 81
18 Oct 2015 05:40 AM
Nevermind. I found the issue. This thread can be buried now.

Thank you guys.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image