fire243
|
  |
| Joined: 04 Apr 2010 |
| Total Posts: 6532 |
|
|
| 30 Nov 2013 10:27 PM |
for i, player in ipairs(game.Players:GetChildren()) do local head = player.Character:findFirstChild("Head") head.face:remove() head.BrickColor=BrickColor.new("Dark green") end
little help? |
|
|
| Report Abuse |
|
|
fire243
|
  |
| Joined: 04 Apr 2010 |
| Total Posts: 6532 |
|
| |
|
|
| 30 Nov 2013 10:28 PM |
| ipairs only iterates through number indexes I believe. Make it pairs. |
|
|
| Report Abuse |
|
|
fire243
|
  |
| Joined: 04 Apr 2010 |
| Total Posts: 6532 |
|
| |
|
|
| 30 Nov 2013 10:28 PM |
| There was absolutely no reason to bump. It was second on the Forum. |
|
|
| Report Abuse |
|
|
fire243
|
  |
| Joined: 04 Apr 2010 |
| Total Posts: 6532 |
|
| |
|
fire243
|
  |
| Joined: 04 Apr 2010 |
| Total Posts: 6532 |
|
| |
|
fire243
|
  |
| Joined: 04 Apr 2010 |
| Total Posts: 6532 |
|
| |
|
fire243
|
  |
| Joined: 04 Apr 2010 |
| Total Posts: 6532 |
|
| |
|
fire243
|
  |
| Joined: 04 Apr 2010 |
| Total Posts: 6532 |
|
| |
|
|
| 01 Dec 2013 02:45 PM |
for _, player in pairs(game:GetService('Players'):GetPlayers()) do if (player.Character) and (player.Character:FindFirstChild('Head')) then player.Character.Head.BrickColor = BrickColor.new('Dark green')
if (player.Character.Head:FindFirstChild('face')) then player.Character.Head.face:Destroy() end end end |
|
|
| Report Abuse |
|
|
|
| 01 Dec 2013 02:46 PM |
Seriously, stop bumping as frequently as you have been. Your impatience makes me wonder if you even *deserve* help. |
|
|
| Report Abuse |
|
|
fire243
|
  |
| Joined: 04 Apr 2010 |
| Total Posts: 6532 |
|
| |
|
fire243
|
  |
| Joined: 04 Apr 2010 |
| Total Posts: 6532 |
|
| |
|
|
| 01 Dec 2013 03:13 PM |
Thank you for the less-frequent bumps. I truly appreciate it.
As for the script, I haven't a clue why it isn't working. Is there any output? |
|
|
| Report Abuse |
|
|
fire243
|
  |
| Joined: 04 Apr 2010 |
| Total Posts: 6532 |
|
|
| 01 Dec 2013 03:29 PM |
Output:
logging probability 0.31076998199408 not logging |
|
|
| Report Abuse |
|
|
|
| 01 Dec 2013 03:56 PM |
So there was no error.
It worked on Single Player for me. There *is* no reason why it shouldn't have worked. |
|
|
| Report Abuse |
|
|