So I made tags that go above the players head and I have them in StarterGui. I'm wondering how to make the Owner and CoOwner tag parented to the head of the selected player.
Here is my code:
local OwnerTag = game.StarterGui.OwnerTag local CoOwnerTag = game.StarterGui.CoOwnerTag local SuperFanTag = game.StarterGui.SuperFanTag game.Players.ChildAdded:Connect(function(plr) local Tags = Instance.new("Folder", plr) Tags.Name = 'ChatTags' if plr.Name == "sharksaresuper" and plr.ID = 76647544 then OwnerTag.Parent = () end if plr.Name == "matiss112233" and plr.ID = 91709180 then CoOwnerTag.Parent = () end if plr:IsInGroup(5424371) then SuperFanTag.Parent = () end end)
game.Players.PlayerAdded:Connect(function(plr)-- when the player joins and getting the plr that joined plr.CharacterAdded:Connect(function(char) -- when the character spawned and getting the character that spawned local Owner = "OwnersName" -- owners name here local CoOwner = "CoOwnersName" if plr.Name == Owner then local OwnerTag = game.StarterGui.OwnerTag:Clone() -- cloning the tag OwnerTag.Parent = char.Head -- setting its parent to head end if plr.Name == CoOwner then local CoOwnerTag = game.StarterGui.CoOwnerTag:Clone() -- cloning the tag CoOwnerTag.Parent = char.Head -- setting its parent to head end if plr:IsInGroup(5424371) then local SuperFanTag = game.StarterGui.SuperFanTag:Clone SuperFanTag.Parent = char.Head end end) end)
I hope this works comment if not