|
| 15 Jan 2015 04:05 PM |
"nsa" is already defined
if game.Players:GetPlayerFromCharacter(hit.Parent):IsInGroup(nsa) then
No army can stop an idea. - Royal Blood |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 15 Jan 2015 04:08 PM |
| If hit.Parent is not a Character, you will be attempting to index a nil value. |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 15 Jan 2015 04:09 PM |
since you never post the full script try this:
script.Parent.Touched:connect(function(hit) local plr = game.Players:GetPlayerFromCharacter(hit.Parent) if plr then local nsa = 999999 if plr:IsInGroup(nsa) then --script end end end) |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 04:13 PM |
@elunate Thanks, that was helpful
@chim stop being a troll
No army can stop an idea. - Royal Blood |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 15 Jan 2015 04:15 PM |
| im not a troll you need to learn how to ask for help better |
|
|
| Report Abuse |
|
|
025110
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 57661 |
|
|
| 15 Jan 2015 04:29 PM |
lol'd @ "stop being a troll"
R$6,352 |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2015 04:35 PM |
| @02110 IKR. That's not even trolling. It's lolling around. |
|
|
| Report Abuse |
|
|