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
|
  |
| Joined: 04 Jul 2011 |
| Total Posts: 313 |
|
| |
|
A22asin
|
  |
| Joined: 04 Jul 2011 |
| Total Posts: 313 |
|
|
| 02 Sep 2011 07:39 PM |
| SOME1 PLZ HELP ------------ BUMP----------------- |
|
|
| Report Abuse |
|
|
UFAIL2
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 6905 |
|
| |
|
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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|