Script for remover name tags with button

  1. I want to create remover name tags with button but idk what to do.

  2. Idk what to do for that.
    obraz_2022-08-01_222446431
    Zrzut ekranu 2022-08-01 222522

  3. I looked at YT but nothing for that

Could you explain what you are trying to achieve?

This may be able to help you.

NameDisplayDistance

but this script isnt help, I not want this.

No one sent you any script, I’m sorry but is there any possibility for you to explain yourself in plain english?

Do you want the button to remove other peoples name tags or the players that touched the button?

IDK that script. I want that

yea, look video at up. I want that.

Couldn’t you just destroy the custom name tag inside the player?

Do you have a Nametag script for the player?

I not want, because we want for staff remover

yea

local groupId = 14458436

game.Players.PlayerAdded:Connect(function(Player)
	Player.CharacterAdded:Connect(function(Character)
		local GuiClone = script.OverheadGui:Clone()
		GuiClone.Parent = Character.Head
		
		local InformationLabel = GuiClone.InformationLabel
		
		local PlayerRank = Player:GetRoleInGroup(groupId)
		InformationLabel.Text = Player.Name .. " - " .. PlayerRank
	end)
end)

If you only want staff to be able to remove their name tag then check if they got the appropiate permissions, if so then destroy it.

We want for act things, remove name tags with button

Is your game about acting? Like honestly, just use google translate if you have to

local YourPart = --
YourPart.Touched:Connect(function(hit)
if hit.Parent.Head:FindFirstChildWhichIsA("BillboardGui") then
hit.Parent.Head:FindFirstChildWhichIsA("BillboardGui"):Destroy()
end
end)

or

local YourPart = --
YourPart.Touched:Connect(function(hit)
for i,v in pairs(hit.Parent:GetDescendants()) do
if v:IsA("BillboardGui") then
v:Destroy()
end
end
end)

isn’t works. i copied good and nothing works

mb i meant BillboardGui i edited the code try again.

again not work, nothing works, I pasted good script

did you change YourPart to YourPart’s Spot?,
i updated the code again can you try again?

1 Like