✓ Accepted answer
Firstly, you have to take out the (players) part, because that is supposed ton go betwixt(or between. I prefer betwixt) the parenthesis after function, like this:
game.Players.PlayerAdded:connect(function(player)
Also, there's another problem in 'player.Character.WaitForChild("Humanoid")'
You need a Colon betwixt(or between) Character and WaitForChild, because it is a method.
For example:
player.Character:WaitForChild("Humanoid")
Here's the script fixed, although I doubt it'd work anyway:
game.Players.PlayerAdded:connect(function(player)
player.Character:WaitForChild("Humanoid")
player.Character.Head.Transparency = 1
end)
You should use something more like this though, as it is more effective in doing things like this. Don't use this of you don't want their names hidden when they spawn though, but I didn't know invisible heads made names invisible in the first place.
Game.Players.PlayerAdded:connect(function(Player)
Player.CharacterAdded:connect(function(Character)
Head = Character.Head
if Head then
Head.Transparency = 0
end
end)
end)
Well, I hope this helped.