Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you tag people with BillboardGui?

Asked by 10 years ago

So I want this to make it to a billboardgui gets cloned into a players head but has to be listed in a backpack. But the script keeps breaking, and i dont know why.

01local pln = script.Parent.Parent.Parent
02local pl = game.Workspace:FindFirstChild(pln.Name)
03wait(0.1)
04local plh = pl.Head
05local pltn = script.Parent.Players:FindFirstChild(pln.Name)
06wait(0.1) -- Whenever I use a :WaitForChild command, I use a interval in case its too fast.
07 
08if pltn == nil then
09    print(" Player" .. pln.Name .. " does not have a tag. Showing nil.")
10end
11if not pltn == nil then
12    local pltnn = pltn.Value
13    local plt = script.Parent.Tags:FindFirstChild(pltnn)
14    wait(0.1)
15 
View all 23 lines...

the value i want it to pick up is a stringvalue named the player and the value as the tag name.

Explorer Image

0
Would you mind providing some output? ChipioIndustries 454 — 10y
0
If your saying what its supposed to do: Clone the Admin BillboardGui into the players head. SnazzyPine25 5 — 10y

Answer this question