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: Why doesn't this work?

Previous Thread :: Next Thread 
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
15 Sep 2012 11:20 AM
The torso textureId isnt right:

me = game.Players.LocalPlayer.Character

for i,v in pairs(Workspace.Fedorakid:children()) do
if v:IsA("Clothing") or v:IsA("ShirtGraphic") then
v:Destroy()
end
end

m = Instance.new("SpecialMesh",me["Left Arm"])
m.MeshType = "FileMesh"
m.MeshId = "http://www.roblox.com/asset/?id=90245512"
m.TextureId = "http://www.roblox.com/asset/?id=90245485"

mes = Instance.new("SpecialMesh",me["Right Arm"])
mes.MeshType = "FileMesh"
mes.MeshId = "http://www.roblox.com/asset/?id=90245542"
mes.TextureId = "http://www.roblox.com/asset/?id=90245485"

mesh = Instance.new("SpecialMesh",me["Right Leg"])
mesh.MeshType = "FileMesh"
mesh.MeshId = "http://www.roblox.com/asset/?id=90245558"
mesh.TextureId = "http://www.roblox.com/asset/?id=90245485"

mesh2 = Instance.new("SpecialMesh",me["Left Leg"])
mesh2.MeshType = "FileMesh"
mesh2.MeshId = "http://www.roblox.com/asset/?id=90245529"
mesh2.TextureId = "http://www.roblox.com/asset/?id=90245485"

mesh3 = Instance.new("SpecialMesh",me.Torso)
mesh3.MeshType = "FileMesh"
mesh3.MeshId = "http://www.roblox.com/asset/?id=90245580"
mesh3.TextureId = "http://www.roblox.com/asset/?id=90245485"

h = Instance.new("SpecialMesh",me.Head)
h.MeshId = "http://www.roblox.com/asset/?id=90247974"
h.TextureId = "http://www.roblox.com/asset/?id=90247945"
h.MeshType = "FileMesh"
h.Scale = Vector3.new(2.05, 2.05, 2.05)
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
15 Sep 2012 11:21 AM
bump
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
15 Sep 2012 11:21 AM
1. Put a wait in the localscript so it can load.


2. You SHOULD check if you're in workspace.
Report Abuse
Machination is not online. Machination
Joined: 04 Sep 2012
Total Posts: 327
15 Sep 2012 11:22 AM
arent you supposed to subtract one form he ID
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
15 Sep 2012 12:34 PM
didnt work, bmp
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
15 Sep 2012 01:17 PM
bump
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
15 Sep 2012 01:17 PM
Did you listen to what I said? What's the new script I told you to do?
Report Abuse
Machination is not online. Machination
Joined: 04 Sep 2012
Total Posts: 327
15 Sep 2012 01:19 PM
I believe to get the correct asset ID you subtract one from the ID number
Report Abuse
Fedorakid is not online. Fedorakid
Joined: 17 Jul 2010
Total Posts: 7079
15 Sep 2012 01:37 PM
Miz, get this into ur head, what does it mean by didnt work?i tested it, u failed, failure.

me = game.Players.LocalPlayer.Character

for i,v in pairs(Workspace.Fedorakid:children()) do
if v:IsA("Clothing") or v:IsA("ShirtGraphic") then
v:Destroy()
end
end

m = Instance.new("SpecialMesh",me["Left Arm"])
m.MeshType = "FileMesh"
m.MeshId = "http://www.roblox.com/asset/?id=90245512"
m.TextureId = "http://www.roblox.com/asset/?id=90245485"

mes = Instance.new("SpecialMesh",me["Right Arm"])
mes.MeshType = "FileMesh"
mes.MeshId = "http://www.roblox.com/asset/?id=90245542"
mes.TextureId = "http://www.roblox.com/asset/?id=90245485"

mesh = Instance.new("SpecialMesh",me["Right Leg"])
mesh.MeshType = "FileMesh"
mesh.MeshId = "http://www.roblox.com/asset/?id=90245558"
mesh.TextureId = "http://www.roblox.com/asset/?id=90245485"

mesh2 = Instance.new("SpecialMesh",me["Left Leg"])
mesh2.MeshType = "FileMesh"
mesh2.MeshId = "http://www.roblox.com/asset/?id=90245529"
mesh2.TextureId = "http://www.roblox.com/asset/?id=90245485"

mesh3 = Instance.new("SpecialMesh",me.Torso)
mesh3.MeshType = "FileMesh"
mesh3.MeshId = "http://www.roblox.com/asset/?id=90245580"
mesh3.TextureId = "http://www.roblox.com/asset/?id=90245485"

h = Instance.new("SpecialMesh",me.Head)
h.MeshId = "http://www.roblox.com/asset/?id=90247974"
h.TextureId = "http://www.roblox.com/asset/?id=90247945"
h.MeshType = "FileMesh"
h.Scale = Vector3.new(2.05, 2.05, 2.05)
wait(3)
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