What is wrong with my FakeHead script?
I had done a few tests to get it working, but nothing is working, it only makes the FakeHead but it doesn't set the BrickColor of the original Character's Head, doesn't do it with the face either, and doesn't do it with the Character's Head mesh. Here is the script;
01 | game.Players.PlayerAdded:connect( function (plr) |
02 | plr.CharacterAdded:connect( function (char) |
03 | if char and char:FindFirstChild( "Head" ) and char.Head:FindFirstChild( "face" ) then |
04 | Modeled = Instance.new( "Model" ,char) |
06 | FakeHead = char.Head:Clone() |
07 | FakeHead.Parent = Modeled |
09 | Humaned = Instance.new( "Humanoid" ,Modeled) |
10 | Humaned.Name = "FakeHead" |
13 | weld = Instance.new( "Weld" ,FakeHead) |
16 | char.Head.Transparency = 100 |
17 | char.Head.face.Transparency = 100 |
18 | char.Head.face:Destroy() |