Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
local oh = ServerStorage.Overhead
local overheadClone = oh:Clone()
local regionCode = LocalizationService:GetCountryRegionForPlayerAsync(plr)
overheadClone.Parent = char.Head
overheadClone.Frame.Value.Text = "Avatar Value: \u{E002} "..getAvatarValue(plr.UserId)
overheadClone.Frame.Location.Text = "Location: "..countryEmojiTable[regionCode].." "..countryTable[regionCode]
overheadClone.Parent = char.Head
end)
end)
also you can get the character from the CharacterAdded() function