local player = game.Players.LocalPlayer
local Character = player.Character
Hidden = false
script.Parent.MouseButton1Click:connect(function()
if Hidden == false then
Character.Humanoid.HealthDisplayDistance = 0
Character.Humanoid.NameDisplayDistance = 0
Hidden = true
script.Parent.Text = "Show Name"
else
Character.Humanoid.HealthDisplayDistance = 100
Character.Humanoid.NameDisplayDistance = 100
Hidden = false
script.Parent.Text = "Hide Name"
end
end)
script.Parent.TouchTap:connect(function()
if Hidden == false then
Character.Humanoid.HealthDisplayDistance = 0
Character.Humanoid.NameDisplayDistance = 0
Hidden = true
else
Character.Humanoid.HealthDisplayDistance = 100
Character.Humanoid.NameDisplayDistance = 100
Hidden = false
end
end)
what's the problem? Doesn't give me an output for some reason, or perhaps I simply missed it.

1 comment
This had an answer.. then.. it disappeared.