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
 

Re: Team Scipt and GUI help!!

Previous Thread :: Next Thread 
A22asin is not online. A22asin
Joined: 04 Jul 2011
Total Posts: 313
02 Sep 2011 06:32 PM
ok, so i was wondering, how do i make a script taht determines what team a player is on, and specificaly gives him/her the appropriate GUi and tools. can someone help me plz.
Report Abuse
A22asin is not online. A22asin
Joined: 04 Jul 2011
Total Posts: 313
02 Sep 2011 06:52 PM
bump
Report Abuse
A22asin is not online. A22asin
Joined: 04 Jul 2011
Total Posts: 313
02 Sep 2011 07:39 PM
SOME1 PLZ HELP ------------ BUMP-----------------
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
02 Sep 2011 07:40 PM
Free Models
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
02 Sep 2011 07:43 PM
@ UFAIL2

why free models? Its rare!

if player.TeamColor == BrickColor.new("TeamColorHere") then
Player.PlayerGui.Visible = true
else
Player.PlayerGui.Visible = false
end

there, I made you an only team GUI script happy?
Report Abuse
nPwn is not online. nPwn
Joined: 17 Sep 2010
Total Posts: 3197
02 Sep 2011 08:00 PM
no here

function entered(newPlayer)
if newPlayer.TeamColor.Name == "" then
--put what you want it to do here
else if newPlayer.TeamColor.Name == "othercolor" then
--put what you want here
end

end
game.Players.ChildAdded:connect(entered)
Report Abuse
nPwn is not online. nPwn
Joined: 17 Sep 2010
Total Posts: 3197
02 Sep 2011 08:01 PM
also you can't say PlayerGui.Visible it would be newPlayer.PlayerGui.nameofguihere.nameinsideofguihere.Visible = true
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
02 Sep 2011 08:17 PM
Sorry, I forgot about those D: good thing I learned it from you :D
Report Abuse
A22asin is not online. A22asin
Joined: 04 Jul 2011
Total Posts: 313
03 Sep 2011 07:36 AM
Thx guys, im not gonna use those exact script, but im gonna edit them and make them more personalized, thx though!!!!!!
Report Abuse
A22asin is not online. A22asin
Joined: 04 Jul 2011
Total Posts: 313
03 Sep 2011 09:27 AM
ok, so i did what you guys said, but im getting that PlayerGui is not a valid member of Player and that stack end. im not sure what is wrong. heres the line of the script its refering to:

newPlayer.PlayerGui.Spetnaz.Emblem.Visible = true
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