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 » Scripting Helpers
Home Search
 

GUI team change, and group sensetive spawn

Previous Thread :: Next Thread 
SquidKid39 is not online. SquidKid39
Joined: 16 Jan 2010
Total Posts: 325
31 Mar 2014 08:55 PM
Two questions, one forum post. This is for a raid-able fort, that piece of knowledge is kind of important. First up, how do I make a GUI team change so you could switch from team to team with a button? It would also have to be group sensitive so that only people in the group, say, 'ice cream' could join the group 'ice cream.' Second, how do I make a spawn group sensitive so that you only spawn there if you're in a specific group?
Report Abuse
SquidKid39 is not online. SquidKid39
Joined: 16 Jan 2010
Total Posts: 325
31 Mar 2014 09:24 PM
Bump
Report Abuse
SquidKid39 is not online. SquidKid39
Joined: 16 Jan 2010
Total Posts: 325
01 Apr 2014 06:15 PM
Bump again.
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
01 Apr 2014 06:19 PM
Do you want it to be a chat team change or a gui team change? You said both.
Report Abuse
SquidKid39 is not online. SquidKid39
Joined: 16 Jan 2010
Total Posts: 325
01 Apr 2014 07:30 PM
GUI.
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
01 Apr 2014 07:40 PM
Hiearchy;

-ScreenGui
--TextButton
---Script

In Script;

script.Parent.MouseButton1Down:connect(function()
game.Players.LocalPlayer.TeamColor = BrickColor.new(script.Parent.BrickColor)
end)

Make the TextButton's Color the color of the team to change to.
Report Abuse
SquidKid39 is not online. SquidKid39
Joined: 16 Jan 2010
Total Posts: 325
01 Apr 2014 10:13 PM
Did that, but don't see a GUI anywhere.
Report Abuse
roboslayer10 is not online. roboslayer10
Joined: 08 Aug 2011
Total Posts: 206
01 Apr 2014 10:20 PM
in order to see guis, textbuttons, frames, etc., you have to make sure their parent is in a ScreenGui, and the ScreenGui is in StarterGui. Also, to make sure the button is group sensitive, go on the wiki and search up Player, then find the method used to find the group ID (its a number).
Report Abuse
SquidKid39 is not online. SquidKid39
Joined: 16 Jan 2010
Total Posts: 325
02 Apr 2014 04:51 PM
That is very confusing and not really all that helpful.
Report Abuse
xuefei123 is not online. xuefei123
Joined: 15 Jun 2012
Total Posts: 99
15 Jun 2014 03:04 AM
It's simple LOL
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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