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 does my head go invisible?

Previous Thread :: Next Thread 
rtardbob123 is not online. rtardbob123
Joined: 13 Feb 2010
Total Posts: 15868
01 Jul 2013 09:16 PM
game.Workspace.rtardbob123.Head.Mesh:Remove()
Instance.new("SpecialMesh", Workspace.rtardbob123.Head)
Instance.new("BlockMesh", Workspace.rtardbob123['Left Leg'])
Instance.new("BlockMesh", Workspace.rtardbob123['Right Leg'])
Instance.new("BlockMesh", Workspace.rtardbob123['Left Arm'])
Instance.new("BlockMesh", Workspace.rtardbob123['Right Arm'])
Instance.new("BlockMesh", Workspace.rtardbob123.Torso)


Workspace.rtardbob123.Head.Mesh.Scale = Vector3.new(0, 1.25, 1.25)
Workspace.rtardbob123['Left Leg'].Mesh.Scale = Vector3.new(1, 1, 0)
Workspace.rtardbob123['Right Leg'].Mesh.Scale = Vector3.new(1, 1, 0)
Workspace.rtardbob123['Left Arm'].Mesh.Scale = Vector3.new(1, 1, 0)
Workspace.rtardbob123['Right Arm'].Mesh.Scale = Vector3.new(1, 1, 0)
Workspace.rtardbob123.Torso.Mesh.Scale = Vector3.new(2, 1, 0)


Trying to make a 2D script
Report Abuse
rtardbob123 is not online. rtardbob123
Joined: 13 Feb 2010
Total Posts: 15868
01 Jul 2013 09:20 PM
wrong one



Workspace.rtardbob123.Head.Mesh:Remove()
Instance.new("SpecialMesh", Workspace.rtardbob123.Head)
Instance.new("BlockMesh", Workspace.rtardbob123['Left Leg'])
Instance.new("BlockMesh", Workspace.rtardbob123['Right Leg'])
Instance.new("BlockMesh", Workspace.rtardbob123['Left Arm'])
Instance.new("BlockMesh", Workspace.rtardbob123['Right Arm'])
Instance.new("BlockMesh", Workspace.rtardbob123.Torso)


Workspace.rtardbob123.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 0)
Workspace.rtardbob123['Left Leg'].Mesh.Scale = Vector3.new(1, 1, 0)
Workspace.rtardbob123['Right Leg'].Mesh.Scale = Vector3.new(1, 1, 0)
Workspace.rtardbob123['Left Arm'].Mesh.Scale = Vector3.new(1, 1, 0)
Workspace.rtardbob123['Right Arm'].Mesh.Scale = Vector3.new(1, 1, 0)
Workspace.rtardbob123.Torso.Mesh.Scale = Vector3.new(2, 1, 0)
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
01 Jul 2013 09:42 PM
Your head already has a SpecialMesh in it. To insert a new one causes it to be invisible, because it has no MeshId.
Report Abuse
rtardbob123 is not online. rtardbob123
Joined: 13 Feb 2010
Total Posts: 15868
01 Jul 2013 09:45 PM
@Bloc
I remove the mesh already in my head and insert a new one
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
01 Jul 2013 09:46 PM
Okay, try this:

Go to a new place
Insert a part
Look at it
Put a specialmesh in that part
Look at it

What has changed?
Report Abuse
rtardbob123 is not online. rtardbob123
Joined: 13 Feb 2010
Total Posts: 15868
01 Jul 2013 09:47 PM
wait nvm
that was also the wrong script
lol



Workspace.rtardbob123.Head.Mesh:Remove()
Instance.new("BlockMesh", Workspace.rtardbob123.Head)
Instance.new("BlockMesh", Workspace.rtardbob123['Left Leg'])
Instance.new("BlockMesh", Workspace.rtardbob123['Right Leg'])
Instance.new("BlockMesh", Workspace.rtardbob123['Left Arm'])
Instance.new("BlockMesh", Workspace.rtardbob123['Right Arm'])
Instance.new("BlockMesh", Workspace.rtardbob123.Torso)

Workspace.rtardbob123.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 0)

Workspace.rtardbob123['Left Leg'].Mesh.Scale = Vector3.new(1, 1, 0)

Workspace.rtardbob123['Right Leg'].Mesh.Scale = Vector3.new(1, 1, 0)

Workspace.rtardbob123['Left Arm'].Mesh.Scale = Vector3.new(1, 1, 0)

Workspace.rtardbob123['Right Arm'].Mesh.Scale = Vector3.new(1, 1, 0)

Workspace.rtardbob123.Torso.Mesh.Scale = Vector3.new(2, 1, 0)
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
01 Jul 2013 09:47 PM
Oh, and the special mesh has to be the same scale as the one in your script
Report Abuse
rtardbob123 is not online. rtardbob123
Joined: 13 Feb 2010
Total Posts: 15868
01 Jul 2013 09:53 PM
got it to work
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