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
 

Help me with this script?

Previous Thread :: Next Thread 
V0xels is not online. V0xels
Joined: 30 Mar 2012
Total Posts: 2072
09 Mar 2014 12:13 PM
game.Players.PlayerAdded:connect(function(p)
repeat wait() until p.Character
character = p.Character
head = character.Head
head.Transparency = 1

fakehead = Instance.new("Part", character)
fakehead.FormFactor = "Symmetric"
fakehead.Size = Vector3.new(2, 1, 1)
fakehead.BrickColor = BrickColor.new(head.BrickColor)
fakehead.Name = "Fake Head"

weld = Instance.new("Weld", head)
weld.Part0 = head
weld.Part1 = fakehead

head.face:clone().Parent = fakehead

mesh = Instance.new("SpecialMesh", fakehead)
mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
mesh.Name = "Fake Mesh"
end)




OUTPUT ERROR:
12:12:33.822 - Workspace.Script:10: bad argument #1 to 'new' (Color3 expected, got userdata)
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
09 Mar 2014 12:24 PM
fakehead.BrickColor = BrickColor.new(head.BrickColor)
Report Abuse
Vyxium is not online. Vyxium
Joined: 31 Aug 2010
Total Posts: 1020
09 Mar 2014 12:28 PM
BrickColor = head.BrickColor

maybe?
Report Abuse
GRAGGER2001 is not online. GRAGGER2001
Joined: 05 Apr 2009
Total Posts: 2043
09 Mar 2014 12:29 PM
Why not just clone the head then make the original head transparent?
Report Abuse
V0xels is not online. V0xels
Joined: 30 Mar 2012
Total Posts: 2072
09 Mar 2014 07:22 PM
So much 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