generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Any way to fix / get around this?

Previous Thread :: Next Thread 
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
24 Feb 2012 12:08 PM
[ Content Deleted ]
Report Abuse
ap1ratesl1fe is not online. ap1ratesl1fe
Joined: 17 Nov 2008
Total Posts: 368
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 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
24 Feb 2012 12:19 PM
[ Content Deleted ]
Report Abuse
Riderj is not online. 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 is not online. 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 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
24 Feb 2012 12:21 PM
[ Content Deleted ]
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
24 Feb 2012 12:30 PM
[ Content Deleted ]
Report Abuse
Riderj is not online. 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 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
24 Feb 2012 12:33 PM
[ Content Deleted ]
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
24 Feb 2012 12:36 PM
[ Content Deleted ]
Report Abuse
Riderj is not online. 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 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
24 Feb 2012 12:41 PM
[ Content Deleted ]
Report Abuse
Riderj is not online. 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 is not online. 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 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
24 Feb 2012 12:46 PM
[ Content Deleted ]
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
24 Feb 2012 12:48 PM
[ Content Deleted ]
Report Abuse
Riderj is not online. 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 is not online. 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 is not online. 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 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
24 Feb 2012 12:52 PM
[ Content Deleted ]
Report Abuse
Riderj is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image