|
| 21 Oct 2013 03:32 PM |
local P = game.Players:GetChildren() for i=1, #P do if P[i].Character ~= nil and P[i] ~= nil then P[i].PlayerGui.Instructions.frame2.Visible = true if P[i].TeamColor == BrickColor.new("White") then P[i].PlayerGui.Instructions.Frame.TextLabel.Text = "You are a Pilgrim!" else if P[i].TeamColor == BrickColor.new("Bright orange") then P[i].PlayerGui.Instructions.Frame.TextLabel.Text = "You are an Indian!" --it doesnt say this at the same time end end
--stuff after this
__________________________________________________________________________
As it says "you are a pilgrim!", it is supposed to say "You are an Indian" to the other team. Yet, however I state it, it doesnt work; it only sahows the pilgrim's team
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
CrniOrao
|
  |
| Joined: 12 Oct 2008 |
| Total Posts: 2274 |
|
|
| 21 Oct 2013 04:08 PM |
local P = game.Players:GetChildren() for i = 1, #P do if P[i].Character ~= nil and P[i] ~= nil then P[i].PlayerGui.Instructions.frame2.Visible = true end if P[i].TeamColor == BrickColor.new("White") then P[i].PlayerGui.Instructions.Frame.TextLabel.Text = "You are a Pilgrim!" elseif P[i].TeamColor == BrickColor.new("Bright orange") then P[i].PlayerGui.Instructions.Frame.TextLabel.Text = "You are an Indian!"
end end
Try this one. |
|
|
| Report Abuse |
|
|
GGGGG14
|
  |
| Joined: 29 Jan 2012 |
| Total Posts: 25344 |
|
| |
|