"Frame is not a valid member of BillboardGui "Overhead" even though it is

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

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.