I'm trying to make specific players have chat tags using Bool values in player stats (I.E V.I.P gamepass people, etc.) but it says everytime I try to edit the player's stats "Stats is not a valid member of Player", heres my code.
local F = Instance.new("Folder")
F.Name = "Stats"
local godking = Instance.new("BoolValue", F)
godking.Name = "GodKing"
game:GetService("Players").PlayerAdded:Connect(function(_plr)
F.Parent = _plr
if _plr.UserId == 88130316 then
_plr.Stats.GodKing.Value = true
end
end)

4 comments
Thank you for the answer, the BoolValue thing is for the chat tags to basically say "Yes this is true so give this person a chat tag."
Now that I have used it I think you missunderstood me, I do not want a leader stat however I want a folder full of BoolValues that read true or false based on who joins, and it is true or false locally.
I have updated my answer.
Also, your code is not working because the Folder has not been parented to the player.