Bomatic
|
  |
| Joined: 01 Jan 2012 |
| Total Posts: 20931 |
|
|
| 12 Apr 2012 04:36 AM |
Output:Players.Player.PlayerGui.GuiMain.Script:10: attempt to index a nil value
Line 10: if plyr:findFirstChild("Shirt Graphic").Graphic == "http://www.roblox.com/asset/?id=77215906" then
Basicly checks if wearing that t-shirt, whats the error? |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 12 Apr 2012 04:37 AM |
| Is plyr the character? Show the whole script please. |
|
|
| Report Abuse |
|
|
Bomatic
|
  |
| Joined: 01 Jan 2012 |
| Total Posts: 20931 |
|
|
| 12 Apr 2012 07:31 AM |
| Can't show the whole thing, The plyr is the character as it works when I do plyr.Name. |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 12 Apr 2012 07:33 AM |
| Well it's your problem if you can't show the whole thing (however). Than we can't help you. |
|
|
| Report Abuse |
|
|
Techwiz19
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 462 |
|
|
| 12 Apr 2012 07:35 AM |
the characters name and the players name are the same...
is it a .PlayerAdded function? Because then it would probably make plyr the player, not character |
|
|
| Report Abuse |
|
|
Bomatic
|
  |
| Joined: 01 Jan 2012 |
| Total Posts: 20931 |
|
|
| 12 Apr 2012 07:38 AM |
Here is from Line 1 to Line 11 which is the bit that broke
wait(2) plyr = script.Parent.Parent.Parent gui = script.Parent.Real
gui.PInfo.Play.Text = plyr.Name..", you are recognized as:"
if plyr:IsInGroup(6157) and plyr:findFirstChild("Shirt Graphic").Graphic == "http://www.roblox.com/asset/?id=77215906" then gui.PInfo.Group.Text = "Elite Forces (General)" |
|
|
| Report Abuse |
|
|
Bomatic
|
  |
| Joined: 01 Jan 2012 |
| Total Posts: 20931 |
|
| |
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 12 Apr 2012 07:40 AM |
Why are you declining than?
wait(2) plyr = script.Parent.Parent.Parent gui = script.Parent.Real
gui.PInfo.Play.Text = plyr.Name..", you are recognized as:"
if plyr:IsInGroup(6157) and plyr.Character:findFirstChild("Shirt Graphic").Graphic == "http://www.roblox.com/asset/?id=77215906" then gui.PInfo.Group.Text = "Elite Forces (General)" |
|
|
| Report Abuse |
|
|
Bomatic
|
  |
| Joined: 01 Jan 2012 |
| Total Posts: 20931 |
|
| |
|