This doesn't insert the boolvalue into the character when they join, what's wrong?
char = script.Parent.Parent.Parent.Parent.Character game.Players.PlayerAdded:connect(function(player) Instance.new(("BoolValue"),script.Parent.Parent.Parent.Parent.Character) script.Parent.Parent.Parent.Parent.Character.Value.Name = "AFK" end)
It's 11PM excuse me if I don't explain crap right
game.Players.PlayerAdded:connect(function(player) local afk=Instance.new("BoolValue") afk.Parent=player afk.Name="AFK" end)
Your doing it the other way, how alot of people just got it from teleport GUI models or something. Insert in with the value.Parent equal the player. That was a easy error, but I hope this helps.
--Because you have that function, you'd use "player" instead. valuename.Parent = player