-
I want to create remover name tags with button but idk what to do.
-
Idk what to do for that.
-
I looked at YT but nothing for that
Could you explain what you are trying to achieve?
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?