1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
|
| 24 Feb 2012 12:18 PM |
Norm = { 1 = {HeadColor = BrickColor.new("Bright yellow"),LeftArmColor = BrickColor.new("Bright yellow"),LeftLegColor = BrickColor.new("Bright yellow"),RightArmColor = BrickColor.new("Bright yellow"),RightLegColor = BrickColor.new("Bright yellow"),TorsoColor = BrickColor.new("Bright blue")}; 2 = {1285307 = "Hat",1235488 = "Hat",18757806 = "Hat",20722053 = "Face"} -- Line 3. }
p = workspace.Player
for i,v in pairs(Norm[2]) do if v == "Hat" then Ins(i,p) elseif v == "Face" p.Head.face.Texture = "http://www.roblox.com/asset/?id="..i end end
|
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 24 Feb 2012 12:19 PM |
BrickColor.new("Bright blue")};
You close your table there, remove the }. I am not too familiar with using semicolons so I will go study up on them and come back if my answer is wrong.
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 24 Feb 2012 12:20 PM |
Nevermind, I did not see the opening { to the closing.
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 24 Feb 2012 12:32 PM |
The table is too sloppy for me to read without messing up haha. I will take another shot though...
You must name your HAT a different name from the previous or the script will only count one of them. So name it
HAT1 HAT2 HAT3
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 24 Feb 2012 12:41 PM |
Make sure you are getting the hat, if you are then check the mesh id. The mesh ID could be wrong somewhere.
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 24 Feb 2012 12:42 PM |
Oh ok, umm let me look over it.
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 24 Feb 2012 12:43 PM |
It must be in your Ins function, because the table is printing everything it should, correct? So check your insert function and see what it is inserting. So put a print in there getting what is being inserted.
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 24 Feb 2012 12:50 PM |
Hat 2 is a place not a hat haha.
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 24 Feb 2012 12:51 PM |
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 24 Feb 2012 12:51 PM |
Wow late much?
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 24 Feb 2012 12:53 PM |
No problem :D
[[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]] |
|
|
| Report Abuse |
|
|