game.Players.PlayerAdded:connect(function()
game.Players.LocalPlayer.HealthDisplayDistance = 0
game.Players.LocalPlayer.NameDisplayDistance = 0
end)
There are no errors in the output, and I've tried testing it with this
http://i.gyazo.com/a67794280de873f0d08f4a7f4aadea3e.png
but the names still show.

1 comment
The 'PlayerAdded' event line does not support within a 'LocalScript', or, is not supported in a Client-Sided script.