so i was making an overhead GUI script and it says that PlayerAdded isnt a valid member of datamodel. can someone help? here is the code
local rank = game:GetService("ReplicatedStorage").BillboardGui
game.PlayerAdded:Connect(function(plr)
repeat wait() until plr.CharacterAdded
local c = rank:Clone()
c.OverheadText.Text = "Adventurer"
c.Parent = workspace:FindFirstChild(plr.Name).Head
end)

5 comments
PlayerAdded is an RBXScriptSignal of the Players Service: game:GetService("Players").PlayerAdded.
it kinda works now, but the overhead gui shows on a character i inserted through the MoonAnimator plugin, is there anything i could do?
ummm that must be a bug bcs its getting the service of players and then saying when a players added run your script so unless the character you inserted is in Players then im not sure it might be bcs of repeat wait() until plr.CharacterAdded that might be bugged and literally getting every single character in the game?
You have to set the GUI object's adornee property to the player's you want the GUI to be head
i want the gui to be on all players