How do you tag people with BillboardGui?
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.
01 | local pln = script.Parent.Parent.Parent |
02 | local pl = game.Workspace:FindFirstChild(pln.Name) |
05 | local pltn = script.Parent.Players:FindFirstChild(pln.Name) |
09 | print ( " Player" .. pln.Name .. " does not have a tag. Showing nil." ) |
11 | if not pltn = = nil then |
12 | local pltnn = pltn.Value |
13 | local plt = script.Parent.Tags:FindFirstChild(pltnn) |
17 | print ( " Player" .. pln.Name .. " has a value, but assigned tag does not exist. Showing nil." ) |
19 | if not plt = = nil then |
20 | local tag = plt:clone() |
22 | print ( "Player" .. pln.Name .. " has obtained tag " .. pltnn .. " successfully." ) |
the value i want it to pick up is a stringvalue named the player and the value as the tag name.
Explorer Image