So this is a hide name script, but when the fake is invisible in-game, but not in studio. Here is the script:
p = game.Players.LocalPlayer
function blacker()
script.Parent.TextColor3 = Color3.new(0,0,0)
end
script.Parent.MouseEnter:connect(blacker)
function black()
script.Parent.TextColor3 = Color3.new(.1,.16,.2)
end
script.Parent.MouseLeave:connect(black)
function onClick()
if game.Players.LocalPlayer.Character.Head.Transparency == 0 then
game.Players.LocalPlayer.Character.Head.Transparency = 1
clone = game.ServerStorage.FakeHead:Clone()
clone.Parent = game.Players.LocalPlayer.Character
clone.Transparency = 0
clone.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
local weld = Instance.new("Weld")
weld.Parent = game.Players.LocalPlayer.Character.Head
weld.Part0 = game.Players.LocalPlayer.Character.Head
weld.Part1 = game.Players.LocalPlayer.Character.FakeHead
else
game.Players.LocalPlayer.Character.Head.Transparency = 0
clone:Destroy()
end
end
script.Parent.MouseButton1Click:connect(onClick)
I don't know what is happening, but the output says it's fine.

2 comments
Please do not bash on other users' code...
He down voted everything on me profile... rip